https://github.com/theodorusclarence/revision-mentorship
https://github.com/theodorusclarence/revision-mentorship
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/theodorusclarence/revision-mentorship
- Owner: theodorusclarence
- Created: 2023-08-19T10:22:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T09:52:10.000Z (almost 2 years ago)
- Last Synced: 2025-03-24T08:47:46.703Z (7 months ago)
- Language: TypeScript
- Homepage: https://revision-mentorship.thcl.dev/
- Size: 1.05 MB
- Stars: 0
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Revision-Style Mentorship Template
Built as a template for mentoring
## Getting Started
1. Fork this repository
2. Clone your forked repository
3. Run `yarn`
4. Duplicate `.env.example` and rename it to `.env`
5. Run `npx prisma migrate reset`, then press `y` to reset database
6. Run `yarn dev`
7. You can also run `npx prisma studio` to view the database## Brief
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.
### Products Listing Page
1. Display a list of products from the API `/products`
2. The list should show the product title, description, and price.
3. For each product, create 3 buttons for `View`, `Edit`, `Delete`### Product Details Page
1. Display the product title, description, and price.
2. Create a button for `Edit` and `Delete`### Product Create Page
1. Display a form with the product title, description, and price.
2. Allow the user to create a product using the provided API.### Product Edit Page
1. Display a form with the product title, description, and price.
2. The form should be pre-populated with the product data.
3. Allow the user to edit the product using the provided API.