An open API service indexing awesome lists of open source software.

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

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

nextauth overview

---

📖 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