Vercel App: https://nextjs-dashboard-viswaksenas-projects.vercel.app
- Email: user@nextmail.com
- Password: 123456
This is a full-stack web application built using Next.js and Tailwind CSS, designed for creating, editing, and deleting invoices for customers. The application provides a dashboard where users can manage their invoices, check amounts, and monitor the status of each invoice. The application is connected to a PostgreSQL database to store the invoice data.
- Created a new Next.js application using the dashboard starter example.
- Explored the project structure and files.
- Styled the Next.js application with Tailwind and CSS modules.
- Optimized fonts and images with the Next.js built-in components.
- Created the dashboard routes and a shared layout that can be shared between multiple pages.
- Learned how to use the
<Link>
component to navigate between pages.
- Set up a database for your application and seeded it with initial data.
- Learned about the different ways to fetch data in Next.js.
- Fetched data for your dashboard page using Server Components.
- Understood how rendering works in Next.js.
- Made your dashboard app dynamic.
- Improved your application's loading experience with streaming and loading skeletons.
- Explored Partial Prerendering and how it works.
- Added search and pagination to your dashboard application using Next.js APIs.
- Mutated data using React Server Actions.
- Revalidated the Next.js cache.
- Handled errors gracefully with
error.tsx
andnotFound
.
- Implemented server-side form validation.
- Improved accessibility in your forms.
- Added authentication to protect your dashboard routes using NextAuth.js, Server Actions, and Middleware.
- Learned how to add metadata to your Next.js application.
- Clone the repository
https://github.com/Viswaksena-J/nextjs-dashboard.git
- Open terminal and run the following commands
cd nextjs-dashboard
npm i
npm run dev