- Portfolio: https://github.com/utct/portfolio
- A2: https://github.com/ChadaBendriss/yatzy
- A3: https://github.com/ChadaBendriss/yatzy/tree/a3
-
Clone this repository.
-
Create a new DB on pgAdmin
-
Create the table:
CREATE TABLE patients ( id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL, code CHAR(3) NOT NULL, severity INT NOT NULL, queue_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, status VARCHAR(50) DEFAULT 'waiting' ); -
Navigate to project directory on command prompt and run php -S localhost:8000
- Open index.html and enter patient information
- The application will assign a random severity and display the estimated wait time
- Open admin.html to see or treat the patients




