A web Pong game with real-time multiplayer.
None.
You need the following programs to run the application:
- Git
- NodeJS
- NPM
Clone the repository.
git clone https://github.com/vfurmane/ft_transcendence
Install the dependencies.
cd ft_transcendence
npm install
The environment file must be configured first. You can find the template file (.env.template
) to help you configure the project.
# containers config
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_PORT=5432
# globals
FRONTEND_BASE_URL=http://localhost:8080
FT_OAUTH2_CLIENT_ID=
# api
FT_OAUTH2_CLIENT_SECRET=
FT_OAUTH2_CLIENT_ID=
JWT_SECRET=
You must also configure the NextJS environment file. The template file is at apps/web/.env.template
but you must rename it as apps/web/.env.local
NEXT_PUBLIC_BASE_URL=http://localhost:8080
NEXT_PUBLIC_API_BASE_URL=/api
NEXT_PUBLIC_FT_OAUTH2_CLIENT_ID=
npm start # On the host
docker compose up --build # With docker
npm run dev # On the host
docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build # With docker
- Brice Detune
- Maxence Eudier
- Savo Saicic
- Théodore Naton
- Valentin Furmanek
This project is licensed under the MIT License - see the LICENSE file for details.