This repository is about the final project of the 42 Commun core. It's a web pong game realised with threejs, django, bootstarp toolkit and native js. All of the scores are also stored in a local blockchain.
Dependencies
Please ensure you have the following dependencies installed on your system:
make, python3, docker
- Clone the git repository:
git clone https://github.com/ethaaalpha/ft_transcendance
- Change to the project directory:
cd ft_transcendance
- Run the project (read the .env part) :
make
GitMind Map For a visual representation of the project structure and dependencies, please refer to the GitMind Map.
API Documentation Detailed information about the API endpoints, request/response formats, and more can be found in the API Documentation.
Database Map The structure of the project's database can be explored through the Database Map.
The project requires a .env file to function correctly. This file should contain the following variables:
# Default Config Docker
DOMAIN = ''
# PostgreSQL
DB_PASSWORD = ''
DB_USER = ''
DB_NAME = ''
# Django
## API - 42
API_CALLBACK = ""
API_URL = ""
API_UUID = ""
API_SECRET = ""
API_TOKEN = ""
API_INFO = ""
## Mailing
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
## Django Key
SECRET_KEY=''
# Ethereum Network
NODE1_ACCOUNT_PASSWORD=''
NODE2_ACCOUNT_PASSWORD=''
NETWORK_ID=
Please replace the empty strings ('') with your actual configuration values.
The email service is using smtp.gmail.com server.