UNPKG

get-express-starter

Version:

Get production ready express boilerplate with a single command

56 lines (40 loc) • 1.24 kB
# get-express-starter šŸš€ A simple CLI to generate Express.js boilerplates with TypeScript or JavaScript — batteries included. ## Features - āœ… TypeScript & JavaScript support - āœ… MongoDB & PostgreSQL support - āœ… Fully modular boilerplates (auth, user, utils, etc.) - āœ… JWT authentication with protected routes - āœ… Robust request validation with Joi - āœ… Email verification & password reset workflows - āœ… Pagination utility included - āœ… Dockerized with ready-to-use `docker-compose` - āœ… ESM or CommonJS support for JavaScript - āœ… ESLint + Prettier / Biome, Husky, and lint-staged pre-configured - āœ… Easy prompts for clean setup - āœ… Custom code snippets included - āœ… Production-ready templates with `env` support ## Installation ```bash npm install -g get-express-starter ``` ## Usage ```bash get-express-starter ``` ## Example ```bash $ get-express-starter āœ” Project name: my-api āœ” Language: TypeScript āœ” Database: PostgreSQL āž”ļø cd my-api āž”ļø pnpm install āž”ļø pnpm dev ``` ## Templates Templates Your project will be generated using boilerplate templates located internally: - Express + MongoDB + TypeScript - Express + PostgreSQL + TypeScript - Express + MongoDB + JavaScript