/restful-shop-node

Creating and implementing a Restful API that don't care about the individual client that is connected to it. Restful API is a normal server and is a stateless backend. This is a server or an API that fetches and stores data but doesn't use or render HTML

Primary LanguageJavaScript

Creating a RESTful API with Node.js

What is a Restful API?

The Acronym for REST is REpresentational State Transfer. RESTful API is a server or an API that fetches and stores databut doesn't use or render HTML.

Things that I touched in this project

  • Knowledge behind RESTful API
  • Planning and First Steps
  • Add more routes to the API
  • Handling Errors and Improvement of the project
  • Parsing the body and Handling CORS (Cross-Origin Resource Sharing)
  • MongoDB and Mongoose
  • Mongoose Validation
  • Managing orders with Mongoose
  • Populating queries with Mongoose
  • Adding Sign Up of User
  • Adding Login and JWT(JSON Web Token) signing of User
  • JWT route protection
  • Adding controllers