Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

A student media management platform built for use at UT Dallas.

Notifications You must be signed in to change notification settings

bharatari/newshub-authentication

Repository files navigation

Build Status Coverage Status

The server implementation of the NewsHub project built on the Feathers Node.js framework.

Getting Started

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/newshub-server; npm install
    
  3. Start your app

    npm start
    

Testing

Simply run npm test and all your tests in the test/ directory will be run.

Scaffolding

Feathers has a powerful command line interface. Here are a few things it can do:

$ npm install -g feathers-cli             # Install Feathers CLI

$ feathers generate service               # Generate a new Service
$ feathers generate hook                  # Generate a new Hook
$ feathers generate model                 # Generate a new Model
$ feathers help                           # Show all commands

Features

Access Control System

Our access control system, located primarily in the /utils/access.js file, is designed to be flexible, scalable and extensible. Roles act as user groups and permission presets while permissions are granular levels of access control. Roles can also generally refer to both roles and permissions in certain cases. For example, the field to include a user's roles and permissions on a user record is simply called roles.

Help

For more information on all the things you can do with Feathers visit docs.feathersjs.com.

License

Copyright (c) 2015 Bharat Arimilli