Note: Use
/devforlocalhost,/mainfor your custom IP.
- Open Docker Desktop
git clone
cd transcendence
make all- Define your IP in .env and nginx/conf.d/daefault.conf
https://<defined_host_ip>Transcendence is a Multiplayer Pong game. Combining Django, Node.js, and PostgreSQL for a scalable, high-performance architecture. The application is only accessible via https://, with all requests being routed through an Nginx reverse proxy.
- Django: Python backend for APIs using Django REST Framework (DRF).
- Node.js: Handles WebSocket connections, real-time events, and proxy requests.
- PostgreSQL: Database system for data storage and complex queries.
- pgAdmin: Web-based tool for managing PostgreSQL databases.
- Nginx: Routes incoming
https://requests to the appropriate backend services and serves static files for the frontend.
- User accesses the application via
https://<defined_host_ip>. - Nginx routes API requests to Django and WebSocket connections to Node.js.
- Django processes API requests and interacts with PostgreSQL.
- Responses update the frontend UI.
- Node.js handles real-time updates via WebSockets.