In this chapter, we learnt how to create a complete authentication, authorization and refresh token method in React and Next.js which allows controlling access to routes and components based on client-side and server-side.
# Clone the project
$ git clone https://github.com/Joseane-Guedes/nextauth.git
# Go to the project directory
$ cd nextauth
# Install dependencies
$ yarn
# Run the development server
$ yarn dev
# Navigate to http://localhost:3000
# Clone the project
$ git clone https://github.com/Joseane-Guedes/ignite-reactjs-auth-backend.git
# Go to the project directory
$ cd ignite-reactjs-auth-backend
# Install dependencies
$ yarn
# Run the development server
$ yarn dev
Made with 💜 by Rocketseat 🚀 and Joseane Guedes 👩💻