You’ll set up the application shell (root and dashboard layouts), then render a dashboard with basic statistics from the backend using SWR. You’ll add a read-only tasks list and introduce a small UI library (Button) to keep styling consistent. Finally, you’ll add a toast system and a robust API client to standardize server responses, plus route-level loading and error UI.
Overview
Syllabus
- Unit 1: App Shell and Styling
- Exploring the App Shell and Layouts
- Building the Root Layout
- Highlighting the Active Navigation Link
- Rendering Navigation with map
- Unit 2: Dashboard Stats Overview
- Exploring the Dashboard Stats Page
- Wiring Up the Root Page
- Implementing the API Client
- Fetching and Displaying Dashboard Stats
- Creating the StatCard Component
- Unit 3: Displaying Tasks List
- Exploring the Tasks List Page
- Adding Navigation Buttons to Tasks
- Building a Reusable Button Component
- Fetching and Rendering the Task List
- Displaying Individual Task Details