All Projects → foyzulkarim → rbac-react-redux-aspnetcore

foyzulkarim / rbac-react-redux-aspnetcore

Licence: MIT License
A starter template for creating JWT token from ASP.NET Core API project and applying that JWT token authentication on React application

Programming Languages

C#
18002 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to rbac-react-redux-aspnetcore

objection-authorize
isomorphic, "magical" authorization integration with Objection.js 🎉
Stars: ✭ 71 (+31.48%)
Mutual labels:  authorization, permission, rbac
react-rbac-ui-manager
react-rbac-ui-manager is a simple RBAC (Role Based Access Control) user interface library based on the material design system using the Material-UI lib.
Stars: ✭ 73 (+35.19%)
Mutual labels:  authorization, rbac, rbac-management
Casbin.net
An authorization library that supports access control models like ACL, RBAC, ABAC in .NET (C#)
Stars: ✭ 535 (+890.74%)
Mutual labels:  authorization, permission, rbac
lua-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Lua (OpenResty)
Stars: ✭ 43 (-20.37%)
Mutual labels:  authorization, permission, rbac
casbin-ex
An authorization library that supports access control models like ACL, RBAC, ABAC in Elixir
Stars: ✭ 37 (-31.48%)
Mutual labels:  authorization, permission, rbac
Casbin Rs
An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.
Stars: ✭ 375 (+594.44%)
Mutual labels:  authorization, permission, rbac
deflek
index and API RBAC for Elasticsearch and Kibana via reverse proxy. DEPRECATED
Stars: ✭ 13 (-75.93%)
Mutual labels:  authorization, rbac, role-based-access-control
react-abac
Attribute Based Access Control for React
Stars: ✭ 54 (+0%)
Mutual labels:  rbac, role-based-access-control, react-hooks
Jcasbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Java
Stars: ✭ 1,335 (+2372.22%)
Mutual labels:  authorization, permission, rbac
Casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Golang
Stars: ✭ 10,872 (+20033.33%)
Mutual labels:  authorization, permission, rbac
Pycasbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Python
Stars: ✭ 625 (+1057.41%)
Mutual labels:  authorization, permission, rbac
Node Casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
Stars: ✭ 1,757 (+3153.7%)
Mutual labels:  authorization, permission, rbac
Php Casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in PHP .
Stars: ✭ 865 (+1501.85%)
Mutual labels:  authorization, permission, rbac
Casbin Cpp
An authorization library that supports access control models like ACL, RBAC, ABAC in C/C++
Stars: ✭ 113 (+109.26%)
Mutual labels:  authorization, permission, rbac
Gatekeeper
Lightweight library in C# for implementing roles-based access control (RBAC). With Gatekeeper, you can define users, roles, resources, and permissions, and authorize requests.
Stars: ✭ 25 (-53.7%)
Mutual labels:  authorization, rbac, rbac-management
dart-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Dart/Flutter
Stars: ✭ 30 (-44.44%)
Mutual labels:  authorization, rbac
actix-casbin-auth
Casbin Actix-web access control middleware
Stars: ✭ 40 (-25.93%)
Mutual labels:  permission, rbac
rapid-react
A light weight interactive CLI Automation Tool 🛠️ for rapid scaffolding of tailored React apps with Create React App under the hood.
Stars: ✭ 73 (+35.19%)
Mutual labels:  redux-saga, react-hooks
authorizer
Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.
Stars: ✭ 770 (+1325.93%)
Mutual labels:  authorization, role-based-access-control
EasyShiro
基于 RBAC 模型功能全面的 Shiro 安全集成&简化&扩展组件。Shiro integration & simplifies & Extension component based RBAC
Stars: ✭ 47 (-12.96%)
Mutual labels:  rbac, rbac-management

Welcome to RBAC-React-Redux-ASPNETCore repository !

This is a basic implementation of role-based access control which can be fully controlled from an Admin panel instead of hard coding the permissions inside of your code. This implementation covers the scenario of a basic microservice based system where the users can be having different roles and based on their roles, their permission will be different accross both in the Client side and in the Server side.

Technology used

This repository uses a number of frameworks and libraries to work:

  • ReactJS - A JavaScript library for building user interfaces
  • ASP.NET Core API - Build secure REST APIs on any platform with C#
  • SQL Server - SQL Server 2019 Express is a free edition of SQL Server
  • MongoDB - The database for modern applications
  • Redis - The database for caching

Installation and Run

Install the dependencies and dev dependencies and start the server.

You can manually install the database servers and configure the connections string by yourself. Or you can use the below docker command to run the database automatically for you.

To up and running the database servers

$ cd .\artifacts\docker
$ docker-compose up

To run Auth server

$ cd .\server\AuthWebApplication\AuthWebApplication\
$ dotnet restore
$ dotnet watch run

Verify the deployment by navigating to your server address in your preferred browser.

https://localhost:5001/

To run Resource server

$ cd .\server\WebApplication2\WebApplication2
$ dotnet restore
$ dotnet watch run

Verify the deployment by navigating to your server address in your preferred browser.

https://localhost:5003/

To run client

$ cd .\client
$ npm install
$ npm start

Verify the deployment by navigating to your server address in your preferred browser.

http://localhost:3000/

How to run video

React Redux JWT Authentication using ASP.NET Core API

React Redux JWT Authentication using ASP.NET Core API

How to run and debug the systems within less than 3 minutes with docker compose

How to run and debug the systems within less than 3 minutes

Todos

  • Write tests
  • Add nodejs resource server

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].