An open API service indexing awesome lists of open source software.

https://github.com/yourakshaw/microservice-template-nodejs-js

A backend template made using Node.js, Express.js, and JavaScript for building REST API based microservices.
https://github.com/yourakshaw/microservice-template-nodejs-js

express javascript microservice mongodb mvcs nodejs template

Last synced: 2 months ago
JSON representation

A backend template made using Node.js, Express.js, and JavaScript for building REST API based microservices.

Awesome Lists containing this project

README

          

# microservice-template-nodejs-js


project-banner



## Tech Stack











## Features

1ī¸âƒŖ | Extensive logger implemented using [npm](https://www.npmjs.com/)'s [winston](https://www.npmjs.com/package/winston) library. The logger supports the following levels with pretty formatting for **production** environment:

- 💀 crit (critical)
- ❌ error
- 🚨 warn
- 🐛 debug
- đŸ‘ī¸ verbose
- ✅ success
- â„šī¸ info

This list is in decreasing order of precedence.

2ī¸âƒŖ | Example usage of [MongoDB](https://www.mongodb.com/)'s official [npm](https://www.npmjs.com/) library, [mongodb](https://www.npmjs.com/package/mongodb) instead of earlier often relied usage of [mongoose](https://www.npmjs.com/package/mongoose) library.

3ī¸âƒŖ | A [sample](./src/sample/) module having CRUD API implementation examples following the popular MVCS (Model View Controller Service) pattern.

4ī¸âƒŖ | An [ApiResponse](./src/common/ApiResponse.js) class for a standardized approach towards API responses, open to modifications as needed.

## Get to know me 😉

âšĒ Author: [Ayush Kumar Shaw](https://www.github.com/YourAKShaw)

âšĒ Website: [yourakshaw.com](https://www.yourakshaw.com)

âšĒ X: [@YourAKShaw](https://www.x.com/YourAKShaw)

## License

This template is [MIT licensed](./LICENSE).