1.1.2 • Published 3 months ago

@nebula2003/generator-express v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Express App Generator

This is a Node.js package for generating an Express app. It provides a command-line interface for creating a new Express app with a basic file structure and configuration.

Installation

To install the package, run the following command:

npm i -g @nebula2003/generator-express

Usage

To create a new Express app, run the following command:

generatorExpress create app <path>

To add a new Service, run the following command:

generatorExpress add-service <name> <path>

Running the Application

To run the application with Babel transpilation and PM2 process manager, follow these steps:

  1. Install dependencies:
npm i
  1. Run the application:
npm start
  1. To stop the application, run the following command:
npm stop

Note: The application requires PM2 to be installed globally. To install PM2 globally, run the following command:

npm i -g pm2

Note: The ES6 version of this Express app includes Babel for compatibility with older packages that use require. Make sure to follow the steps in the Running the Application section to set up and run the application with Babel and PM2.

1.1.2

3 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago