A comprehensive productivity app that combines task management with daily habit tracking.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── todos.ts # To-do CRUD operations
│ │ └── habits.ts # Habit tracking operations
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main app component
│ │ ├── TodoList.tsx # To-do list component
│ │ ├── HabitTracker.tsx # Habit tracker component
│ │ └── Navigation.tsx # App navigation
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
├── shared/
│ └── types.ts # Shared TypeScript types
└── README.md
GET /api/todos - Get all todosPOST /api/todos - Create new todoPUT /api/todos/:id - Update todoDELETE /api/todos/:id - Delete todoGET /api/habits - Get all habitsPOST /api/habits - Create new habitPUT /api/habits/:id - Update habitDELETE /api/habits/:id - Delete habitGET /api/habits/:id/completions - Get habit completionsPOST /api/habits/:id/completions - Mark habit as completed for a dateDELETE /api/habits/:id/completions/:date - Remove habit completionThis app runs on Val Town. The main entry point is backend/index.ts which serves both the API and the frontend.