DEV Community

Dedaldino Daniel
Dedaldino Daniel

Posted on

Build RestFull API With Nodejs, Express and MongoDb!!

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.


  • 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.

Read More

Top comments (2)

montcat profile image

Thanks brother, very helpful

dedaldinodev4 profile image
Dedaldino Daniel

Welcome brother. I Feel Happy!!