You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nicolas-arnaud 6d7d526ec2 add auth protection, login and logout and fixed username update 2 years ago
back add auth protection, login and logout and fixed username update 2 years ago
front add auth protection, login and logout and fixed username update 2 years ago
.env_sample configuration and routes rework 2 years ago
.gitattributes * Fixed EOF on .sh 2 years ago
.gitignore avatars 2 years ago
Makefile fix check rule infinite restart and add readma instruction 2 years ago
Makesudo auth and chat back start 2 years ago
README.md fix readme table 2 years ago
docker-compose.yml configuration and routes rework 2 years ago

README.md

Transcendence

code style: prettierjs-standard-style

Instructions:

If you not use rootless docker, either rename Makesudo as Makefile or call make with -f Makesudo.

Rules:

  • prod: build and lauch client and server on builded resources.
  • dev: launch client and server without build using nest and vite.
  • check: format and lint back and check front.
  • debug: launch back with debug flags.

Setting:

rename .env_sample to .env and customize it to your needs and credentials.

Back endpoints:

Method endpoint description account securised?
GET /log/in the login using 42 api.
GET /log/inReturn the 42 api callback.
GET /log/profile get connected user 42's datas.
GET /log/out log out user.
GET /all return all users publics datas.
GET /online return all online users's public datas.
GET /:id return ftId: id's public datas
GET / return connected user public datas
POST / update user datas.
GET /friends return users which are friends.
GET /invits return users which invited user to be friend.
POST /invit/:id invit user whith ftId: id as friend.
GET /avatar return the user avatar
POST /avatar set a user avatar with multipart post upload.

Dependencies:

Front:

Back: