You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,11 @@ Fork this repo to get started. We've provided a starter project for you with Rea
23
23
24
24
1. Mock ecommerce API
25
25
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.
27
31
28
32
2. Make three pages using NextJS App Router format. Implement a root layout and individual layout files where needed.
0 commit comments