Built as a template for mentoring
- Fork this repository
- Clone your forked repository
- Run
yarn
- Duplicate
.env.example
and rename it to.env
- Run
npx prisma migrate reset
, then pressy
to reset database - Run
yarn dev
- You can also run
npx prisma studio
to view the database
Create a product site based on the API provided in /api-tester
You may use any external libraries that you've ever used before.
Design is not important, but it should be functional.
- Display a list of products from the API
/products
- The list should show the product title, description, and price.
- For each product, create 3 buttons for
View
,Edit
,Delete
- Display the product title, description, and price.
- Create a button for
Edit
andDelete
- Display a form with the product title, description, and price.
- Allow the user to create a product using the provided API.
- Display a form with the product title, description, and price.
- The form should be pre-populated with the product data.
- Allow the user to edit the product using the provided API.