codegenerator

1.0.14 • Public • Published

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 exitexit
 
> 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.

Readme

Keywords

none

Package Sidebar

Install

npm i codegenerator

Weekly Downloads

0

Version

1.0.14

License

ISC

Last publish

Collaborators

  • cmtanko