This minimal API with reactJS & BulmaCSS provides users a safe authorization via JSON Web Tokens. Once the user is logged in, each subsequent request will include the JWT, allowing the user to access routes, services, and resources that are permitted with that token.
Clone the repository. You will need node
and npm
on your machine.
To start the app:
Split two terminals;
on one of them write cd backend
npm i
node index.js
,
on the other one write cd frontend
npm i
npm start
.
Register page if anything goes wrong:
If it doesn't you will be redirected to the login page:
Login page if your password is wrong:
Login page if your email is wrong:
With your email and password you will be authorized&redirected into the dashboard: