Open-source-ready attendance and member management for churches, youth ministries, nonprofits, and community teams.
DatSer is a fast, offline-resilient attendance tracking and member-management dashboard built with React, Vite, and Supabase. Born out of real-world church and youth ministry workflows in Ghana, DatSer replaces fragile spreadsheets and complex enterprise software with a streamlined, secure system designed for fast Sunday check-ins, durable member registries, and multi-team collaboration.
Many local churches, youth fellowships, community organizations, and small nonprofits struggle with attendance tracking. They are often caught between two extremes:
- Fragile Spreadsheets & Paper Rosters: Manual paper lists are easily misplaced, and multi-tab spreadsheets are prone to duplicate rows, accidental overwrites, formatting corruption, and zero mobile offline reliability.
- Expensive Enterprise Church Management Systems: Bulky, costly platforms designed for large Western institutions that require high monthly subscriptions, complex onboarding, and constant high-speed connectivity.
DatSer solves this problem by providing a lightweight, purpose-built dashboard that works seamlessly on desktop browsers, mobile screens, and Android devices—even when internet access is spotty or unavailable during services.
- Instant Marking: Mark members present or absent with single-tap controls and instant summary counters.
- Sunday Service Calendar: Automatically identifies and tracks Sunday services across any calendar month.
- Missing-Data Prompts: Optional guided reminders to collect important missing member profile details (phone, level, etc.) during check-in.
- Instant Search: Real-time filtering across member names, phone numbers, unique member codes, and custom tags.
- Rich Profiles: Track full names, contact info, school/work level, date of birth, emergency contacts, and attendance history.
- Cross-Month Lookup: Search and present members from historical month tables without manual re-entry.
- Dedicated Monthly Rosters: Organizes records into distinct monthly attendance relations (e.g.,
January_2026,August_2026). - Workspace Security: Complete tenant data isolation powered by PostgreSQL Row Level Security (RLS).
- Collaborator Team Access: Securely invite team members and volunteers with owner-controlled permissions.
- Local Caching: Download active workspace and month data locally via IndexedDB.
- Offline Queue: Continue marking attendance without internet connectivity on mobile or desktop.
- Conflict-Safe Sync: Automatically syncs queued records upon reconnection with server-side conflict verification.
- Monotonic Alphanumeric Codes: Deterministic member code generation (e.g.,
A01,001,AAA) unique per workspace. - Printable Badges & QR Passes: Generate badges and evergreen QR codes for fast scanner check-in.
- Roster Scanning: Digitize handwritten paper attendance sheets using device camera or image upload.
- Compare & Correct Review: Visual side-by-side verification interface to confirm OCR/AI extraction before saving.
- Durable Batch Saves: Server-authoritative step execution with idempotent retry protection.
- Attendance Insights: Review attendance trends, gender breakdowns, and regular vs. newcomer ratios.
- CSV Data Export: Export filtered member rosters and monthly attendance logs to standard CSV files.
- Capacitor Integration: Packaged as an Android APK with offline asset bundling.
- Private Release Management: In-app APK updates with Supabase Storage and version tracking.
- Visual Themes: Built-in Light and Dark modes.
- Typography Support: Scalable font sizing and dedicated OpenDyslexic font support for enhanced readability.
DatSer handles real-world community and member data. The platform is engineered with a security-first architecture:
- Row Level Security (RLS) as Primary Boundary: Database queries and mutations strictly enforce PostgreSQL RLS policies tied to authenticated user IDs and verified workspace collaborator roles.
- Deterministic Transactional Advisory Locking: Critical operations (e.g., member code allocations, paper scan batch commits) use
pg_advisory_xact_lockto eliminate concurrency races and dual-ownership collisions. - Provenance Verification: Strict database constraints and migration-level integrity guards prevent orphaned or cross-workspace member adoption.
- Automated Quality Verification: Comprehensive automated test coverage spanning frontend components, state management, offline sync coordinators, and PostgreSQL migration security invariants.
| Layer | Technology |
|---|---|
| Frontend Framework | React 18 + Vite |
| Styling | Tailwind CSS + PostCSS + Custom Design Tokens |
| Backend & Database | Supabase (PostgreSQL 17, PostgREST, Auth, Realtime, Storage) |
| Client Storage | IndexedDB + localStorage |
| Mobile Runtime | Capacitor (Android) |
| Icons | Lucide React |
| Testing | Vitest, React Testing Library, Playwright |
- Node.js (v18.0.0 or higher recommended)
- npm (v9.0.0 or higher)
- A Supabase project (or local Supabase instance)
-
Clone the repository:
git clone https://github.com/diallobeniah-max/DatSer.git cd DatSer -
Install dependencies:
npm install
-
Configure Environment Variables: Copy
.env.exampleto.env.local:cp .env.example .env.local
Fill in your Supabase credentials:
VITE_SUPABASE_URL=https://your-project-id.supabase.co VITE_SUPABASE_ANON_KEY=your-anon-public-key VITE_SUPABASE_REDIRECT_URL=http://localhost:5173
-
Start Local Development:
npm run dev
Open http://localhost:5173 in your browser.
DatSer includes automated unit, integration, migration, and smoke-test coverage.
# Run automated Vitest test suite
npm test
# Run code style & static analysis check
npm run lint
# Verify production Vite build bundle
npm run build
# Run Playwright smoke tests
npm run test:smokeDetailed guides and architecture specifications are available in the repository:
- 📶 Offline Mode Architecture — IndexedDB queuing, synchronization, and conflict resolution.
- 📱 Android APK Guide — Capacitor setup, local bundling, and APK compilation.
- 🔄 In-App Updates — Private APK update distribution via Supabase Storage.
- ♿ Accessibility Features — High contrast, font scaling, and OpenDyslexic support.
- 🔒 Security Policy — Vulnerability reporting and security architecture.
- 🤝 Contributing Guidelines — Code standards, PR workflow, and quality rules.
DatSer is actively developed and maintained for local ministry operations. Ongoing areas of development include:
- Fast Sunday attendance tracking & real-time search
- Multi-month workspace isolation with PostgreSQL RLS
- Offline-first IndexedDB sync coordinator
- Paper Scan OCR extraction & compare-and-correct workflow
- Deterministic member-code allocation & advisory locking
- Automated multi-service attendance reporting (Morning / Evening sessions)
- Enhanced SMS and parent notification integrations
DatSer is open-source software licensed under the MIT License.
