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 milliseconds.
https://Onujules--cb6507083fb611f091f176b3cceeab13.web.val.run
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!
Cron
Email