Final project of the 42 cursus.
Ft_transcendence is a website where you can play online pong and chat with other users. The site also lets you add users as friends, and enable/disable 2fa.
-
Frontend: React, Redux, tailwindcss, Typescript
-
Backend: NestJS, Postgres
-
Environment: Docker, Docker-compose
First, you need to install docker and docker-compose.
You need to create a .env file at the root of the project and also in ./packages/backend. The .env files must follow the format of .env.example files.
Then, you can run the makefile according to your needs:
make # or make prod, it's the same
make dev # to start the server in dev mode
make front # to start only the frontend container
make back # to start only the backend and the db containers
make clean # down the containers
make fclean # down the containers and remove the volumes
make clean-dev # remove the node_modules folder locally
make clean-docker # remove all the docker images and containers
make mclean # fclean + clean-dev + clean-docker
If you see any error, or if you have any suggestion, please contact us or open an issue.