A server in Node JS to hold transactions for Gift and Loyalty cards.
|
||
---|---|---|
etc | ||
middleware | ||
models | ||
node_modules | ||
passport | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
server.js |
Node server
A server in Node JS to hold transactions for Gift and Loyalty cards.
Installing
Install Node JS by following the instructions on their webpage. NPM will also be necessary, but the installation of Node JS should have it bundled.
Install MongoDB.
Clone this repository.
Install packages
$ cd cluster-server
$ npm install
Usage
The following command will start the server:
On Windows
$ npm run devwin
On Mac / Linux
$ npm run dev