Skip to content

dedaldinodev4/restful-api-nodejs-express-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restful-api-nodejs-express-mongodb

The Project created with Nodejs and Express.

Getting started

This is a basic API skeleton written in JavaScript ES6+. Very useful to building a RESTful web APIs for your front-end platforms like Android, iOS or JavaScript frameworks (Angular, Reactjs, vuejs, etc).

This project will run on NodeJs using MongoDB as database. I had tried to maintain the code structure easy as any beginner can also adopt the flow and start building an API. Project is open for suggestions, Bug reports and pull requests.

Features

  • Basic Authentication (Register/Login /loginRequired with hashed password)
  • JWT Tokens, make requests with a token after login with Authorization header with value Bearer yourToken where yourToken will be returned in Login response.
  • Contact example with CRUD operations.
  • Validations added.

Software Requirements

  • Node.js 8+
  • MongoDB 4+

How to install

  • Clone the project from github

How to run

  • Comamands: npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published