touch .env
- provide all env variables used in
app.ts
- provide all env variables used in
sudo docker-compose up --build
API will return JSON object that the widget will use to display.
GET /items
[
{ "id": "GvYMVE_YHr4hQRuyMcXz8", "item": "Pfizer", "available": true },
{ "id": "YXDvhhpa02HV64VMAlHjs", "item": "rapid testing kit", "available": true }
]
POST /items
{ "item": "Moderna", "available": true }
POST /items/GvYMVE_YHr4hQRuyMcXz8
{ "item": "Pfizer vaccine", "available": false }
DELETE /items/YXDvhhpa02HV64VMAlHjs
When add, update or remove happens, it will update all the screens.