Public
Like
my-first-val
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
A delightful habit tracking app featuring a cute animal companion that cheers you on every time you complete a task!
- 📝 Add and manage daily habits
- 🐱 Cute animal companion that reacts to your progress
- ✅ Mark habits as complete with celebratory animations
- 📊 Track your streak and completion stats
- 💾 Persistent storage using SQLite
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ └── index.ts # Main Hono API server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main app component
│ │ ├── AnimalCompanion.tsx # Cute animal companion
│ │ ├── HabitList.tsx # Habit management
│ │ └── AddHabitForm.tsx # Form to add new habits
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
GET /api/habits
- Get all habitsPOST /api/habits
- Create a new habitPUT /api/habits/:id/complete
- Mark habit as completeDELETE /api/habits/:id
- Delete a habit
The app will automatically set up the database on first run. Simply access the HTTP endpoint to start tracking your habits with your adorable animal companion!