Skip to content

Full-stack application which allows user to log in with their École 42 Oauth, play a pong game online, watch current games in real time, chat among each other with public, private rooms and direct messages.

License

Notifications You must be signed in to change notification settings

brian-xu-vlt/ft_transcendence

 
 

Repository files navigation

ft_transcendence

Web application of an amazing pong game. This is a project made with 4 other students at École 42 Paris: Jibus22, kazuumaVII, violettagoldman, mrouchy.

It is a fullstack application which allows user to log in with their École 42 Oauth, play a pong game online, watch current games in real time, chat among each other with public, private rooms and direct messages.

Backend

The backend consists of a REST Api made with NestJs framework using typescript, a PostgreSQL db, deployed on a docker container.

Frontend

The frontend uses React framework.

how to use

With docker started on your computer, run make will build and run containers for both frontend and backend. Then go on http://localhost

Tests

Run all end to end tests

make test

Run specific end to end tests

make test [name of test file]

DEBUG conf to attach vscode to docker container:

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Docker: Attach to Node",
      "type": "pwa-node",
      "request": "attach",
      "restart": true,
      "port": 9229,
      "address": "localhost",
      "localRoot": "${workspaceFolder}/back_end",
      "remoteRoot": "/usr/src/app",
      "protocol": "inspector"
    }
  ]
}

About

Full-stack application which allows user to log in with their École 42 Oauth, play a pong game online, watch current games in real time, chat among each other with public, private rooms and direct messages.

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 82.3%
  • SCSS 14.6%
  • Makefile 1.2%
  • JavaScript 0.5%
  • Shell 0.5%
  • CSS 0.4%
  • Other 0.5%