Quick Start
Requirements
You need Node.js ^12.14.1 installed and you'll need MongoDB installed and running.
Demo
The quickest way to get rest-hapi running on your machine is with the rest-hapi-demo project:
(NOTE: For an alternative quick start, check out his awesome yeoman generator for rest-hapi.)
- Clone the repo
$ git clone https://github.com/JKHeadley/rest-hapi-demo.git
$ cd rest-hapi-demo
- Install the dependencies
$ npm install
- Seed the models
$ ./node_modules/.bin/rest-hapi-cli seed
- Start the server
$ npm start
- View the API docs at
...have fun!