An open API service indexing awesome lists of open source software.

https://github.com/parvezmrobin/rbac

A Role-Based Access Control implementation to tryout Node, Vue and React in the same project
https://github.com/parvezmrobin/rbac

javascript nodejs react vue

Last synced: 2 months ago
JSON representation

A Role-Based Access Control implementation to tryout Node, Vue and React in the same project

Awesome Lists containing this project

README

        

# RBAC

## Backend
Switch to a `virtualenv`.
Install the requirements from `setup.py`.
Run the following command
```bash
python -m flask run
```
It will be served in `http://localhost:5000`.

## Vue Frontend
Install `Node.js`.
Move to `vue-ui` directory.
```bash
cd vue-ui
```
To serve the project, run the following command.
```npm
npm run serve
```
It will be served in `http://localhost:8080`.

To make a production build, run the following command.
```npm
npm run build
```

## React Frontend
Install `Node.js`.
Move to `react-ui` directory.
```bash
cd react-ui
```
Run the following command.
```npm
npm start
```
It will be served in `http://localhost:3000`.

To make a production build, run the following command.
```npm
npm run build
```