Skip to content

boolean-uk/react-hire-router

Repository files navigation

Hired Router

Get Started

  • Fork and clone this repo
  • Run npm ci
  • Run npm run dev

Instructions

  • Look at the components you have been given
  • Practice useEffect
  • Implement React Router (package name: react-router-dom) to deliver on the deliverables
  • Use the official React Router documentation to help you

Deliverables

  • A user can visit a "/" route (Dashboard) that shows a list of 50 people from https://randomuser.me/documentation and an empty hired list
  • A user can click a link to view the person's profile
  • A user can visit a "/view/:id" route to view a person's profile
  • When a user clicks "Hire" they should be redirected to the dashboard AND see the person they've hired in the hired column

Extensions

  • A user can click "Edit" in the hired column
  • A user can edit the page of the hired person AND be redirected to the dashboard and see those changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published