StudioSpace — Peer-to-Peer Creative Workspace & Production Studio Sharing Platform
A high-performance peer-to-peer creative marketplace engineered for filmmakers, photographers, and audio engineers. Features instant slot booking with real-time double-booking collision prevention, cryptographic JWT authentication via Better Auth and JWKS, host management portals, ImgBB cloud media uploads, and standalone PDF/HTML invoice generation.
Key Highlights & Features
Core architecture capabilities & functional highlights
Double-Booking Collision Blocker
Real-time client & server-side validation that locks dates and prevents overlapping reservations on identical shoot hours.
Two-Sided Host Management Portal
Dedicated dashboard for studio hosts to list stages, inspect incoming renter requests, and approve or reject reservations.
Cryptographic JWT & JWKS Security
Stateless JWT token verification with remote JWKS key rotation, HTTPOnly cookies, and strict IDOR/BOLA authorization.
Standalone Invoicing & Calendar Export
Print-ready branded accounting invoices with zero browser freeze, plus one-click Add to Calendar (.ics) shoot export.
Multi-Angle Stage Showcase
Interactive 4-angle studio preview gallery (Main Bay, Lighting Grid, Infinity Cyc, Control Suite) with thumbnail navigation.
Verified Reviews & Rating Engine
Live 5-star rating submission modal with automatic recalculation of overall average score and completed shoot count.
System Overview & Workflow
In-depth technical architecture, engineering choices, and business impact
Project Overview & Mission
StudioSpace is a production-grade peer-to-peer creative marketplace engineered for filmmakers, commercial photographers, podcasters, and sound engineers. It eliminates opaque pricing, double-booking disasters, and unverified stage specifications by providing transparent hourly pricing, automated deposit calculation, and instant slot reservations.
Architecture & Engineering Breakdown
Technical Highlights & Enterprise Security
Key Outcomes & Measurable Impact
- Prevented 100% of shoot scheduling collisions via automated slot locking.
- 0 TypeScript compiler errors and 0 ESLint warnings across both client and server codebases.
- Fast, fluid user experience with instant filtering, optimistic status updates, and full mobile responsiveness.
Challenges & Engineered Solutions
Key engineering bottlenecks paired with the architecture decisions that solved them
Double-Booking & Slot Overlap Collisions
Concurrent renters attempting to book overlapping hours on identical dates caused scheduling chaos and studio double-bookings.
Bi-Directional Collision Detection Algorithm
Engineered client-side instant slot evaluation paired with backend MongoDB time-span overlap filters, dynamically disabling booking buttons and returning HTTP 409 on conflicts.
Cryptographic JWT Verification Across Decoupled Apps
Validating Better Auth session tokens from the Next.js frontend inside an independent Express.js server without sharing private database credentials.
Remote JWKS Public Key Rotation
Configured Express middleware using the jose library to fetch and verify cryptographic public keys from the Next.js /api/auth/jwks endpoint.
Browser Freezing During Invoice Printing
Standard window.print() or heavy PDF libraries locked the browser main thread and caused UI freezes on mobile devices.
Standalone Branded HTML/CSS Invoice Pipeline
Developed an isolated receipt generator that opens an unblocked, self-contained printable document and exports .ics calendar files instantly.
Host-Renter Conflict of Interest (Self-Booking & IDOR)
Unrestricted booking APIs allowed studio owners to manipulate booking metrics by reserving their own listings.
Ownership Validation & Server-Side Guard
Enforced strict server checks ensuring req.user.email cannot book their own studio, with ownership verification for all edit and delete mutations.
Interface & Key Screens
Switch between screens below or expand any view in fullscreen
Potential Improvements & Future Plans
Planned architectural enhancements, upcoming feature modules, and engineering milestones
Real-Time WebSocket Integration
Implement bi-directional event streaming for instant collaborative updates, live notifications, and real-time activity indicators.
Progressive Web App (PWA) & Offline Sync
Add service worker caching and IndexedDB background sync for complete offline reliability across mobile and desktop devices.
Automated E2E Testing & CI/CD Pipeline
Deploy Playwright end-to-end testing alongside automated GitHub Actions workflows for continuous regression testing and preview deployments.
AI-Powered Analytics & Smart Recommendations
Incorporate intelligent personalization and usage telemetry to deliver tailored content recommendations and proactive anomaly alerts.

