A full-stack, offline-capable TODO application with a premium aesthetic, built with Hono (Backend) and Next.js (Frontend).
- Offline Support: Create, update, and delete tasks while offline. Data is persisted locally using IndexedDB.
- Background Sync: Changes made offline are automatically synchronized with the backend when the network is restored.
- Premium UI: Modern, responsive design with glassmorphism effects and real-time network status indicators.
- PWA Ready: Installable as a Progressive Web App for a native-like experience.
todo/
├── backend/ # Hono + MongoDB API
└── frontend/ # Next.js + PWA Frontend-
Clone the repository:
git clone <repository-url> cd todo
-
Backend Setup:
cd backend bun install # Create a .env file with appropriate variables (MONGO_URI, JWT_SECRET, etc.) bun run dev
-
Frontend Setup:
cd ../frontend bun install # Create a .env file with NEXT_PUBLIC_API_URL bun run dev
- Frontend: http://localhost:3001 (check
package.jsonfor default port) - Backend: http://localhost:3000
# Frontend
cd frontend
bun run build
bun run start