Public
Like
task_manager
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://flumadi--f492857a3f3811f0a08976b3cceeab13.web.val.run
A beautiful and dynamic task management application with user authentication.
- User registration and login
- Add, view, and delete tasks
- Beautiful UI with blue, white, and green theme
- Smooth animations and transitions
- Creative fonts and icons
- Responsive design
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── auth.ts # Authentication routes
│ │ └── tasks.ts # Task management routes
│ └── index.ts # Main backend entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main app component
│ │ ├── Auth.tsx # Login/signup forms
│ │ └── TaskManager.tsx # Task management interface
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
- Blue: Primary color for headers and accents
- White: Background and text
- Green: Action buttons (add, save, etc.)
- Red: Delete buttons
- Light variants: Hover effects with 0.03s transitions
- Backend: Hono + SQLite
- Frontend: React + TypeScript
- Styling: TailwindCSS + Custom CSS
- Icons: Emoji icons for creative appeal
- Fonts: Google Fonts (Poppins, Inter)
- User registration with username, email, and password
- Secure login system with session management
- Password hashing for security
- Automatic session validation
- Beautiful login/signup forms with validation
- Create tasks with title, description, and priority levels
- Mark tasks as completed/pending
- Delete tasks with confirmation
- Priority system (Low 🟢, Medium 🟡, High 🔴)
- Task statistics dashboard
- Real-time updates
- Color Theme: Blue (#2563eb), White (#ffffff), Green (#16a34a), Red (#dc2626)
- Hover Effects: 0.03s transition duration with lighter color variants
- Creative Fonts: Poppins for headings, Inter for body text
- Icons: Emoji-based icons throughout the interface
- Animations: Fade-in and slide-in effects for smooth interactions
- Responsive Design: Mobile-friendly layout
- SQLite database with proper schema design
- RESTful API endpoints
- Session-based authentication
- Error handling and user feedback
- Loading states and empty states
- Form validation
- Real-time task updates
POST /api/auth/register
- User registrationPOST /api/auth/login
- User loginPOST /api/auth/logout
- User logoutGET /api/auth/me
- Get current user
GET /api/tasks
- Get user's tasksPOST /api/tasks
- Create new taskPATCH /api/tasks/:id/complete
- Toggle task completionDELETE /api/tasks/:id
- Delete task
- The app is ready to use at the provided URL
- Register a new account or login with existing credentials
- Start creating and managing your tasks!
The app follows a modern, clean design with:
- Intuitive user interface
- Smooth animations and transitions
- Clear visual hierarchy
- Accessible color contrasts
- Mobile-first responsive design
- Creative use of emojis for visual appeal