Skip to content

2. Details

Pixailz edited this page Aug 9, 2023 · 3 revisions

Project Infos

Directory Structure

ft_transcendence/
├─rsc/
│ ├─postman/                 #lib to make requests
│ └─en.subject.pdf           #current subject PDF
├─build/                     #dockerfiles directories
│ ├─nodejs/                  #node 18 + npm 9.7.2
│ ├─postgresql/              #postgresql 15.3
│ └─nginx/                   #nginx (reverse proxy)
├─src/                       #sources
│ ├─angular/                 #frontend
│ └─nestjs/                  #backend
├─setup                      #setup for .env
├─docker-compose.yaml        #prod compose file
├─docker-compose-dev.yaml    #dev compose file
├─.gitignore
└─.env.template

Login system

see this comment for more informations

Useful Things

pwgen 32 10 -s -n -v -B -1

Backend Route

Method Path Desc
POST /user Create user
GET /user Get all user
GET /user/:id Get one user
PUT /user/:id Modify an user
DELETE /user/:id Delete an user
POST /user_info Create userInfo
GET /user_info Get all userInfo
GET /user_info/:id Get one userInfo
PUT /user_info/:id Modify an userInfo
DELETE /user_info/:id Delete an userInfo

method marked with * is not implemented yet

Clone this wiki locally