team01-6f - Adding the Index and Details Pages
In this step, you’ll add:
- a file similar to
RestaurantIndexPage.js
that provides a page for listing restaurants, as well as buttons to Create, see the Details for, Update or Delete a restaurant. - a file similar to
RestaurantIndexPage.test.js
that provides test coverage for the Index page. - a file similar to
RestaurantDetailsPage.js
that provides a page for showing a single restaurant. - a file similar to
RestaurantDetailsPage.test.js
that provides test coverage for the Details page.
Arguably, we should also perhaps add a storybook entries for the RestaurantIndexPage
and RestaurantDetailsPage
. We’ll omit that from this assignment, but we’ll be sure to include in future assignments.
Understanding frontend/src/main/pages/Restaurants/RestaurantIndexPage.js
Coming soon!
Understanding frontend/src/tests/pages/Restaurants/RestaurantIndexPage.test.js
Coming soon!
Understanding frontend/src/main/pages/Restaurants/RestaurantDetailsPage.js
Coming soon!
Understanding frontend/src/tests/pages/Restaurants/RestaurantDetailsPage.test.js
Coming soon!