• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
magadjiya

magadjiya

Accountability_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 milliseconds.
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
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.