Skip to content

MatLBS/ft_transcendence_42

Repository files navigation

Ft_transcendence_42

Introduction

ft_transcendence is the final project of the 42 core curriculum. It is a full-stack web application combining a real-time Pong game, live chat, and social features. The project is built using Fastify and Node.js for the backend, with a custom frontend styled using Tailwind CSS. Everything is containerized using Docker for easy deployment.

🚀 Features

  • Google authentication
  • Two-Factor Authentication (2FA)
  • Real-time Pong game
  • Real-time chat
  • Friends system
  • User profiles with match history
  • Responsive design with Tailwind CSS

⚙️ Tech Stack

Backend

  • Node.js
  • Fastify (API server)
  • WebSocket for game and chat
  • JWT for authentication
  • Prisma ORM / MySQL (database)

Frontend

  • HTML / Vanilla JavaScript
  • Tailwind CSS
  • WebSocket for real-time communication

DevOps

  • Docker / Docker Compose
  • Grafana / Prometheus

Usage

1.Clone the repository

git clone https://github.com/MatLBS/ft_transcendence_42.git
cd ft_transcendence_42
cp .env.example .env

2.Compile and lauch the project.

make

The app will be available at http://localhost:3000.

🤝 Credits

Developed by 42 students :

Some Pictures of the project

Capture d’écran 2025-06-26 à 18 16 32

Capture d’écran 2025-06-26 à 18 16 42

Capture d’écran 2025-06-26 à 18 21 11

Capture d’écran 2025-06-26 à 18 23 33

Contributing

Pull requests are welcome !

For major changes, please open an issue first to discuss what you would like to change.

Enjoy the code 😁

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •