1.0.2 • Published 7 years ago

generator-nyssa-be v1.0.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
7 years ago

Nyssa BE Generator

This project uses generator-feathers as base. With a few additions like jest, standard, prettier and nodemon.

NOTE: It also adds prettier as a precommit hook with lint-staged and husky.

Usage

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

npm install -g yo generator-nyssa-be

Templates

Project

To generate a new project:

yo nyssa-be

Authentication

To generate authentication for the project:

yo nyssa-be:auth

Connection

To generate a connection for the project:

yo nyssa-be:connection

NOTE: This will create a setup file for testing, it will work only for mongodb. If another database is to be used there needs to be changes so a mock DB is initialized.

Hook

To generate a hook for the project:

yo nyssa-be:hook

Middleware

To generate middleware for the project:

yo nyssa-be:middleware

Service

To generate a service for the project:

yo nyssa-be:service
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago