0.2.1 • Published 12 years ago

rest-now v0.2.1

Weekly downloads
7
License
-
Repository
github
Last release
12 years ago

REST Now

Start it running, dump some HTML/js in the public dir, and you've got a webapp.

This is an attempt to make a mongo / rest api backend as simple as http-server.

Requests that explicitly contain application/json in the Accept header are handled by the API. All other requests are handled by the static file server.

Installing Globally

This package is NOT in NPM currently. Until then:

  1. Download Source
  2. make
  3. npm install -g

Usage

rest-now [path] [options]

path defaults to ./public if the folder exists, and ./ otherwise.

options: -p Port to use 8000 -d Mongo Database name -d 'test' -s Mongo server -s 127.0.0.1:27017 -h --help Display this message and exit

0.2.1

12 years ago

0.2.0

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago