Hammer c965fdd06f
All checks were successful
CI/CD / check (push) Successful in 51s
CI/CD / deploy (push) Successful in 1s
fix: resolve TypeScript errors for CI - add auth middleware plugin
- Create shared authMiddleware plugin with scoped derive for proper type propagation
- Each route file now uses authMiddleware instead of relying on parent derive
- Fix error handler to use instanceof Error checks for message/stack access
- Fix null vs undefined type mismatch in hammer route auth validation
- Fix invite role type assertion for enum compatibility
- Fix test type assertions to avoid impossible comparisons
2026-01-30 02:57:07 +00:00
2026-01-28 14:02:15 +00:00
2026-01-28 14:02:15 +00:00
2026-01-29 23:18:08 +00:00
2026-01-28 14:02:15 +00:00

Todo App

A Todoist-inspired task management app with API access for Hammer (AI assistant).

Tech Stack

Backend (apps/api)

  • Runtime: Bun
  • Framework: Elysia
  • Database: PostgreSQL + Drizzle ORM
  • Auth: better-auth (invite-only)
  • Jobs: pg-boss (reminders, notifications)
  • Email: Resend

Frontend (apps/web)

  • Framework: React + Vite
  • Styling: TailwindCSS + shadcn/ui
  • Data: TanStack Query
  • Routing: React Router
  • State: Zustand

Features

  • Tasks with priorities, due dates, descriptions
  • Projects and sections
  • Sub-tasks
  • Labels (cross-project tagging)
  • Recurring tasks
  • Reminders
  • Comments with attachments
  • Custom filters
  • Today / Upcoming / Board views
  • Invite-only user management
  • Hammer API (AI assistant integration)

Development

# Install dependencies
cd apps/api && bun install
cd apps/web && bun install

# Start API
cd apps/api && bun run dev

# Start Web
cd apps/web && bun run dev

Deployment

  • Domain: todo.donovankelly.xyz
  • Server: Hostinger VPS

API Endpoints

Hammer API

POST   /api/hammer/tasks     - Create task assigned to Hammer
GET    /api/hammer/tasks     - Get Hammer's assigned tasks
PATCH  /api/hammer/tasks/:id - Update/complete task
POST   /api/hammer/webhook   - Register notification webhook
Description
Full-stack todo application with BetterAuth
Readme 218 KiB
Languages
TypeScript 96.5%
CSS 1.8%
Dockerfile 1%
JavaScript 0.4%
HTML 0.3%