Skip to content

MindsEyeSociety/mes-hub

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mind's Eye Society User Hub

This system is a REST API designed to handle member and org unit hierarchy and permissions. Designed to interface with the MES Portal via OAuth and configurable clients.

Documentation can be found here

Dependency Status Build Status

JIRA (private)

Installation

  1. npm install.
  2. npm install -g knex.
  3. Configure the database in config/db.json.
  4. knex migrate:latest.
  5. Configure the OAuth tokens in config/auth.json and config/clients.json.
  6. Start server with node www.

Config

  • auth - Contains OAuth credentials for the Portal server.
  • clients - Clients, organized via ID : redirect URL.
  • db - Database credentials.
  • roles - JSON of valid roles, with descriptions.
  • templates - Office permission templates, used when creating new org units.

Tests

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.

About

Central logic for new MES hub system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages