1.0.14 • Published 7 years ago

codegenerator v1.0.14

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

codegenerator

Generates boilerplate codes for node and angular projects

To work or contribute in the project

1. Clone this repo in your server.

git clone https://github.com/cmtanko/codegenerator.git

3. Run

node bin/coddy.js

How to use

> node bin/coddy.js

Enter the name of component(type help for help)
> help
To generate files: generate <stack(node/angular)> <filename>For eg. entering "generate student" will generate student.controller.js,student.service.js, student.service.spec.js
To exit: exit

> nodegen
 Node project created successfully!Follow the following steps next.. 
 cd my-app
 sudo npm install 
 npm run dev 

> sudo npm install -g codegenerator
> coddy

> generate node student 
student.controller.js created successfully !
student.service.js created successfully !
student.sevice.spec.js created successfully !

> generate angular student
student.controller.js created successfully !
student.service.js created successfully !
student.sevice.spec.js created successfully !

> specs service git /sevices/gitService.js
git.service.spec.js created successfully !

> specs controller git /controllers/gitController.js
git.controller.spec.js created successfully !

> exit

Contribution

Feel free to fork this project. Do send a pull request our way if you implement something the world should see.

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago