Skip to main content
Node Blueprint Hero Light

What is Node Blueprint?

Node Blueprint is a powerful CLI tool that eliminates the tedious setup process for Node.js projects. Instead of spending hours configuring TypeScript, setting up database connections, and wiring together ORMs, you can scaffold a complete, production-ready application in seconds. The CLI guides you through an interactive prompt to select your preferred framework, database, ORM, and authentication method, then generates a fully configured project with all the boilerplate code you need to start building features immediately.

Key features

Interactive setup

Guided prompts walk you through selecting your tech stack preferences without memorizing CLI flags

Production-ready structure

Generated projects follow best practices with organized directories for routes, controllers, services, and middleware

TypeScript first

All projects are scaffolded with TypeScript configuration and ESM support out of the box

Zero configuration

Database connections, ORM schemas, and authentication are pre-configured and ready to use

Supported technologies

  • Express - Fast, unopinionated web framework
  • Fastify - High-performance framework with low overhead
  • PostgreSQL - Powerful, open-source relational database
  • MySQL - Popular relational database management system
  • MongoDB - Flexible NoSQL document database
  • Drizzle - TypeScript ORM with SQL-like syntax (PostgreSQL/MySQL)
  • Prisma - Next-generation ORM with type safety (PostgreSQL/MySQL)
  • Mongoose - Elegant MongoDB object modeling (MongoDB only)
  • JWT Auth - Token-based authentication with refresh tokens
  • None - Start without authentication (add your own later)
  • Docker - Containerization with docker-compose for database services
  • TypeScript - Full type safety and modern JavaScript features
  • ESM - Native ES module support

Quick example

Create a new Express app with PostgreSQL and Drizzle ORM:
npm create node-blueprint
Follow the interactive prompts:
1

Project name

Enter your project name: my-api
2

Framework

Select framework: Express
3

Database

Select database: PostgreSQL
4

ORM

Select ORM: Drizzle
5

Authentication

Choose auth: Basic JWT authentication or None
6

Features

Optional features: Include Docker setup
7

Complete

Dependencies install automatically and you’re ready to code!

What gets generated?

Every Node Blueprint project includes:
  • Organized file structure with directories for routes, controllers, services, middleware, and models
  • Database configuration with connection pooling and environment variables
  • ORM schemas including a User model with example fields
  • Authentication setup (if selected) with login, register, and token refresh endpoints
  • Health check endpoint for monitoring and load balancers
  • Error handling middleware for consistent error responses
  • TypeScript configuration optimized for Node.js development
  • Environment configuration with type-safe env variable access
  • Docker setup (if selected) with compose files for local development
All generated code follows modern TypeScript best practices and includes helpful comments to guide you through the structure.

Get started

Installation

Install Node Blueprint CLI and verify your environment

Quickstart

Create your first project and start building in minutes

Community and support

Node Blueprint is open source and actively maintained. If you find it useful, please give it a star on GitHub!
Have questions or want to contribute? Visit the GitHub repository to open issues, submit PRs, or join discussions.

Build docs developers (and LLMs) love