For backend code:
- Execute code from the
backendfolder only. - Obtain azure openapi endpoint and key to run the ai code. Also make sure to have some model deployed like 'gpt-4o`.
- Populate the database if not already using refreshDB.cmd residing in the
backendfolder. - Run the backend APIs using
npm startcommand. - Hit http://localhost:8080/generateschedule/1 in the browser and voila! :D
For frontend code:
- Execute code from the
frontendfolder only. - Run
npm installto install all the dependencies. - Run
npm startto run the react server. It would automatically open browser on port3000.