This project will display flights from the Avinor API
First time:
docker compose up --build
Later times:
docker compose down docker compose up
Project should be visible on
localhost:5173
Runs with
cd frontend
npm i
npm run devFrontend should be visible on
localhost:5173
Create venv: (only first time)
cd backend
python3 -m venv .venv
pip install -r requirements.txt
exitStart the backend:
cd backend
source .venv/bin/activate
pip install -r requirements.txt
fastapi dev main.pyBackend should be visible on
localhost:8000
Should both be in venv:
which pip
which python
You might have to check that the interpreter of your IDE is the same as the one in your venv. In webstorm this can be done in settings. This project is coded in Jetbrains WebStorm
Choose an existing one, change it to the /backend/.venv/bin/python You might need to install a python extension for your IDE.

