🚀 @xcript/express is a modern CLI tool that helps you quickly scaffold a production-ready Express.js project with sensible defaults and best practices out of the box.
npm install -g @xcript/express
@xcript/express
This command will create a new directory and initialize a new Express.js project with the following:
- 🧱 Pre-configured Express server
- 📁 Modern folder structure
- 🧪 Basic middleware setup
- 📦 Auto-generated
package.json
with customizable fields - 🛠️ Dockerfile for containerization
- 📄
.env
support
- Simple, clean and modular Express boilerplate
- Interactive CLI for project setup
- Environment variable support
- Easy Docker integration
- NPM script helpers
my-app/
├── src/
│ ├── routes/
│ ├── controllers/
│ └── index.js
├── .env
├── Dockerfile
├── package.json
└── README.md
npm start # Start the server
npm run dev # Start with nodemon
npm run lint # Run linter
To build and run the container:
npm run build:docker
npm run start:docker
MIT © Shiv Shankar Kushwaha