@enigmagtm/cli
v0.0.21
Published
Enigma command line tool
Downloads
53
Readme
Enigma
Enigma - Framework for node server applications with expressjs and knex
Documentation
How to get started with Enigma
Setup - Development
Prerequisites
- Install Node.js which includes Node Package Manager
Setting up an application
Install the Enigma CLI globally:
npm install -g @enigma/cliCreate new application:
ngm new PROJECT_NAMEAfter create the application, you should install one of the following database packages so your application can run, detailed instructions at the installation section Knexjs.org
Run the application:
cd PROJECT_NAME
npm run startCreate a module for resource controllers:
ngm g m DIRECTORY [MODULE]Create a resource controller:
ngm g c DIRECTORY SCHEMA [TABLE]