Skip to content

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

License

Notifications You must be signed in to change notification settings

foyzulkarim/rbac-react-redux-aspnetcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to React Redux JWT Authentication using ASP.NET Core API !

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

Installation and Run

Install the dependencies and devDependencies and start the server.

To run Auth server

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

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

http://localhost:5000/

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.

http://localhost:5005/

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

IMAGE ALT TEXT

Todos

  • Write tests
  • Add nodejs resource server

License

MIT

About

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

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published