Winding Path Initiative User Hub
This system is a REST API designed to handle member and org unit hierarchy and permissions. Designed to work with Auth0 to handle membership.
Documentation can be found here
npm install -g knex.
- Make local versions of the default files in config and seeds with your changes
- Configure the database in
- Configure the Auth0 JWTS and APIs credentials in
- Start server with
auth- Contains credentials for Auth0
db- Database credentials.
roles- JSON of valid roles, with descriptions.
templates- Office permission templates, used when creating new org units.
Tests are run with Mocha and Supertest. They can be run with
NODE_ENV=testing mocha locally.
grunt validate is also used to lint the code.