This is the starter template for the Next.js App Router Course. It contains the starting code for the dashboard application.
For more information, see the course curriculum on the Next.js Website.
This tutorial handles invoice data manipulation (create, update, delete) but I implemented that also for customers data.
Here's what I added to the initial tutorial:
- Implemented server side form validation to invoices and customers forms (tutorial only had form validation for the "create a new invoice" form).
- It's possible to create, delete and update customers (except for photos because I wasn't sure how to handle file upload so I'm just feeding that part from thispersondoesnotexist.com).
- Updated the search feature to include a "No results found for [searched query]" in case no results were returned.
- Removed placeholder prop from forms for accessibility reasons. Read about it here
- Implemented Suspense for the Customers page with its own fallback.
To access the dashboard:
username: [email protected] password: 123456
Anyway, feel free to snoop around and any constructive feedback is very welcome :) .