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)
Thanks brother, very helpful
Welcome brother. I Feel Happy!!