Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 2.22 KB

File metadata and controls

68 lines (50 loc) · 2.22 KB

ft_transcendence:

ft_transcendence is the last project in the commen core of 1337 School (42Network). It’s a Pong Multiplayer Game.

Main Features:

  • Pong Multiplayer Online Game
  • Direct and group chat (with diffrent permissions and configs)
  • Profile that contains: achivments and stats

Technologies

Html Css Figma React Nestjs Socket.io

Run and build

Requirements

  • docker
  • docker-compose

Clone the project

git clone https://github.com/L3iyanin/ft_transcendence.git

Create .env file

cp .env.sample .env # and change the values by your own

Startup project

make

Cleanup project

make fclean

Run project after you have already startup it

make up

To see the frontend 127.0.0.1:80.

To see the backend 127.0.0.1:80/api.

The page will reload if you make edit the frontend folder.

and also the backend will reload if you make edit the backend folder.

Workflows

  1. request come from browser to nginx server.
  2. if the request start with /api or /socket.io it will be redirected to the backend container and will be served by nestjs.
  3. if the request not start with /api and /socket.io it will be redirected to the frontend container and will be served by react.

pong3yan