nyssa
v1.0.3
Published
Application generator tool
Downloads
4
Readme
Nyssa
Project generation for full stack development with React and Feathers. This project uses nyssa-fe and nyssa-fe as base for the generated projects.
Usage
First, install nyssa globally using npm (we assume you have pre-installed node.js).
npm install -g nyssa
Global Commands
nyssa init
To generate projects in the current folder. It will create the different projects inside their respective folders(client
or server
).
nyssa init-folder <project-folder>
To generate projects inside a folder called <project-folder>
. It will create the different projects inside their respective folders(client
or server
).
FE Commands
nyssa fe init
or nyssa-fe init
To generate a FE project inside the current folder.
nyssa fe init-folder <project-folder>
or nyssa-fe init-folder <project-folder>
To generate a FE project inside a folder called <project-folder>
.
nyssa fe g <type>
To call a sub-generator for type. The possible types are:
action
: generate a new redux actioncomponent
: generate a new react/redux componentepic
: create a new redux-observable epicform
: create a new form with redux formreducer
: create a new redux reducer
BE Commands
nyssa be init
or nyssa-be init
To generate a BE project inside the current folder.
nyssa be init-folder <project-folder>
or nyssa-be init-folder <project-folder>
To generate a BE project inside a folder called <project-folder>
.
nyssa be g <type>
To call a sub-generator for type. The possible types are:
auth
: to create all the authentication filesconnection
: to configure a connection to a DBhook
: create hooks for the different servicesmiddleware
: create express middleware and add itservice
: generate a new service