Skip to content

notapainting/transcendence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transcendence

Our last common core projects at 42 school

Score Outstanding Project

🎉 This project was completed with a perfect score of 125/100 and received the Outstanding Project award at École 42 Lyon!

Demo

Demo GIF

Features

Web UI

  • A woody Pong game
  • Play locally or with your friend all over the internet !!!
  • Tournament up to 16 players!
  • Magnificent transition between each page
  • Creating an account to access more features like :
    • Match history
    • Live Chat
    • Add friend to contact list or block them
    • Change your profile picture
    • Logging with 42
    • Enabling 2FA for a protected account
    • Record match score on blokchain
  • Single Page Application

Server

  • Microservice Architecture with REST API
  • ELK stack for log managment
  • Backend protected by proxy with modSecurity WAF
  • Deployement using docker container and docker compose
  • Cross plateform
  • Dev and prod docker image

Tech Stack

Frontend: HTML, JS, CSS

Backend: Docker, Django, Redis, Postgres, Nginx, ModSecurity, Elasticsearch, Kibana, Logstash

Installation

This project require docker version 26.0.0and docker compose version 2.26.1 You need to create .env for your container and augment vm.max_map_count¹ for ELk to work well, you can do it with :

  make init

This will generate .env file based on template in conf/, please provide your own API key, certificats and change the default value of secrets keys, users, passwords, etc

If you just want to test the project, certificats and defaults key, users, password are provided

Deployment

To deploy this project run

    make up-fg

Documentation

Index

Micro services architecture

microservice architecture

Authors