Skip to content

UnDer-7/generator-lazy-backend-entity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-lazy-backend-entity

Entity generator for lazy-backend

Video exemple

Fail to load the video

About the project

Creates an entity (controller, model, validation and routes)

Prerequisites

  • You need to have yeoman installed. If you don't have it, type the following command:
npm i -g yo

Installation

You can install the package from npm

npm i -g generator-lazy-backend-entity

Usage

  • First you need to be inside the project folder. e.g. \user\workspace\project-name
  • Once inside the folder, run the following command
yo lazy-backend-entity
  • It's recommended that the entity's name starts with an uppercase letter and the fields with a lowercase letter

Generated Files

The generetor will create the following files

  • Model
  • Controller
  • Validator
  • The endpoints for the entity will be added on route.js file

Author

Mateus Gomems da Silva Cardoso | mateus7532@gmail.com

About

Entity generator for lazy-backend

Resources

Stars

Watchers

Forks

Packages

No packages published