Skip to content

GBeauny/mds_api_rest_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mds_api_rest_project

API REST project

Objective: Build a REST API with different functionalities.

  • Authentication
  • Data manipulation
  • Uploading files

You will have to develop the backend rest API and the frontend part of this application.

Packages used in this project:

Backend API restful:

dependencies

  • bcryptjs
  • body-parser
  • express
  • express-validator
  • jsonwebtoken
  • mongoose
  • multer

devDependencies

  • nodemon

Frontend:

dependencies

  • react
  • react-dom
  • react-router-dom
  • react-scripts
"scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ]
}
  • Description:

Planning a REST API

CRUD Operations & Endpoints

Validation send to DataBase

Image Upload

Authentication

  • Building the project:

Récupérer la liste des posts / articles

Ajouter un create Post endpoint

Ajouter une validation du coté du serveur

Mettre en place un modèle du post / l'article

Enregistrer le post dans la base de données

Gerer les erreurs / les images statiques

Récupérer un seule post / article

Uploader des images

Mettre à des posts / articles

Supprimer des posts / articles

Ajouter une pagination

Ajouter un modele user

Ajouter un user signup validation

Signing user / Create user Login / Creating JWT (JSON Web Tokens)

Utiliser et valider le token

Ajouter l'authentification a toutes les routes en tant que middleware

Connecter les utilisateurs et les posts

Ajouter la verification des authorizations

Nettoyer les relations posts-users

About

API REST project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published