Welcome to the Backend Boilerplate Node repository! This boilerplate provides a solid foundation for building Node.js applications using the Express.js framework, following the principles of Onion Architecture.
- Onion Architecture: Organize your application into layers for better separation of concerns.
- Express.js: A fast, unopinionated, minimalist web framework for Node.js.
- JWT Authentication: Implement secure authentication using JSON Web Tokens.
- Mongoose: MongoDB object modeling tool designed to work in an asynchronous environment.
- Dependency Injection: Implement Inversion of Control for better testability and maintainability.
- Swagger UI: Automatically generate beautiful API documentation.
- Environment Variables: Configuration management for different environments.
To get started with this boilerplate, follow these steps:
-
Click "Use this Template" then make your own Application Name.
-
Install dependencies:
npm install
-
Set up your environment variables:
cp .env.example .env
Update
.env
file with your configuration details. -
Run the application:
npm start
Feel free to reach out to collaborate on any project or provide feedback on this boilerplate. You can contact me via email or phone:
- Email: zahedhasan.cs@gmail.com
- Phone/WhatsApp: +8801611814937
This project is licensed under the MIT License - see the LICENSE file for details.
Thank you for checking out the Backend Boilerplate Node! Happy coding! 🚀