Go to file
Guillaume Dorce 9c6654182b reject request if token not in db 2022-08-26 15:14:31 +02:00
client setup proxy for vite during developement 2022-08-21 18:59:36 +02:00
prisma save token in db when generated 2022-08-26 15:00:24 +02:00
src reject request if token not in db 2022-08-26 15:14:31 +02:00
.env.example add env var checking 2022-08-26 09:57:34 +02:00
.eslintrc.json first commit with back using express prisma ts, and front vite react ts 2022-08-15 18:57:25 +02:00
.gitignore restructurize code in api and controller folder 2022-08-19 16:06:31 +02:00
.prettierrc first commit with back using express prisma ts, and front vite react ts 2022-08-15 18:57:25 +02:00
README.md fix problem with user roleId 2022-08-19 20:18:05 +02:00
package.json save token in db when generated 2022-08-26 15:00:24 +02:00
pnpm-lock.yaml save token in db when generated 2022-08-26 15:00:24 +02:00
tsconfig.json reject posts route if token is invalid and send one on login 2022-08-26 12:24:38 +02:00

README.md

Groupomania

Instructions

  1. Clonez le dépôt git en éxécutant git clone https://github.com/polynux/groupomania-openclassrooms.

  2. Executez cd groupomania-openclassrooms puis npm install.

  3. Pour compiler les fichiers, éxecutez npm run build.

  4. Enfin, pour démarrer le serveur, éxecutez npm start.

TODO

  • Régler un problème avec prisma. Il demande un roleId pour la création de l'utilisateur mais ce n'est pas présent dans le model.