Skip to content

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

License

Notifications You must be signed in to change notification settings

YourAKShaw/microservice-template-nodejs-ts

Repository files navigation

microservice-template-nodejs-ts

project-banner

Tech Stack




Features

1️⃣ | Extensive logger implemented using npm's 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's official npm library, mongodb instead of earlier often relied usage of mongoose library.

3️⃣ | A sample module having CRUD API implementation examples following the popular MVCS (Model View Controller Service) pattern.

4️⃣ | An ApiResponse class for a standardized approach towards API responses, open to modifications as needed.

Get to know me 😉

⚪ Author: Ayush Kumar Shaw

⚪ Website: yourakshaw.com

⚪ X: @YourAKShaw

License

This template is MIT licensed.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published