fluver
v1.0.3
Published
Small tool to generate basic api structure
Downloads
3
Readme
Fluver Code Generator
Simple template-based code generator created to make stuff faster at our development team
This won't take any decisions at business level code, such as deciding wich properties from an entity are searchable or not. You will have to do that by yourself
After all, this a tool created with the intention of increasing the team's productivity, and not taking anyone's job :P
Instalation
As usual:
npm i -g fluver
Usage
Once installed, just summon it with the fluver
command and answer the questions
** Please note that the path for routes, services and database scaffolding must be the root of the api **
Models
In order to generate an entity's JSON Schema, this generator reads the entity's model, wich must be located on a app/database/models
folder inside the root of the api.
TODO
- Add tests generator
- Add payload picking to create and update routes