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
- Host: GitHub
- URL: https://github.com/tomdoestech/rest-api-with-ui
- Owner: TomDoesTech
- Created: 2021-10-14T22:06:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-02T08:48:46.000Z (over 4 years ago)
- Last Synced: 2025-04-08T08:46:27.787Z (about 1 year ago)
- Topics: jwt, nextjs, reactjs, refresh-token, typescript
- Language: TypeScript
- Homepage: https://youtu.be/oSz23pPBpFY
- Size: 219 KB
- Stars: 22
- Watchers: 2
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)