diff --git a/README.md b/README.md index 78f5771..49ac987 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,16 @@ Express API Initializer is a tool designed to streamline the process of generati ## Installation -Ensure you have [node.js](https://nodejs.org/)) installed, then install express-api-initializer globally using [npm](https://www.npmjs.com/): +Ensure you have [node.js](https://nodejs.org/) installed, then install express-api-initializer globally using [npm](https://www.npmjs.com/): ```bash -npm install -g express-api-inializer +npm install -g express-api-initializer ``` To create a new project, run: ```bash -express-inializer new +express-initializer new ``` Your app structure will be initialized as follows: @@ -49,7 +49,7 @@ node index.js Generate resources using plural nouns: ```bash -express-inializer g resource +express-initializer g resource ``` ## Controller Generation @@ -57,7 +57,7 @@ express-inializer g resource Generate controllers using: ```bash -express-inializer g controller +express-initializer g controller ``` ## Controller Generation @@ -65,14 +65,14 @@ express-inializer g controller Generate models using: ```bash -express-inializer g model +express-initializer g model ``` ## Route Generation Generate routes using: ```bash -express-inializer g route +express-initializer g route ``` ## Middleware Generation @@ -80,7 +80,7 @@ Generate middleware using: ```bash -express-inializer g middleware +express-initializer g middleware ``` Feel free to use these commands to efficiently scaffold and organize your Express.js applications. diff --git a/package.json b/package.json index 9af9777..c63edc3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "express-api-initializer", "version": "0.0.1", "bin": { - "express-inializer": "./dist/src/index.js" + "express-initializer": "./dist/src/index.js" }, "description": "", "main": "index.js",