Skip to content

TomDoesTech/REST-API-With-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 💖