1.1.4 • Published 1 year ago

express-api-initializer v1.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Express API Initializer

Express API Initializer is a tool designed to streamline the process of generating Express.js applications.

Installation

Ensure you have node.js) installed, then install express-api-initializer globally using npm:

npm install -g express-api-initializer

To create a new project, run:

express-initializer new <app-name>

Your app structure will be initialized as follows:

To start the app, navigate to the project directory and run:

cd <app-name>
npm install express express-async-handler
node index.js

Resource Generation

Generate resources using plural nouns:

express-initializer g resource <resource-name> 

Controller Generation

Generate controllers using:

express-initializer g controller <controller-name>

Controller Generation

Generate models using:

express-initializer g model <model-name>

Route Generation

Generate routes using:

express-initializer g route <route-name>

Middleware Generation

Generate middleware using:

express-initializer g middleware <middleware-name>

Configuration Generation

Generate configs using:

express-initializer g config <config-name>

Feel free to use these commands to efficiently scaffold and organize your Express.js applications.

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago