Skip to content

Node.js Quickstart GeneratorProduction-ready structure in seconds

Scaffold MVC or Clean Architecture with Authentication, Kafka, GraphQL, and more.

Configure Your Project

Configuration
Star

Advanced Options

Structure Simulation

nodejs-service
.github
workflows
ci.yml
.husky
pre-commit
flyway # Database migrations management
sql
V1__initial_setup.sql
prompts # AI agent system prompts
project-context.md
add-feature.md
troubleshoot.md
scripts
run-e2e.js # E2E test orchestrator (starts server and runs tests)
src
errors
ApiError.ts
BadRequestError.ts
NotFoundError.ts
config # System-wide configurations (DB, Cache, Swagger)
env.ts
database.ts
swagger.ts
swagger.yml
controllers # Request handling & input validation
userController.ts
models # Data schemas & business entities
User.ts
routes # Express API routing endpoints
api.ts
healthRoute.ts
views
utils
errorMessages.ts
httpCodes.ts
logger.ts
errorMiddleware.ts # Global error handling (Architect standard)
gracefulShutdown.ts # Safe process termination on SIGTERM/SIGINT
index.ts # Application entry file
tests
e2e # High-level integration tests (Testing full flows)
e2e.users.test.ts
unit # Testing isolated business logic
tsconfig.json
tsconfig.json
tsconfig.eslint.json
package.json
.cursorrules
.gitattributes # Git repository configurations
.lintstagedrc # Pre-commit formatting and linting rules
.prettierrc # Code style preferences
README.md
.env.example # Environment variables
eslint.config.mjs # Enforces code quality and style.
jest.config.js
jest.e2e.config.js
ecosystem.config.js
Dockerfile
.dockerignore
docker-compose.yml # Local multi-container infrastructure

Released under the ISC License.
Built with for the Node.js Ecosystem. NPM Downloads GitHub Stars