Skip to content

Create Express App is a CLI tool that simplifies the creation of Express.js applications. It generates a ready-to-use project structure with pre-configured templates for JavaScript (and optionally TypeScript) applications. Perfect for developers who want to quickly scaffold an Express.js project and start coding right away.

License

Notifications You must be signed in to change notification settings

GausAlMunirTushar/create-express-app

Repository files navigation

Create Express App

Create Express App is a CLI tool that simplifies the creation of Express.js applications. It generates a ready-to-use project structure with pre-configured templates for JavaScript and TypeScript applications. Perfect for developers who want to quickly scaffold an Express.js project and start coding right away.

Installation

Using npm

npx create-ex-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

This will create a directory my-app with the following structure:

my-app/
├── src/
│   ├── routes/
│   │   └── index.js
│   ├── controllers/
│   │   └── indexController.js
│   ├── middlewares/
│   │   └── logger.js
│   ├── models/
│   │   └── exampleModel.js
│   └── app.js
├── .gitignore
├── package.json
└── app.js

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

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes and push them to your fork.
  4. 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 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.

About

Create Express App is a CLI tool that simplifies the creation of Express.js applications. It generates a ready-to-use project structure with pre-configured templates for JavaScript (and optionally TypeScript) applications. Perfect for developers who want to quickly scaffold an Express.js project and start coding right away.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published