Yeoman generator for sample angular crud application
I have published one generator for Angular CRUD app. This app can be extended to fit your need. Many a time I found that whenever I am experimenting or writing any new app, I need to have basic crud thing first in place. And this is kind of repetition of same things, hence decided to offload this stuff with some generic utility. Hence, decided to publish the same on npm as yeoman generator. You can refer the same https://www.npmjs.com/package/generator-sample-crud-angular.
You need to have yeoman globally installed first. After that you can install the generator globally like
npm i -g generator-sample-crud-angular
This will install the generator globally, then you can implement the same using below command.
Having entered all the info, it will start installing all the required dependencies like shown below.
Once it installed successfully, you will see final screen message like this.
After that when you open code, it will appear like this.
Now, you can run the app using ng serve
It will launch the application on the given port. In this case, it will be 4300.
Here, when you click on the New Employee button, it will create a new form like shown below.
Very generic stuff, nothing fancy. Only thing is it can save your time righting everything from scratch. I hope you would have liked this generator. Thanks for joining me.
Originally published at My View.