Skip to content

Commit c14abf4

Browse files
Update README.md
api formatting
1 parent e410310 commit c14abf4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ Fork this repo to get started. We've provided a starter project for you with Rea
2323

2424
1. Mock ecommerce API
2525

26-
Using the api route feature in mock a route for getting a list of favorite items and a route for getting details of an item from its ID. We've provided a json file with mock data to use called `data.json`. Feel free to modify it or add to it if you wish.
26+
Using the api route feature in NextJS mock the following routes:
27+
* Getting a list of favorite items
28+
* Getting details of an item from its ID
29+
30+
We've provided a json file with mock data to use called `data.json`. Feel free to modify it or add to it if you wish. Though we are't expecting you to do error handling, you may add error responses to the api if you have time.
2731

2832
2. Make three pages using NextJS App Router format. Implement a root layout and individual layout files where needed.
2933

0 commit comments

Comments
 (0)