12ce70e49562c642c0b6cbe460adba9eb8389b86
- Add try-catch blocks to all server actions with retry logic - Implement exponential backoff retry mechanism for database operations - Add input validation to all server actions - Create ErrorBoundary component for React error handling - Add page-level error handlers (error.tsx, global-error.tsx) - Add route-specific error pages for list and item routes - Enhance database connection with graceful error handling - Add user-friendly error messages throughout the application - Implement proper error logging for debugging Task: 16. Implement error handling Requirements: All (error handling is cross-cutting)
Ultimate Lists App
A powerful, self-hosted todo list application built with Next.js that works as a Progressive Web App (PWA).
Features
- 📱 Works as a Safari web app (no App Store needed)
- 🗄️ Self-hosted with SQLite database
- ✅ Multiple lists with custom colors
- 📋 Rich todo items with descriptions, priorities, and due dates
- 🎨 Clean, responsive design
- ⚡ Fast server-side rendering
Getting Started
- Install dependencies:
npm install
- Set up the database:
npm run db:push
- Run the development server:
npm run dev
- Open http://localhost:3000 in Safari
Adding to Home Screen (Safari)
- Open the app in Safari
- Tap the Share button
- Select "Add to Home Screen"
- The app will now work like a native app!
Deployment
Build for production:
npm run build
npm start
The app uses SQLite, so no external database setup is required.
Tech Stack
- Next.js 14 - React framework with App Router
- Prisma - Database ORM
- SQLite - File-based database
- Tailwind CSS - Styling
- TypeScript - Type safety
- Lucide React - Icons
Description
Languages
TypeScript
93.4%
JavaScript
4.4%
HTML
1.5%
CSS
0.6%