JSG Community.
A custom MVC framework and multi-tenant community management platform supporting 100+ independent groups — member management, events, social feeds, and analytics.
Architecture & Key Decisions
- Custom MVC framework: regex-based routing, middleware authentication, and a fluent query builder.
- Multi-tenancy via slug-based group isolation — independent group management with data separation.
- REST API with JWT (RS256), API key management, and rate limiting for mobile / third-party use.
- Image processing pipeline: WebP conversion + thumbnail generation — ~60% storage reduction.
Why It Matters
One codebase, 100+ isolated tenants
Serving 100+ independent groups from a single custom framework means multi-tenancy has to be watertight — each group's members, events, and feeds stay isolated behind slug-based scoping, while a shared activity log gives every action an audit trail (IP + user agent).
Key Features
- Member management with dual member types (regular + spouse), dynamic profile-completion tracking (15+ conditional fields), automated validation workflows, and CSV export.
- Event management: calendar views, featured events, and social-impact tracking (beneficiary counts).
- Social feed system with image uploads.
- Activity logging across all user actions (IP + user agent) for audit trails.
- Admin dashboard: impact reports, member analytics, and group-wise statistics.
Trade-offs & What v2 Adds
Why a custom framework?
Full control and a lightweight footprint.
What v2 would add
Redis sessions/caching, Elasticsearch for search, Docker + CI/CD, and WebSockets for real-time features.
Want the full walkthrough?
Happy to walk through the multi-tenant routing, the image pipeline, and the audit-logging design.