FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
magadjiya
magadjiyaAccountability_Tracker
Public
Like
Accountability_Tracker
Home
Code
4
backend
3
frontend
2
shared
1
README.md
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 miliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://magadjiya--ef64f56c3fae11f0a97d76b3cceeab13.web.val.run
README.md

Goal Tracker App

A comprehensive goal tracking application that allows users to set goals over specific time periods and track their progress through daily checklists.

Features

  • Goal Management: Create, edit, and delete goals with custom time periods
  • Daily Checklists: Mark daily progress for each active goal
  • Progress Tracking: Visual progress indicators and completion statistics
  • Goal History: View completed and archived goals
  • Responsive Design: Works on desktop and mobile devices

Project Structure

├── backend/
│   ├── database/
│   │   ├── migrations.ts    # Database schema setup
│   │   └── queries.ts       # Database query functions
│   ├── routes/
│   │   ├── goals.ts         # Goal CRUD operations
│   │   └── checklist.ts     # Daily checklist operations
│   └── index.ts             # Main Hono server
├── frontend/
│   ├── components/
│   │   ├── App.tsx          # Main application component
│   │   ├── GoalForm.tsx     # Goal creation/editing form
│   │   ├── GoalCard.tsx     # Individual goal display
│   │   └── DailyChecklist.tsx # Daily progress tracking
│   ├── index.html           # Main HTML template
│   └── index.tsx            # Frontend entry point
└── shared/
    └── types.ts             # Shared TypeScript interfaces

API Endpoints

  • GET /api/goals - Get all goals
  • POST /api/goals - Create a new goal
  • PUT /api/goals/:id - Update a goal
  • DELETE /api/goals/:id - Delete a goal
  • GET /api/checklist/:goalId - Get checklist entries for a goal
  • POST /api/checklist - Mark daily progress
  • GET /api/stats/:goalId - Get goal statistics

Database Schema

Goals Table

  • id (INTEGER PRIMARY KEY)
  • title (TEXT)
  • description (TEXT)
  • start_date (TEXT)
  • end_date (TEXT)
  • created_at (TEXT)
  • status (TEXT) - 'active', 'completed', 'paused'

Checklist Entries Table

  • id (INTEGER PRIMARY KEY)
  • goal_id (INTEGER)
  • date (TEXT)
  • completed (BOOLEAN)
  • notes (TEXT)
  • created_at (TEXT)

Getting Started

  1. The app will automatically set up the database on first run
  2. Navigate to the root URL to start using the application
  3. Create your first goal and start tracking daily progress!
HTTP
  • index.ts
    magadjiya--ef…13.web.val.run
Code
backendfrontendsharedREADME.md
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.