aceinthedeck / React-JWT-Login

React login page using JWT

Home Page:https://aceinthedeck.com/reactjs-and-jwt-login/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React JWT Login

This project contains a simple login form which uses an API at the backend and the API uses JWT for authentication
The related blog post is https://www.aceinthedeck.com/reactjs-and-jwt-login/ which explains this project.

An example API in Dotnet core is here.
and related blog post is https://aceinthedeck.com/json-web-token-jwt-authentication-using-asp-net-core-api/

Changing the API

If you want to change the api you need to change the API_URL variable in App.js file.

##Starting the project

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

About

React login page using JWT

https://aceinthedeck.com/reactjs-and-jwt-login/

License:MIT License


Languages

Language:JavaScript 81.5%Language:HTML 15.1%Language:CSS 3.4%