0.2.3 • Published 4 years ago

generator-hiroki v0.2.3

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

generator-hiroki NPM version Build Status Dependency Status

Generate Rest api using hiroki

Installation

First, install Yeoman and generator-hiroki using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-hiroki

Then generate your new project:

yo hiroki

Generate model

Also you can generate a new model in proyect:

yo hiroki:model

Generate decorator

yo hiroki:decorator

About the structure

  • The logic of your application should be contained in these folders:
lib/
├── decorators
│   ├── index.js
│   └── user.js
├── logger.js
├── models
│   ├── index.js
│   └── user.js
└── routes
    ├── auth.js
    ├── extract-jwt.js
    ├── home.js
    ├── index.js
    └── users.js
  • configuration:
config/
└── public.js
.env

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

Hiroki Documentation

Documentation here

License

MIT © percho

0.2.3

4 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago