The server implementation of the NewsHub project built on the Feathers Node.js framework.
-
Install your dependencies
cd path/to/newshub-server; npm install
-
Start your app
npm start
Simply run npm test
and all your tests in the test/
directory will be run.
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
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
.
For more information on all the things you can do with Feathers visit docs.feathersjs.com.
Copyright (c) 2015 Bharat Arimilli