Client work · Feb 2026 — Present
COLAT
A web platform for managing members, volunteers and pastoral care for Iglesia Cristiana Camino de Libertad y Amor (ICCLA) — in production since April 2026.
- v1 · Released
- In production since April 2026
- Real client: ICCLA
- Actively maintained
- Role
- Full-stack developer & sole technical owner
- Team
- Solo
- Client
- ICCLA
- Period
- Feb 2026 — Present
- Category
- Client work
- Code
- Private client work
The problem and the value
Iglesia Cristiana Camino de Libertad y Amor coordinates its volunteers, its events and the care it gives to the people it serves across several service teams. Before COLAT, that information was scattered: it got lost, it was hard to look up, there was no record of who did what, and there was no data to base decisions on.
COLAT brings that work into a single web application: people and the teams they serve on, events and attendance, one-on-one mentoring, pastoral care follow-up and prayer requests. Every user sees and edits only what their role allows.
For volunteers
they see only the people assigned to them, log each mentoring session from the browser and read the prayer requests — no spreadsheets, no scattered messages.
For leaders
people, teams, events and attendance in one place, with a dashboard that turns day-to-day records into information for decisions.
For administrators
they control who can access what, and can create or restore database backups from the admin panel without calling for technical support.
The scope came from how the church actually works — its teams, its roles and the sensitivity of pastoral information — not from a generic admin-software template.
My role
Full-stack developer and sole technical owner.
- Designed the data model, the layered architecture, the per-module permission model and the backup and restore system.
- Built the entire product: the backend (an 87-endpoint API across 15 modules), the frontend and the production deployment.
- Maintain the platform: development started in February 2026, in production since April, with improvements and support while the client uses it.
- Team: I was the only developer.
Architecture
Every request follows a fixed path: perimeter protection, permission checks, and three layers with a single responsibility each — controllers that handle HTTP, services that hold the business rules, and repositories that hold the SQL.
One database for the MVP, isolated so it can be swapped
The tension. An MVP has to ship fast and be cheap to operate. A single church generates a low volume of data, far less than a mass-event platform; a separate database server would have added administration and setup the product didn’t need yet.
The decision. For the MVP, the data lives in a single SQLite file inside the same Node process that serves the app. So the product wouldn’t depend on that choice, all SQL is isolated in the repository layer, and multi-step operations (for example, creating a person with several phone numbers and addresses) go through an atomic transaction utility. On top of the single file I built a snapshot system that copies the database without stopping the server and lets admins restore it from the admin panel.
The result. The platform went live in April 2026 with backup and restore as admin actions, not support tickets. The database is now being migrated to PostgreSQL with an external provider (Supabase is the current candidate). It is designed so that change stays within the repositories and leaves services, controllers and permissions untouched; the snapshot concept carries over, and only the code that implements it is adapted to the new engine.
Grows module by module
The church’s needs change: new teams appear, and the same person takes on different responsibilities in each one. The system models this with per-module roles — a user can be a leader in one module and a volunteer in another.
Modules and roles are data, not code. Permissions are read from the database on every request, so an access change takes effect immediately — no server restart, no forced re-login. A new module reuses the entire authentication, permission, validation and transaction pipeline; it only brings its own schema, service and repository.
Technical detail
1. Permission pipeline. Every route is guarded by a reusable middleware array defined per module. Mentoring and pastoral care add an ownership check: a volunteer can only read or log sessions for the people assigned to them.
Routes → [verifyToken, loadPermissions, checkRole, (ownership)] → Controller → Service → Repository2. Snapshots on a single file (SQLite phase). Backups are created with VACUUM INTO, which writes a consistent copy while the server keeps serving requests. Restoring closes active connections, swaps the file and reopens the connection; paths are escaped, and every restore or delete requires explicit confirmation. The concept — restore points managed from the admin panel — carries over to the migration; only the code that implements it changes.
Create: VACUUM INTO '<snapshot>.sqlite' → consistent copy, no downtime
Restore: close connections → swap file → reopen connection3. Data model. The person is the center: phones, addresses, service teams, attendance, mentoring, pastoral care and requests all hang off it. System users are a separate entity, because the people who log in are not the same as the people receiving care.
Person ─┬─ Phone
├─ Address
├─ Server (N:M Ministry)
├─ PersonRegister / PersonAssistance (→ EventRegister → Event)
├─ Soulmate ─┬─ SoulmateRegister
│ └─ SoulmateInform
├─ UnderCare ── UnderCareRegister
└─ Intersection (module "Requests")
User ─── Role
UserModuleRole (User × SystemModule × Role)Results
Platform in production since April 2026. 15 API modules, 87 endpoints and a web UI, used by the church.
Access control. JWT authentication, bcrypt password hashing, rate limiting (stricter on login), security headers and restricted CORS; three roles with per-module permissions.
Backup and restore. Snapshots created and restored from the admin panel.
PostgreSQL migration. In progress, with an external provider (Supabase as the candidate); the change is concentrated in the repository layer.
Ongoing maintenance. Improvements and support since going live.
Next steps: finish the PostgreSQL migration and adapt the snapshot code to the new engine, keeping the same restore-point concept.
Stack
- Node.js
- TypeScript
- Express
- Zod
- SQLite3 (current production)
- PostgreSQL (migrating)
- React 18
- Vite
- TanStack Query
- Zustand
- React Router
- JWT
- bcrypt
- helmet
- express-rate-limit
- CORS
- PM2
- shared hosting (Hostinger)
🔒 The source code is private: it is a custom build for a client. Instead, this page walks through the architecture, the data model and the key technical pieces.