kiro-rvcgen

1.0.8 • Public • Published

This is a beta version !

This module allows you to generate a node web app quickly based on mongoose models

All you have to do is create a models folder, put there your mongoose models, and execute the generator to generate controllers, routes, views based on model structure

Step 1 - run

npm i kiro-rvcgen

Step 2 - require the module in your generator.js

const generator = require("kiro-rvcgen").default ;
generator()

Step 3 - run the generator

before running this, make sure your models folder is setup with valid mongoose models

node generator

Step 4 - Modify config/db.js with your dayabase informations

Step 5 - run the server

node server

That's it !

Readme

Keywords

none

Package Sidebar

Install

npm i kiro-rvcgen

Weekly Downloads

1

Version

1.0.8

License

ISC

Unpacked Size

30.4 kB

Total Files

33

Last publish

Collaborators

  • riadkiro