Skip to content

UnMugViolet/Transcendence

Repository files navigation

🐐 Transcendence

How to use

Development

That will create a dev image on your machine and launch a tiny web server to compile typescript and serve all the fileslite-server The backend stays the same no matter the version dev or prod.

Start services

make dev

Stop services

To stop the docker containers :

make down

Rebuild images

You have modified the dev stage of Dockerfile and want them to be taken into account. 2 options:

  1. Clean all rebuild and serve
make re-dev
  1. Build the images and serve
make build-dev

You want to know what commands are available and what they are doing make help will list all the availables commands in the Makefile and will allow you to use them !

make help

Install locally

This project has dependencies in order to make it work on your machine you will have to install them. Normally everything works using Docker but it could be usefull to check if they are working.

Please make sure to have a node version >= 20. otherwise you will have some troubles with them. To check use the command :

node -v

To install all the dependencies simply use :

make install

Production

This will create a production ready image, no server web just the compiled ts css and tailwind. That's it ! Everything is served from the nginx image used for frontend. The backend stays the same no matter the version dev or prod.

Start services

To build and launch the project simply use

make prod 

Stop services

To stop the docker containers :

make down

Modify the image

You have modified the dev stage of Dockerfile and want them to be taken into account. 2 options:

  1. Clean all rebuild and serve
make re
  1. Build the images and serve
make build

Grafana and Prometheus Monitoring

Documentation

Read the documentation just here

📚 API Documentation

The API is documented using Swagger/OpenAPI. Once the server is running, you can access the interactive documentation at:

The documentation provides:

  • Complete list of all API endpoints
  • Request/response schemas
  • Authentication requirements
  • Try-it-out functionality for testing endpoints

📚 Wiki

We got a wiki ongoing for ALL the subjects treated, database modelisation, modules choosen, tasks repartition, and so on... Visit the link bellow visit wiki

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •