Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 611 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 611 Bytes

Auction Bay

Requirements

  • Node v12.6.0
  • npm v6.10.1

Build

$ npm install

Generate certificates

$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

Prepare .env

$ cp .env.example .env

Edit .env based on your environment. .env is per developer and not commited.

Run server

Make sure mongod service is active or start it

$ sudo service mongod start

Then run the server

$ npm run server

Run web-app

$ npm run ui

Run tests

Endpoint tests with Mocha & Chai

$ npm test