https://github.com/theoguerin64/ft_transcendence
Project 42 for Mastering fullstack development
https://github.com/theoguerin64/ft_transcendence
42cursus nestjs postgresql typescript vuejs
Last synced: about 1 month ago
JSON representation
Project 42 for Mastering fullstack development
- Host: GitHub
- URL: https://github.com/theoguerin64/ft_transcendence
- Owner: TheoGuerin64
- Created: 2023-07-11T18:11:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T18:38:21.000Z (about 1 year ago)
- Last Synced: 2025-01-24T16:14:36.352Z (3 months ago)
- Topics: 42cursus, nestjs, postgresql, typescript, vuejs
- Language: TypeScript
- Homepage:
- Size: 33.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ft_transcendence
A pong game website with ranking, chatting, 2FA ...
## Features
### Pong game with ranking:



### OAuth2 authentication with 42 intra:

### User profiles:

### 2FA:

### Friend list:

### Chat:



## Usage
*require docker and docker-compose*
- Clone the repository: `git clone https://github.com/TheoGuerin64/ft_transcendence.git`
- Create a .env in the root folder of the project and fill it with keys indicated in the 
- Run this command in your terminal: `docker compose up --build -d`
- Open in your web browser: http://127.0.0.1:8080## Required env variables
- [INTRA42_UID](https://profile.intra.42.fr/oauth/applications) (optional)
- [INTRA42_SECRET](https://profile.intra.42.fr/oauth/applications) (optional)
- [INTRA42_REDIRECT_URI](https://profile.intra.42.fr/oauth/applications) (optional)
- [POSTGRES_USER](https://github.com/docker-library/docs/blob/master/postgres/README.md#postgres_user)
- [POSTGRES_PASSWORD](https://github.com/docker-library/docs/blob/master/postgres/README.md#postgres_password)
- [PGADMIN_DEFAULT_EMAIL](https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html)
- [PGADMIN_DEFAULT_PASSWORD](https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html)
- JWT_SECRET (minimum 50 char)
- TWOFA_PASSWORD
- [TWOFA_SALT](https://en.wikipedia.org/wiki/Salt)