π I Just Published a CLI Tool That Builds Full Express APIs in Seconds
If you're tired of setting up the same Express.js project structure over and over again β folder setup, database config, JWT auth, logging, Docker, etc. β this is for you.
I built a CLI tool that scaffolds a production-ready Express API with just one command.
π§° What it does:
β
Choose TypeScript or JavaScript
β
Includes TypeORM + PostgreSQL config
β
JWT authentication boilerplate
β
.env-based configs
β
Centralized error handling
β
Pre-configured logging (Winston)
β
Optional Docker + Jenkinsfile + PM2 setup
β
Works with npm, pnpm, and yarn
β‘ Get Started
npx create-express-api-cli-with-docker my-api --ts
Or use the JS version:
npx create-express-api-cli-with-docker my-api --js
You can also scaffold with Docker & Jenkins setup included:
npx create-express-api-cli-with-docker my-api --ts --docker
π¦ npm Package
π https://lnkd.in/djij28wx
π GitHub Repo
π https://lnkd.in/d6Jcx3gy
π My Portfolio
Check out more of what I'm building at
π www.kamauharrison.co.ke
π¬ Would Love Your Feedback
This is just version 1.0 β MongoDB support, Swagger docs, and more coming soon.
If this helps you in any way:
Drop a β on GitHub
Share it with someone who builds APIs
Or reach out β Iβm always open to connect and collaborate
Letβs build faster and better together.
β Kamau Harrison
Top comments (0)