{"id":16967810,"url":"https://github.com/foyzulkarim/rbac-react-redux-aspnetcore","last_synced_at":"2025-03-17T08:37:48.847Z","repository":{"id":39129401,"uuid":"262754875","full_name":"foyzulkarim/rbac-react-redux-aspnetcore","owner":"foyzulkarim","description":"A starter template for creating JWT token from ASP.NET Core API project and applying that JWT token authentication on React application","archived":false,"fork":false,"pushed_at":"2023-01-05T20:14:46.000Z","size":8141,"stargazers_count":70,"open_issues_count":29,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-27T21:41:32.753Z","etag":null,"topics":["aspnet-web-api","aspnetcore","authentication","authorization","jwt","microservices","mongodb","permission","rbac","rbac-management","react","react-hooks","reactjs","redis","redux","redux-saga","role-based-access-control","sql-server"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foyzulkarim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-10T09:43:01.000Z","updated_at":"2025-02-05T14:56:41.000Z","dependencies_parsed_at":"2023-02-04T14:01:52.835Z","dependency_job_id":null,"html_url":"https://github.com/foyzulkarim/rbac-react-redux-aspnetcore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foyzulkarim%2Frbac-react-redux-aspnetcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foyzulkarim%2Frbac-react-redux-aspnetcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foyzulkarim%2Frbac-react-redux-aspnetcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foyzulkarim%2Frbac-react-redux-aspnetcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foyzulkarim","download_url":"https://codeload.github.com/foyzulkarim/rbac-react-redux-aspnetcore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243853615,"owners_count":20358451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnet-web-api","aspnetcore","authentication","authorization","jwt","microservices","mongodb","permission","rbac","rbac-management","react","react-hooks","reactjs","redis","redux","redux-saga","role-based-access-control","sql-server"],"created_at":"2024-10-14T00:09:51.339Z","updated_at":"2025-03-17T08:37:48.470Z","avatar_url":"https://github.com/foyzulkarim.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to RBAC-React-Redux-ASPNETCore repository !\nThis 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. \nThis 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. \n\n## Technology used\n\nThis repository uses a number of frameworks and libraries to work:\n\n* [ReactJS] - A JavaScript library for building user interfaces\n* [ASP.NET Core API] - Build secure REST APIs on any platform with C#\n* [SQL Server] - SQL Server 2019 Express is a free edition of SQL Server\n* [MongoDB] - The database for modern applications\n* [Redis] - The database for caching \n\n\n## Installation and Run\n\nInstall the dependencies and dev dependencies and start the server.\n\nYou can manually install the database servers and configure the connections string by yourself. \nOr you can use the below docker command to run the database automatically for you. \n\nTo up and running the database servers\n\n```sh\n$ cd .\\artifacts\\docker\n$ docker-compose up\n``` \n\nTo run Auth server\n\n```sh\n$ cd .\\server\\AuthWebApplication\\AuthWebApplication\\\n$ dotnet restore\n$ dotnet watch run\n```\nVerify the deployment by navigating to your server address in your preferred browser.\n\n```sh\nhttps://localhost:5001/\n```\n\nTo run Resource server\n\n```sh\n$ cd .\\server\\WebApplication2\\WebApplication2\n$ dotnet restore\n$ dotnet watch run\n```\nVerify the deployment by navigating to your server address in your preferred browser.\n\n```sh\nhttps://localhost:5003/\n```\n\nTo run client\n\n```sh\n$ cd .\\client\n$ npm install\n$ npm start\n```\nVerify the deployment by navigating to your server address in your preferred browser.\n\n```sh\nhttp://localhost:3000/\n```\n\n\n### How to run video\n\nReact Redux JWT Authentication using ASP.NET Core API\n\n[![React Redux JWT Authentication using ASP.NET Core API](http://img.youtube.com/vi/ToEO8INViW8/0.jpg)](http://www.youtube.com/watch?v=ToEO8INViW8) \n\n\nHow to run and debug the systems within less than 3 minutes with docker compose\n\n[![How to run and debug the systems within less than 3 minutes](https://img.youtube.com/vi/3KcUTvjlB3g/0.jpg)](https://www.youtube.com/watch?v=3KcUTvjlB3g) \n\n\n### Todos\n - Write tests\n - Add nodejs resource server\n\nLicense\n----\n\nMIT\n\n   [node.js]: \u003chttp://nodejs.org\u003e\n   [express]: \u003chttp://expressjs.com\u003e\n   [ReactJS]: \u003chttps://reactjs.org/\u003e\n   [Gulp]: \u003chttp://gulpjs.com\u003e\n   [ASP.NET Core API]:\u003chttps://dotnet.microsoft.com/apps/aspnet/apis\u003e\n   [SQL Server]:\u003chttps://www.microsoft.com/en-us/sql-server/sql-server-downloads\u003e\n   [MongoDB]:\u003chttps://www.mongodb.com/\u003e\n   [Redis]:\u003chttps://redis.io/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoyzulkarim%2Frbac-react-redux-aspnetcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoyzulkarim%2Frbac-react-redux-aspnetcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoyzulkarim%2Frbac-react-redux-aspnetcore/lists"}