untitled-2610
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.
index.ts
https://val_vic1--73cf66963f4311f09f8b76b3cceeab13.web.val.run
A modern daily planning application with user authentication, task management, and achievement tracking.
- Onboarding/Login Screen: User registration and login with name and username
- Task Management: Create, complete, and manage daily tasks with satisfying animations
- Achievements: Track completed tasks and view accomplishments
- Responsive Design: Works on desktop and mobile devices
- Mature & Friendly UI: Professional color scheme with engaging interactions
βββ backend/
β βββ index.ts # Main Hono server
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Database operations
β βββ routes/
β βββ auth.ts # Authentication routes
β βββ tasks.ts # Task management routes
β βββ static.ts # Static file serving
βββ frontend/
β βββ index.html # Main HTML template
β βββ index.tsx # React app entry point
β βββ components/
β β βββ App.tsx # Main app component
β β βββ LoginScreen.tsx
β β βββ TaskScreen.tsx
β β βββ AchievementsScreen.tsx
β βββ style.css # Custom styles
βββ shared/
βββ types.ts # Shared TypeScript types
- Backend: Hono.js with SQLite database
- Frontend: React with TypeScript
- Styling: TailwindCSS with custom animations
- Storage: SQLite for user data and tasks
The application uses a mature yet friendly color palette:
- Primary: Sage green (#6B7280, #10B981)
- Secondary: Warm gray (#F3F4F6, #E5E7EB)
- Accent: Soft blue (#3B82F6)
- Success: Emerald green (#059669)