Folders:
backend/ # Backend server uses FastAPI
frontend/ # Frontend server uses live-server
OS - Ubuntu 20.04 LTS Editor - Visual Studio Code
View & read both readme files in their appropriate folders. Install all the dependencies required for each component. To run both services, you must serve the following in order:
- In the root folder of
/backend/
. Run:
uvicorn main:app --reload
To view the Backend Swagger API UI, open your browser: Note: Port [:8000]
- In the root folder of
/frontend/
. Run:
npx live-server
To view the Frontend UI, open your browser: Note: Port [:8080]
- [Optional] - To run python backend API tests Run:
pytest -v