Quick Express Gen
quick-express-gen
is a simple command-line interface (CLI) tool designed to quickly generate a modern Express.js server setup. This setup includes TypeScript or JavaScript, CORS support, Dotenv configuration, ESLint, and Git initialization — all from a single command.
Features
- Express.js Setup: Instantly creates an Express.js server.
- TypeScript/JavaScript Support: Choose between TypeScript or JavaScript for the backend.
- CORS: Configures CORS for cross-origin resource sharing.
- Dotenv Support: Automatically sets up environment variables using
.env
file.
- ESLint Setup: Configures ESLint for consistent coding standards.
- Git Initialization: Initializes a Git repository to start version control.
- Customizable: You can easily modify the generated server to fit your needs.
Installation
You can install quick-express-gen
globally or use it via npx
for one-time usage.
Using npx
(No Installation Required)
To create a new Express server, run the following command:
npx quick-express-gen <project-name>