Skip to content

Repository files navigation

Task Tracker

A team task management web app built with Next.js and Supabase.

Features

  • Three user roles — Super Management, Management, and Workers
  • Multi-team support — managers can belong to multiple teams simultaneously
  • Task lifecycle — create, assign, track, and complete tasks with priority and due dates
  • Worker accounts — management creates worker accounts with forced password change on first login
  • Team scoping — managers only see tasks and workers within their teams

Roles

Role Can Do
Super Management Create teams, create managers, assign managers to teams, see all data
Management Create tasks and workers within their teams, view team dashboards
Worker View assigned tasks, update status (In Progress / Complete / Can't Complete)

Tech Stack

Getting Started

Prerequisites

  • Node.js 18+
  • A Supabase project

1. Install dependencies

npm install

2. Configure environment variables

Copy .env.local.example to .env.local and fill in your Supabase credentials:

NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key

3. Set up the database

Run the SQL schema in your Supabase SQL editor (see supabase/ directory).

4. Start the dev server

npm run dev

Open http://localhost:3000.

5. Create your first account

Navigate to /setup to create the Super Management account. This can only be done once.

Setup Flow

  1. /setup — create the Super Management account
  2. /management/teams/new — create one or more teams
  3. /management/team/new — create managers and assign them to a team
  4. Team detail page — use "Add Existing" to assign a manager to additional teams
  5. /management/workers/new — add workers, select their team
  6. /management/tasks/new — create tasks, select team and assign to a worker

Known Issues

  • npm run build fails due to a bug in Next.js 16.2.6 (InvariantError: Expected workStore to be initialized). Dev mode works fine. Watch for a fix in 16.2.7+.

About

Allows management to setup task and monitor the progress of these tasks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages