• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dukky

dukky

aiTodoApp

Unlisted
Like
aiTodoApp
Home
Code
5
backend
3
frontend
3
shared
1
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
main.tsx
https://dukky--66bbb7183e1a11f09bde76b3cceeab13.web.val.run
README.md

AI-Powered TODO App

A full-stack TODO application with AI-powered task prioritization built on Val Town.

Features

  • βœ… Create, read, update, and delete TODO items
  • πŸ€– AI-powered task prioritization using OpenAI
  • πŸ“± Responsive web interface
  • πŸ’Ύ SQLite database storage
  • 🎯 Priority scoring and recommendations

Project Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ migrations.ts    # Database schema
β”‚   β”‚   └── queries.ts       # Database operations
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ todos.ts         # TODO CRUD operations
β”‚   β”‚   └── ai.ts           # AI prioritization endpoints
β”‚   └── index.ts            # Main Hono server
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.tsx         # Main React app
β”‚   β”‚   β”œβ”€β”€ TodoList.tsx    # TODO list component
β”‚   β”‚   └── TodoForm.tsx    # Add/edit TODO form
β”‚   β”œβ”€β”€ index.html          # HTML template
β”‚   └── index.tsx           # Frontend entry point
β”œβ”€β”€ shared/
β”‚   └── types.ts            # Shared TypeScript types
└── main.tsx                # HTTP entry point

API Endpoints

  • GET /api/todos - Get all todos
  • POST /api/todos - Create a new todo
  • PUT /api/todos/:id - Update a todo
  • DELETE /api/todos/:id - Delete a todo
  • POST /api/ai/prioritize - Get AI prioritization for all todos
  • POST /api/ai/suggest-priority - Get AI priority suggestion for a single todo

Usage

  1. Add your TODO items
  2. Click "AI Prioritize" to get intelligent priority suggestions
  3. View tasks sorted by AI-recommended priority
  4. Mark tasks as complete when done
Code
backendfrontendsharedREADME.md
H
main.tsx
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.