DEV Community

Dedaldino Daniel
Dedaldino Daniel

Posted on

3

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.

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.

Read More https://github.com/dedaldinodev4/restful-api-nodejs-express-mongodb

Top comments (2)

Collapse
 
montcat profile image
Montcat

Thanks brother, very helpful

Collapse
 
dedaldinodev4 profile image
Dedaldino Daniel

Welcome brother. I Feel Happy!!

Image of Stellar post

🚀 Stellar Dev Diaries Series: Episode 1 is LIVE!

Ever wondered what it takes to build a web3 startup from scratch? In the Stellar Dev Diaries series, we follow the journey of a team of developers building on the Stellar Network as they go from hackathon win to getting funded and launching on mainnet.

Read more

👋 Kindness is contagious

Dive into this thoughtful article, cherished within the supportive DEV Community. Coders of every background are encouraged to share and grow our collective expertise.

A genuine "thank you" can brighten someone’s day—drop your appreciation in the comments below!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found value here? A quick thank you to the author makes a big difference.

Okay