Backend for the SportUp mobile app, offering REST and WebSocket APIs for profiles, activities, and real-time chat.
- Firebase: Authentication and messaging.
- Supabase: Storage for user photos.
For development, you can use the alembic tool to manage database migrations.
alembic revision --autogenerate -m "your message"To apply the changes to the database, run:
alembic upgrade headFor production, you can use doppler to manage environment variables and database migrations.
To set up the production environment, you need to set up Droppler.
This file should contain all the necessary environment variables required for the application to run in production.
doppler login
doppler setup
Then you can run the following command to set up the environment variables:
doppler run -- alembic revision --autogenerate -m "your message"To apply the changes to the database, run:
doppler run -- alembic upgrade headCheck current division in the database:
doppler run -- alembic currentFor development, you can use Docker Compose to build the service images.
To build the images, run:
docker compose -f .devops/docker-compose.dev.yml up --build -d