The most complete business management CRM built specifically for Nigerian businesses.
Trackam is a multi-tenant SaaS CRM designed from the ground up for Nigerian enterprises β from solo founders in Aba to large sales teams in Lagos. It replaces the chaos of WhatsApp groups, scattered spreadsheets, and multiple disconnected tools with one unified, powerful platform.
One flat fee. Unlimited everything. No per-seat pricing.
| Module | What it does |
|---|---|
| π§βπΌ Client Management | Store full client profiles, contact history, notes, status, and linked deals/invoices |
| π― Lead Pipeline | Capture prospects, log WhatsApp/phone call updates, track stages, set follow-up reminders |
| πΌ Deal Tracking | Kanban pipeline, deal values in β¦, conversion rates, win/loss reporting |
| β Task Management | Kanban boards, Gantt charts, team assignment, priority levels, progress tracking |
| π§Ύ Naira Invoicing | Generate branded invoices in β¦, send via email, track paid/unpaid status |
| π Analytics Dashboard | Live revenue trends, win rates, team performance, 6-month forecasts |
| π₯ Team Management | Invite team members by email, assign roles (Owner / Admin / User) |
| π Activity Audit Log | Real-time log of every action taken across your workspace |
| π§© Module Store | Unlock POS, HR, Accounting, Projects, and more as your business grows |
Frontend: Next.js 16 (App Router) + React 19 + TypeScript 5
Styling: Tailwind CSS v4
State: Zustand (with persistence)
Database: SQLite (better-sqlite3) in dev β PostgreSQL in production
Auth: JWT (jsonwebtoken) β multi-tenant via subdomain routing
Email: Nodemailer (SMTP) + Resend
Payments: Paystack (Nigerian payment gateway)
PDF: PDFKit (invoice generation)
Deploy: Railway (primary) | Vercel/Netlify (frontend)
- Node.js 18+
- npm or yarn
git clone https://github.com/DEV-RAPHAEL/trackam.git
cd trackamnpm installCreate a .env file in the root:
# App
NEXT_PUBLIC_API_URL=http://localhost:3000
NEXT_PUBLIC_BASE_DOMAIN=localhost
JWT_SECRET=your-super-secret-jwt-key-change-in-production
# Database (leave empty for local SQLite, set for PostgreSQL in prod)
DATABASE_URL=
# SQLite path (optional - defaults to ./trackam-dev.db)
SQLITE_DB_PATH=./trackam-dev.db
# Paystack (Nigerian payment gateway)
NEXT_PUBLIC_PAYSTACK_PUBLIC_KEY=pk_test_your_key_here
PAYSTACK_SECRET_KEY=sk_test_your_key_here
# Email (SMTP or Resend)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your@email.com
SMTP_PASS=your-app-password
# Optional: Resend
RESEND_API_KEY=re_your_key_herenpm run devOpen http://localhost:3000 and you'll see the landing page.
Multi-tenant routing: Each company gets a subdomain (e.g.,
mycompany.localhost:3000). After registering, you'll be redirected automatically.
A platform superadmin is seeded on first run. Access the control panel at /superadmin. Credentials are set securely via database seeds or environment variables.
Uses better-sqlite3 β a simple .db file. No setup required. The database and all tables are auto-created on first API call.
Set DATABASE_URL in your environment to a PostgreSQL connection string. The app automatically switches to pg and provisions all tables on first boot.
DATABASE_URL=postgresql://user:password@host:5432/dbname- Push your code to GitHub
- Create a new project on Railway.app
- Connect your GitHub repo
- Add a PostgreSQL service to your project
- Link
DATABASE_URLfrom Postgres to your Next.js service - Add your other env variables (JWT_SECRET, PAYSTACK keys, etc.)
- Deploy! π
- In Railway, go to your service β Volumes β Add Volume
- Mount path:
/app/data - Set env var:
SQLITE_DB_PATH=/app/data/trackam.db - Deploy!
Yes, Railway supports custom domains! Go to:
Your Service β Settings β Networking β Custom Domain
Add your domain (e.g., trackam.ng) and point your DNS records as instructed. Railway provides a free TLS/SSL certificate automatically.
Each company gets:
- An isolated subdomain (e.g.,
nova-labs.trackam.ng) - All data scoped by
company_idβ no cross-company data leakage - Middleware routing handles subdomain detection on every request
trackam.ng β Marketing landing page
app.trackam.ng β (Optional: main app redirect)
nova-labs.trackam.ng β Nova Labs Workspace
techbridge.trackam.ng β TechBridge Solutions Workspace
trackam-next/
βββ app/
β βββ (dashboard)/ # Authenticated app routes
β β βββ dashboard/ # Main analytics dashboard
β β βββ clients/ # Client management
β β βββ leads/ # Lead pipeline + detail pages
β β βββ deals/ # Deal tracking
β β βββ tasks/ # Task management
β β βββ invoices/ # Invoice generation
β β βββ settings/ # Company & team settings
β β βββ modules/ # Module store
β βββ api/ # Next.js Route Handlers (REST API)
β βββ login/ # Auth pages
β βββ register/
β βββ onboarding/ # Guided setup flow
β βββ superadmin/ # Platform admin panel
βββ components/ # Shared UI components
βββ lib/
β βββ db.ts # Database abstraction (SQLite β PostgreSQL)
β βββ store.ts # Zustand global state
β βββ auth.ts # JWT auth helpers
β βββ mailer.ts # Email sending
β βββ pdf-generator.ts # Invoice PDF generation
βββ types/
βββ index.ts # Shared TypeScript types
Trackam ships with a modular architecture. The core CRM is always available. Additional business modules can be unlocked from the Module Store:
| Module | Status | Price |
|---|---|---|
| POS System | Available | β¦49,000 |
| HR Management | Coming Soon | β¦99,000 |
| Accounting | Coming Soon | β¦79,000 |
| Project Tracker | Available | β¦39,000 |
| Support Tickets | Coming Soon | β¦29,000 |
This is a proprietary project. For bug reports or feature requests, please open an issue.
Proprietary β All rights reserved. Β© 2025 Trackam. Unauthorized copying, modification, or distribution is prohibited.
Built with β€οΈ in Nigeria π³π¬