Gathering detailed insights and metrics for node-enterprise-starter
Gathering detailed insights and metrics for node-enterprise-starter
Gathering detailed insights and metrics for node-enterprise-starter
Gathering detailed insights and metrics for node-enterprise-starter
npm install node-enterprise-starter
Typescript
Module System
Node Version
NPM Version
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
19
Production-Ready Node.js Backend Framework
A modern, scalable, and secure foundation for building enterprise-grade applications
📚 Visit the Official Documentation Site
Node Enterprise Starter is a powerful CLI tool that generates production-ready Node.js applications with enterprise-level architecture. Skip the boilerplate setup and focus on building your business logic with our battle-tested foundation.
1npx node-enterprise-starter
🔐 AuthenticationComplete JWT authentication with access/refresh tokens and password management |
🛡️ TypeScriptBuilt with TypeScript for robust type safety across your entire application |
🗄️ MongoDB ReadyMongoose ODM integration with models, schemas, and data validation |
👥 User ManagementRole-based access control system with flexible permissions |
📝 Error HandlingGlobal error handler with custom error classes and consistent responses |
📊 LoggingAdvanced logging with request tracking and performance monitoring |
Start your new project in one command:
1# Using npm 2npx node-enterprise-starter 3 4# Using yarn 5yarn dlx node-enterprise-starter 6 7# Using pnpm 8pnpm dlx node-enterprise-starter 9 10# Using bun 11bunx node-enterprise-starter
Our interactive CLI guides you through setup, allowing you to customize your project structure and features.
node-enterprise-starter/
├── src/
│ ├── app/
│ │ ├── errors/ # Custom error classes
│ │ ├── middlewares/ # Express middlewares
│ │ ├── modules/ # Feature modules
│ │ │ ├── Auth/ # Authentication module
│ │ │ ├── User/ # User management module
│ │ │ └── ...
│ │ ├── routes/ # API routes
│ │ ├── services/ # Shared services
│ │ └── utils/ # Helper functions
│ ├── config/ # Configuration
│ ├── shared/ # Shared resources
│ │ └── constants/ # Application constants
│ ├── app.ts # Express application
│ └── server.ts # Server entry point
├── .env # Environment variables
├── .env.example # Environment template
├── tsconfig.json # TypeScript configuration
└── package.json # Dependencies and scripts
Each feature is isolated in its own module with a clean separation of concerns:
Auth/
├── auth.controller.ts # Request handlers
├── auth.service.ts # Business logic
├── auth.model.ts # Data models
├── auth.validation.ts # Request validation
├── auth.utils.ts # Helper functions
├── auth.interface.ts # TypeScript interfaces
└── auth.routes.ts # Route definitions
Method | Route | Description | Auth Required |
---|---|---|---|
POST | /api/v1/auth/login | User login | No |
POST | /api/v1/auth/register | User registration | No |
POST | /api/v1/auth/forgot-password | Request password reset | No |
POST | /api/v1/auth/reset-password | Reset password | No |
POST | /api/v1/auth/change-password | Change password | Yes (User) |
GET | /api/v1/users | Get all users | Yes (Admin) |
GET | /api/v1/users/profile | Get current user profile | Yes |
GET | /api/v1/users/:id | Get user by ID | Yes |
PATCH | /api/v1/users/:id | Update user | Yes |
DELETE | /api/users/:id | Delete user | Yes (Admin) |
1# Application 2NODE_ENV=development 3PORT=8000 4 5# Database 6DATABASE_URL=mongodb://localhost:27017/myapp 7 8# Authentication 9BCRYPT_SALT_ROUNDS=10 10JWT_ACCESS_SECRET=supersecretaccesskey123 11JWT_ACCESS_EXPIRES_IN=7d 12JWT_REFRESH_SECRET=supersecretrefreshkey456 13JWT_REFRESH_EXPIRES_IN=30d 14 15# Email 16EMAIL_USER=noreply@myapp.com 17EMAIL_PASSWORD=password123 18RESET_LINK_URL=https://myapp.com/reset-password 19 20# Frontend 21CLIENT_URL=http://localhost:3000 22 23# Admin defaults 24ADMIN_NAME=Abu Jobayer 25ADMIN_EMAIL=admin@myapp.com 26ADMIN_PASSWORD=adminpassword123 27ADMIN_CONTACT=+1-234-567-8901 28ADMIN_PROFILE_IMAGE_LINK=https://myapp.com/images/admin-profile.png
This project is MIT licensed.
Crafted with ❤️ by Abu Jobayer
No vulnerabilities found.
No security vulnerabilities found.