- Feathers Back-end
- Sequelize with MySql | MariaDB
- React Front-end
This application is used to both build your external APIs RBAC and user data models as well as provide a client interface to manage these users, roles and permissions.
You can wire your API up directly to the database or interface with users and access tokens through the @feathersjs/client.
- Node 10+
- MySql (or MariaDB)
This project uses Feathers. An open source web framework for building modern real-time applications. Feathers will handle all API requests from the client application to modify your data source as well as publish all data changes via socket.io back to a socket connection on the client if you are watching for updates.
The client is bootstrapped with Create React App.
-
Create MySql database db_name (and user if needed)
CREATE DATABASE `<db_name>` /*!40100 DEFAULT CHARACTER SET utf8 */;
-
Install your dependencies
cd path/to/api-manager; yarn install
-
Start your app
yarn start
Run yarn dev
from the root directory will start the Feathers server using nodemon to watch for file changes.
Simply run yarn test
and all your tests in the test/
directory will be run.
Run yarn client
from the root directory which will load the React front-end on local webpack dev server with hot module reloading enabled
Copyright (c) 2018
Licensed under the MIT license.