Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.38 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.38 KB

react-Auth0

This project was bootstrapped with Create React App.

It is a Single Page Application client for the netcore2-Auth0 Web API project. It integrates Auth0 security services in order to access the book list provided by the associated Web API project.

It is the companion code for the article Developing Web Apps with ASP.NET Core 2.0 and React - Part 2.

Running the project

In order to run the project you need to register to Auth0 services, get the security configuration data and put them into the Auth0Config.js file. The netcore2-Auth0 Web API project should be configured and running, too. Then type in a console window the following command to install the project dependencies in the node.js environment:

npm install

Then type the following command to run the application:

npm start

The application will open the default browser and redirect to the Auth0 authentication page. Once you provide a user's valid credentials, you will get access to the book list provided by the netcore2-Auth0 Web API project.