How kanishksingh-01/spaceloop works
SpaceLoop is a peer-to-peer marketplace for short-term use of physical spaces, with AI-assisted listings and search, booking, access, and trust features. The main seeker journey runs from natural-language discovery through booking and a live session to checkout; hosts can create AI-assisted listings and manage their spaces. The graph includes documented fraud, localization, and LoopBot capabilities. Some API and UI modules were not sampled, so those subsystem links rely on README statements rather than inspected call sites.
Main entry points: App.tsx Marketplace UI · v1 REST API · bookings.py Bookings · SessionPage.tsx Session console
Components 20
Marketplace experience
- Marketplace UI
frontend/src/App.tsx - Session console
frontend/src/pages/SessionPage.tsx - REST API
backend/app/api/v1 - Localization
frontend/src/i18n/I18nContext.tsx
Listings and discovery
- Space listings
backend/app/api/v1/spaces.py - AI listing assistance
backend/modules/nlp/listing_assistance.py
Booking and sessions
- Bookings
backend/app/api/v1/bookings.py - Marketplace records
models.py - Application database
backend/core/database.py
AI and search
- Query understanding
backend/modules/nlp/pipeline.py - Hybrid search
backend/modules/search/hybrid_search.py - LoopBot assistant
backend/modules/ai/loopbot_orchestrator.py - Knowledge retrieval
backend/modules/ai/rag_service.py
Identity and safety
- Authentication
backend/app/api/v1/auth.py - Trust and safety
backend/app/api/v1/trust_safety.py - Trust signals
backend/modules/trust_safety/engine.py - Fraud detection
fraud_engine/service.py - Email service
backend/modules/email/service.py
Other components
- Seeker
- Host
Connections 24
- Seeker → Marketplace UI: searches and books
- Host → Marketplace UI: lists spaces
- Marketplace UI → Session console: opens session
frontend/src/App.tsx - Marketplace UI → REST API: calls APIs
- Session console → REST API: uses booking APIs
- REST API → Authentication: routes auth
app.py - REST API → Space listings: routes listings
app.py - REST API → Bookings: routes bookings
app.py - Bookings → Marketplace records: persists booking
- Space listings → AI listing assistance: assists listing
- Seeker → Query understanding: asks naturally
- Query understanding → Hybrid search: dispatches search
backend/modules/nlp/pipeline.py - Hybrid search → Marketplace records: retrieves spaces
- Marketplace UI → LoopBot assistant: asks LoopBot
- LoopBot assistant → Query understanding: processes query
backend/modules/ai/loopbot_orchestrator.py - LoopBot assistant → Knowledge retrieval: retrieves guidance
backend/modules/ai/loopbot_orchestrator.py - Bookings → Trust and safety: checks trust
- Trust and safety → Trust signals: evaluates signals
- Bookings → Fraud detection: scores events
- Authentication → Email service: sends verification
backend/app/api/v1/auth.py - Marketplace UI → Localization: renders languages
- REST API → Application database: uses storage
- Bookings → Session console: enables live session
- Session console → Bookings: records session