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
Buy me a Coffee
Sign up to DigitalOcean 💖