BrunoSSantana / auth-jwt-fullstack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auth with jwt ⬇

The objective of this project is to practice creating an application with user creation and route authentication with jwt, creating both the backend part with nodejs and express, and the frontend part, with reactjs.

functionality

  • User creation
  • Login
  • Route authentication with jwt
  • Refresh token

Development setup

yarn is required

  • Clone repository
  • Configure the database by adding the environment variables to a .env file as shown in the .env.local file example

frontend

  • Run yarn in frontend folder
  • Run yarn start
  • Open Insomnia or Postman and import the Insomnia.json workspace file at server folder

backend

  • Run yarn in frontend folder
  • Run yarn dev

License

MIT License

About

License:MIT License


Languages

Language:JavaScript 46.0%Language:TypeScript 44.3%Language:SCSS 4.9%Language:HTML 3.5%Language:Shell 1.3%