ToDo application (restful api version)

Full-stack ToDo application as a hands-on project to learn and explore the Next.js ecosystem. The backend exposes RESTful API endpoints through Next.js API Routes, implementing complete CRUD (Create, Read, Update, Delete) operations using Prisma ORM for database access.
Authentication is handled with NextAuth.js, enabling users to sign in with their Google accounts and manage their own personalized ToDo items.
Last but not least, the frontend is built with ShadCN UI components and utilizes TanStack Table for efficient data presentation and management, providing a modern and responsive user experience.

What I've learned?

Note:

  • Because Next.js agressive caching, export const dynamic = 'force-dynamic';and export const revalidate = 0; were added in page.tsx and route.ts in order to work properly. In other words, applicaction didn't notice when db records were added or updated.
  • Prisma ^7.x.x Breaking Change: schema.prisma: datasource db {url: ...} moved to prisma.config.ts: defineConfig() > datasource: {url: ...}

@Todo

  • Implement the D functionality in the CRU 😝
  • Implement a preloader while hit the endpoint

Important!

To create, manage your tasks, you'll need to . Logging in ensures your to-do lists are securely stored and available whenever you return.