Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 684 Bytes

README.md

File metadata and controls

54 lines (44 loc) · 684 Bytes

Happy Mandado Auth

Handles happy mandado webapp authentication

Setup

Requirements

Install nodejs:

$ brew install nodeenv

# Node Version X.Y
$ nodeenv /path/to/your/envs/node
$ source /path/to/your/envs/node/bin/activate
$ cd /path/to/waitress/repo/path

$ npm install

Auth0 tenant:

Domain
Client ID
Client Secret
Scope

Config files

Each env must require its own:

  • Domain
  • API Origin
  • API Port
  • Auth callback
  • Auth redirect
  • Cookie name
  • Cookie secret
  • Cookie domain

Test

$ npm test-unit
$ npm --silent run test-path path/to/file

Run

Development

$ npm start-dev

Production

$ npm start