-
Prerequisites:
Ensure you have Docker and Docker Compose installed. -
Setup the .env file:
Remember to insert your own credentials for the diffrent services.
RABBITMQ_HOST=xxxxx
RABBITMQ_DEFAULT_USER=xxxxx
RABBITMQ_DEFAULT_PASS=xxxxx
MYSQL_USER=xxxxx
MYSQL_PASSWORD=xxxxx
MYSQL_ROOT_PASSWORD=xxxxx
MYSQL_DATABASE=xxxxx
MYSQL_HOST=xxxxx
MYSQL_PORT=xxxxx
JWT_SECRET_KEY=xxxxx
MONGO_URI=xxxxx
AMQP_URL=xxxxx
EMAIL_USER=xxxxx
EMAIL_PASS=xxxxx
EMAIL_HOST = xxxxx
EMAIL_PORT = xxxxx-
Start all backend services:
docker compose up --build -d
-
(Optional) Start monitoring services only:
docker-compose -f docker-compose.monitoring.yml up --build -d
-
Start backend and monitoring together:
docker-compose -f docker-compose.yml -f docker-compose.monitoring.yml up --build -d
Service Endpoints:
- Backend: http://localhost:8000
- RabbitMQ: http://localhost:15672 (default login:
guest/guest) - MySQL: localhost:3306
- Monitoring Prometheus: http://localhost:9090
- The frontend is deployed and available at (but you still ned backend running locally): https://geoguessr-project.netlify.app/
-
Prerequisites:
Install Node.js and npm. -
Clone the frontend repository:
https://github.com/GeoGuessrProject/Geoguessr-Frontend -
Install dependencies and start the development server:
npm install npm run dev
- The frontend will be available at http://localhost:5173 with live reloading via Vite.