express-auto-helper
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "express-auto-helper", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -12,19 +12,22 @@ | ||
## Installation | ||
To use this tool locally without publishing it to npm: | ||
## Usage | ||
1. Clone this repository or download the files. | ||
2. Navigate to the directory of the project in your terminal. | ||
3. Run the following command to link the package locally: | ||
```bash | ||
npm link | ||
``` | ||
Once the package is installed, you can use the following commands to generate controllers and routes. | ||
This will make `express-auto-helper` available as a global command on your system. | ||
## 1. Creating a new Project | ||
## Usage | ||
To create a new project, run: | ||
Once the package is installed, you can use the following commands to generate controllers and routes. | ||
```bash | ||
express-auto-helper create-app <new-app> | ||
``` | ||
#### Example | ||
```bash | ||
express-auto-helper create-app new-app | ||
``` | ||
### 1. Creating a Controller | ||
@@ -31,0 +34,0 @@ |
126
10440