https://github.com/iwatanikenji/nextauth
NextJS app that uses authentication functionality and save tokens on cookies
https://github.com/iwatanikenji/nextauth
authentication axios chakra-ui cookies jwt nextjs
Last synced: about 1 month ago
JSON representation
NextJS app that uses authentication functionality and save tokens on cookies
- Host: GitHub
- URL: https://github.com/iwatanikenji/nextauth
- Owner: iwataniKenji
- Created: 2022-04-29T13:06:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-12T23:41:25.000Z (about 4 years ago)
- Last Synced: 2025-04-09T09:39:18.864Z (about 1 year ago)
- Topics: authentication, axios, chakra-ui, cookies, jwt, nextjs
- Language: TypeScript
- Homepage:
- Size: 316 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NEXT AUTH
Summary
📙 About
🖼️ Preview
📖 How to Start
💡 Features
💻 Technologies
✔️ FeedGet project finished ✔️
📙 About
Nextauth is a project focused on the authentication functionality which can be use as supplementary function on other apps. It saves tokens on cookies and redirects the user when logout the application.
This project is originally created on Ignite from Rocketseat and made by Kenji Iwatani
---
🖼️ Preview

---
📖 How to Start
Starting this repository
```bash
# Clone this repository
$ git clone https://github.com/iwataniKenji/feedget
# Access the project directory
$ cd feedget
```
Server
```bash
# Access the "server" folder
$ cd server
# Install dependencies
$ yarn
# Start the server
$ yarn dev
```
Web
```bash
# Access the "web" folder
$ cd web
# Install dependencies
$ yarn
# Start the application
$ yarn dev
```
---
💡 Features
- [x] Declarative interface with Chakra UI
- [x] Props usage through contexts
- [x] Axios implementation to set communication between front and backend
- [x] Saves tokens on cookies
- [x] Recovers authentication state
- [x] Redirects to home page when user logout
---
💻 Technologies
- [x] NextJS
- [x] React
- [x] Typescript
- [x] Chakra UI
- [x] JWT
- [x] Axios
- [x] Nookies