Track Your Time

April 7, 2026 ยท View on GitHub

A simple, powerful time tracking tool built with Next.js, Prisma, and Better Auth.

Features

  • โฑ One-click timers โ€“ start and stop with a single button
  • ๐Ÿ“ Projects โ€“ organise entries into colour-coded projects
  • ๐Ÿ” Authentication โ€“ sign in with Google or GitHub via Better Auth
  • ๐Ÿ—„ PostgreSQL โ€“ persistent storage with Prisma ORM

Tech stack

LayerTechnology
Web frameworkNext.js 16 (App Router)
LanguageTypeScript
StylingTailwind CSS
ORMPrisma 7
DatabasePostgreSQL 17
AuthenticationBetter Auth 1.x

Quick start

# 1. Install dependencies
npm install

# 2. Configure environment
cp .env.example .env
# Fill in DATABASE_URL, BETTER_AUTH_SECRET, and OAuth credentials

# 3. Start the database
docker compose up -d

# 4. Run migrations
npx prisma migrate dev --name init

# 5. Start the dev server
npm run dev

Open http://localhost:3000.

Documentation

See the docs/ folder for detailed documentation: