Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 845 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 845 Bytes

Backend

Build

  • make build-api: builds all backend and API containers.
  • make build-db: builds all db containers.

Run

  • make run-api: runs all backend and API containers.

Logs

  • make log-api: runs docker logs -f for the API container.
  • make log-db: runs docker logs -f for the DB container.

Close and Clean

  • make close: closes all project containers.
  • make clean: closes and cleans (removes) all project containers.

testing

after starting the project with docker compose here are some basic curl commands to try

curl http://localhost:3001/SCHEDULE
curl -H "Content-Type: application/json" -X POST -d '{
      "days": "MTW",
      "inPerson": false,
      "length": 50,
      "name": "ECE 696",
      "requiredFor": ["ECE"]
    }' http://localhost:3001/COURSE