Clap Generator
Clap Generator is a simple boilareplate generator, that will generate the Nodejs server files & vuejs client files.
Installation
npm i -g clap-generate
Create a new Project
After Installing the package globally run: generate
from the wanted directroy
Creating a new Model
Clap generator can Create a new Model for server & client, the model can include: server route, Mongoose model, server routes with all basic crud operations, server controllers, services. In client it will create a new route in Vue router, a new Module for Vuex with all basic crud operations.
Create a new model
in the App root directory run:
npm run crud