Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.74 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.74 KB

PureCloud Kiosk Backend Build Status

PureCloud Kiosk is a service that allows PureCloud users to create and manage check-in events.

Usage

Requirements

Installation

  1. Clone this repo.
  2. Install the Node dependencies with npm install.
  3. Edit the fields in config.json (if needed) to configure Mongo, Redis, Elastic, and Amazon AWS. Then start MongoDB and Redis.
  4. Start the server with npm start or node server.js. The server will be launched onto port 8080.

API Documentation

Documentation was made with the help of Swagger. A live version of based off of the development branch can be accessed here.

Development

Use npm run start-dev during development, it will watch files and relaunch the server whenever a new server is loaded.

For any new packages that need to be installed, be sure to save it into the package.json (for Node Modules) and bower.json (for Bower Components).

Just install using the --save argument when installing. Ex. npm install --save express or bower install --save bootstrap

Testing

Tests are written using Mocha. As development progresses, add tests to the test directory. To execute all of the tests, run npm test. Be sure to modify the test_mongo_uri (if needed) before testing.

Credits