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.
- Host: GitHub
- URL: https://github.com/yourakshaw/microservice-template-nodejs-js
- Owner: YourAKShaw
- License: mit
- Created: 2024-07-13T17:31:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T01:32:33.000Z (over 1 year ago)
- Last Synced: 2025-10-13T16:03:43.719Z (2 months ago)
- Topics: express, javascript, microservice, mongodb, mvcs, nodejs, template
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microservice-template-nodejs-js
## 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).