Skip to content

Generates boilerplate codes for node and angular projects

Notifications You must be signed in to change notification settings

cmtanko/codegenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Generates boilerplate codes for node and angular projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published