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

https://github.com/tomdoestech/rest-api-with-ui


https://github.com/tomdoestech/rest-api-with-ui

jwt nextjs reactjs refresh-token typescript

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Build a UI for REST API with React.js

## What you will learn
* How cookies work
* How to make network request from a React.js application
* Basic Next.js routing
* Form validation with Zod
* Building forms with react-hook-form

## Minor server refactoring
* Add tokens to cookies
* Add get current user route

## Registration page
* A form for registering a user
* Network request to register a user
## Login page
* A form for logging a user in
* Network request to log the the user in

## Get logged in user
* Network request to get the current user

## What we will use
* Next.js
* SWR
* Axios
* Zod
* react-hook-form

## Let's keep in touch
- [Subscribe on YouTube](https://www.youtube.com/TomDoesTech)
- [Discord](https://discord.gg/4ae2Esm6P7)
- [Twitter](https://twitter.com/tomdoes_tech)
- [TikTok](https://www.tiktok.com/@tomdoestech)
- [Facebook](https://www.facebook.com/tomdoestech)
- [Instagram](https://www.instagram.com/tomdoestech)

[Buy me a Coffee](https://www.buymeacoffee.com/tomn)

[Sign up to DigitalOcean 💖](https://m.do.co/c/1b74cb8c56f4)