tsvetan-ganev / hapijs_simple_rest

A very minimal ReST API, based on nodejs, inlcuding hapijs and some other modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Simple ReST API using NodeJS and HappiJS - for testing purposes only

How do I get set up?

  • Clone the repo into the desired dir
$ git clone ....
  • Go in the cloned repo dir and install needed npm modules like:
$ cd nodejs_pplanner_test
$ npm install
  • Copy the needed config files, and edit their contents to fit your needs:
$ cp src/Config/general.js.sample src/Config/general.js
$ cp src/Config/database.js.sample src/Config/database.js
  • Run the node with :
 $ node .

Testing

  • Run the tests with:
$ npm test

About

A very minimal ReST API, based on nodejs, inlcuding hapijs and some other modules


Languages

Language:JavaScript 100.0%