Skip to content
suprieyagtm10Public

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CareRoster Manager

A Next.js roster management app for aged-care teams. Supabase is now used for authentication, sessions and database storage.

Setup

  1. Install dependencies:
pnpm install
  1. Create a Supabase project.

  2. In Supabase SQL Editor, run:

-- paste the contents of supabase/schema.sql
  1. Create .env.local in the project root:
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
  1. Run the app:
pnpm dev
  1. Sign up at /auth/signup, confirm your email if email confirmation is enabled in Supabase, then log in at /auth/login.

What works

  • Protected dashboard routes through Supabase sessions and middleware
  • Login, signup and sign out
  • Staff add/edit/status updates
  • Roster shift create/edit/delete
  • Staff shift assignment/removal
  • Leave create/edit/approve/reject/delete
  • Dashboard and reports using Supabase data

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages