1.2.2 • Published 6 months ago
create-ex-app v1.2.2
Installation
Using npm
npx create-ex-app my-app
Install the package globally:
npm install -g create-ex-app
Usage
Create a New Express.js Application
To scaffold a new Express.js project, run:
npx create-ex-app my-app
Start the Application
Navigate to the newly created project directory and install dependencies:
cd my-app
npm install
Start the server:
npm run dev
Your application will be running at http://localhost:4000
by default.
Commands
Scaffold a new Express.js application in the specified directory.
Example:
npx create-ex-app my-app
--help
Display help information for the CLI.
npx create-ex-app --help
📌 Features
- Quick Setup: Generate a fully functional Express.js application in seconds.
- Customizable Templates: Includes pre-built templates for JavaScript and TypeScript applications.
- Extensible: Add your own templates or modify the existing ones.
- Command-Line Simplicity: Easy-to-use CLI commands.
- Integrates popular ORMs/ORMs like Mongoose, Sequelize, and TypeORM.
- Preconfigured project structures for best practices.
📦 Available Templates
Template Name | Language | Database/ORM |
---|---|---|
javascript | JavaScript | None |
typescript | TypeScript | None |
javascript-mongoose | JavaScript | MongoDB (Mongoose) |
typescript-mongoose | TypeScript | MongoDB (Mongoose) |
javascript-sequelize | JavaScript | SQL (Sequelize) |
typescript-typeorm | TypeScript | SQL (TypeORM) |
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push them to your fork.
- Submit a pull request.
Development Setup
Clone the repository:
git clone https://github.com/gausalmunirtushar/create-express-app.git
Install dependencies:
npm install
Run tests:
npm run test
License
This project is licensed under the MIT License. See the LICENSE file for details.
Feedback
If you encounter any issues or have suggestions for improvement, feel free to open an issue on GitHub.