Create a .env
file with the following contents
DEV=true
WEATHER_API_KEY=<OPENWEATHERMAP_KEY>
Then run the command below:
docker compose up --build # might want to add -d to run detached
then access http://127.0.0.1
openapi-client-axios
client to access the backend using the specs generated by FastAPI./api/
to the backend container, so the frontend does not experience CORS errorsVerify that cache is working as expected by running the app and triggering get requests to the backend quickly. You will notice a log message showing that cache content is being used