Invalidentreff ☕🍰 presents The Running Game - an app to keep you motivated in running.
The frontend and backend is dockerized and a docker-compose file is provided for orchestration.
Setup local environment variables:
- Create a STRAVA app for development documentation
- Copy the
.env.example
file to.env.prod
file in project root directory - Fill the missing variables
- You can find the STRAVA Client ID and Client Secret in the settings
Run the app
- Linux
./run.sh --local
- Windows
.\run.bat --local
Access the local frontend and the backend api docs in your browser.
For development, a debug configuration is provided. Start the backend service with a debugger in the container:
./run.sh --local --debug
Then attach to the container from local VSCode instance using the Python: Remote Attach
launch configuration from .vscode/launch.json
.
Start the frontend in development mode with hot-reloading of the source code
npm run dev