DEV Community 👩‍💻👚‍💻

DEV Community 👩‍💻👚‍💻 is a community of 968,873 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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.

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 (0)

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.