Skip to content

Repository files navigation

Run locally

Run dev server:

clone repo
npm i
npm run dev

Don't forget to comment this lines in `next.config.ts` !

  output: 'export',
  basePath: '/testovoe-react-app',
  assetPrefix: '/testovoe-react-app',

What I've done

/products

  • Display the full list of products
  • The product card should have a like icon. Clicking on it toggles the like status. The icon should be highlighted when liked.
  • The product card should have a delete icon. Clicking it removes the card.
  • Add a filter to view all cards or only the favorite card
  • The card content (text) should be truncated so that all cards have the same height
  • Clicking anywhere on the card (except the like icon or delete button) should navigate to the product's separate page

/products/:id

  • Show detailed information about the product
  • Add a button to return to the main page

/create

  • Implement product creation
  • Create a form with mandatory fields and minimal validation
  • On form submission, save data to the global store

Bonuses

  • Implement pagination for the list
  • Implement the ability to edit product cards
  • Implement additional filtering
  • Implement search (without a submit button)

Releases

Packages

Contributors

Languages