DEV Community

Njoroge Kamau
Njoroge Kamau

Posted on

Express Scafold

πŸš€ 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
Enter fullscreen mode Exit fullscreen mode

Or use the JS version:

npx create-express-api-cli-with-docker my-api --js
Enter fullscreen mode Exit fullscreen mode

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)