Skip to content

A backend model for building a RESTful API with authentication and authorization.

Notifications You must be signed in to change notification settings

rodrigo-bravo/api-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Back-end API development

A backend model to provide a REST API that the front-end can access using HTTP network calls, in order to access the database. Development features middleware functions to handle the routing of requests to the right functions (and endpoints) and JSON Web Tokens within cookies to authenticate users for API access. Done with Javascript, MongoDB, Express, and Node.js.

  • CRUD operations
  • Search Files
  • Mongoose Schema
  • bycrpt library
  • JSON Web Tokens
  • Cookies
  • Tested via Postman

Express will be used for the middleware to create various CRUD endpoints, as well as make changes to the request and the response objects. Mongoose for managing data in MongoDB using various queries. More information on Mongoose below:

Object Data Modeling in MongoDB

This application uses Mongoose, a MongoDB object modeling tool. With this, the user model is created out of the Schema interface, which defines the structure of the documents in the library collection.

Getting Started

npm install
npm start

About

A backend model for building a RESTful API with authentication and authorization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages