marcellus
v0.0.3
Published
CLI tool for creating express API's
Downloads
2
Readme
CLI tool for creating API's in express.
$ npm install -g marcellus
$ marcellus -h
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
Installation is done using the
npm install
command:
$ npm install marcellus
Features
- Creates a MVC directory structure with the basic resources on it
- Add new resources automatically
Quick Start
Create a new directory and cd into it:
$ mkdir foo && cd foo
Create a new project with:
$ marcellus create -n foo -d bar
-n
: aplication name -d
: application description
Create index page with:
$ marcellus add index
Run project (requires express):
$ node index.js
Api will be available at: http://localhost:3000/index