How ikrishagarwal/technika-server works
Technika 25 Server is a Fastify API for event and attendee transactions. Users authenticate, then register or book accommodation, alumni, delegate, event, or merchandise offerings; the server persists records in Firebase and uses TiQR for bookings and payment details. Payment-provider webhooks reconcile payment status. The graph preserves documented legacy and testing endpoints plus the deprecated WebSocket plugin. Relationships are based on excerpts, the SOURCE INDEX, and README; several route implementations were not excerpted, so their documented capabilities are shown without speculative internal flows.
Main entry points: app.ts Fastify App · firebase.ts Firebase Access · tiqr.ts TiQR Client · auth.ts Token Validation
Components 20
API Runtime
- Server Startup
src/server.ts - Fastify App
src/app.ts - WebSocket Plugin
src/plugins/websocket.ts
Registration Workflows
- Accommodation
src/routes/accommodation.ts - Alumni Registration
src/routes/alumni.ts - Delegate Registration
src/routes/delegate.ts - Event Booking
src/routes/event.ts
Booking and Commerce
- Merch Orders
src/routes/merch.ts - Legacy Ticket Booking
src/routes/book.ts - Booking Proxy
src/routes/booking.ts - Ticket Listing
src/list.ts
Identity and Integrations
- Token Validation
src/lib/auth.ts - Firebase Access
src/lib/firebase.ts - Firestore
- TiQR Client
src/lib/tiqr.ts
Payment Operations
- Payment Webhook
src/routes/webhook.ts - Error Monitoring
src/sentry.ts
Other components
- API Client
- TiQR Service
- Payment Provider
Connections 43
- API Client → Fastify App: sends requests
README.md - Server Startup → Fastify App: starts
src/server.ts - Server Startup → Firebase Access: initializes
src/server.ts - Fastify App → Accommodation: registers routes
src/app.ts - Fastify App → Alumni Registration: registers routes
src/app.ts - Fastify App → Delegate Registration: registers routes
src/app.ts - Fastify App → Event Booking: registers routes
src/app.ts - Fastify App → Merch Orders: registers routes
src/app.ts - Fastify App → Legacy Ticket Booking: registers routes
src/app.ts - Fastify App → Booking Proxy: registers routes
src/app.ts - Fastify App → Ticket Listing: registers routes
src/app.ts - Fastify App → Payment Webhook: registers routes
src/app.ts - Fastify App → WebSocket Plugin: registers plugin
src/app.ts - Fastify App → Error Monitoring: reports errors
src/app.ts - Accommodation → Token Validation: validates token
src/routes/accommodation.ts - Alumni Registration → Token Validation: validates token
src/routes/alumni.ts - Delegate Registration → Token Validation: validates token
src/routes/delegate.ts - Event Booking → Token Validation: validates token
src/routes/event.ts - Merch Orders → Token Validation: validates token
src/routes/merch.ts - Legacy Ticket Booking → Token Validation: validates token
src/routes/book.ts - Booking Proxy → Token Validation: validates token
src/routes/booking.ts - Token Validation → Firebase Access: verifies tokens
src/lib/auth.ts - Accommodation → Firebase Access: reads and writes
src/routes/accommodation.ts - Alumni Registration → Firebase Access: reads and writes
src/routes/alumni.ts - Delegate Registration → Firebase Access: reads and writes
src/routes/delegate.ts - Event Booking → Firebase Access: reads and writes
src/routes/event.ts - Merch Orders → Firebase Access: reads and writes
src/routes/merch.ts - Legacy Ticket Booking → Firebase Access: reads and writes
src/routes/book.ts - Booking Proxy → Firebase Access: accesses data
src/routes/booking.ts - Ticket Listing → Firebase Access: reads data
src/list.ts - Payment Webhook → Firebase Access: updates payment status
src/routes/webhook.ts - Firebase Access → Firestore: accesses
src/lib/firebase.ts - Accommodation → TiQR Client: requests bookings
src/routes/accommodation.ts - Alumni Registration → TiQR Client: requests bookings
src/routes/alumni.ts - Delegate Registration → TiQR Client: requests bookings
src/routes/delegate.ts - Event Booking → TiQR Client: requests bookings
src/routes/event.ts - Merch Orders → TiQR Client: requests bookings
src/routes/merch.ts - Legacy Ticket Booking → TiQR Client: requests bookings
src/routes/book.ts - Booking Proxy → TiQR Client: requests booking data
src/routes/booking.ts - Payment Webhook → TiQR Client: fetches booking
src/routes/webhook.ts - TiQR Client → TiQR Service: calls API
src/lib/tiqr.ts - Payment Provider → Payment Webhook: sends status updates
README.md - Fastify App → Error Monitoring: configures monitoring
src/app.ts