get-express-starter
Version:
Get production ready express boilerplate with a single command
56 lines (40 loc) ⢠1.24 kB
Markdown
# 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