Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 6.12 KB

README.md

File metadata and controls

58 lines (46 loc) · 6.12 KB

Space Works Events documentation

Back to the project README

Everything you need to understand, run and change Space Works Events, the free, open-source event platform from Space Works. These pages describe what the product does today, how to operate it, and what's planned. If a page and the code ever disagree, the code and Prisma migrations win, and the page needs fixing.

Using the app rather than changing it? The in-app guide at /help (written in content/help, see its README) explains every feature for guests, organisers and the person running the server; this folder is the technical handbook.

New here? Start with Features for what it does, then Local development to run it. To host everything on one server, follow Complete Docker VPS deployment. To go live on free plans, follow Free-tier cloud deployment.

Product and engineering

Document Purpose
Design system V1 visual design brief: tokens, the dot-sign brand (§2.3), typography, components, motion, page patterns, dark mode, and voice
Contributing How to report bugs, suggest ideas, and prepare a pull request
Features Current user-facing and administrative capabilities
Mobile API v1 User-authenticated API for the Space Works apps (Android and iOS), with an OpenAPI 3.1 spec and fixtures
Team registration Design contract for team events: settings, capacity units, team status, join links, the team page, looking for a team, and organiser team actions
Volunteer shifts Volunteer shifts and contributor hours for the crew, after the Space Works contributions design: FIFO waitlist, shift attendance separate from check-in, second-person hours verification with append-only history, contributor certificates, and parity notes
Attendance confirmation "Are you still coming?": who is asked, sending and reminders, the guest's form, what a No releases on free and paid tickets, and what organisers see
Event crew Design contract for an event's organising team: free crew tickets outside capacity and payments, the crew sign-up link, the public Crew section, crew claims, and what the other flows refuse (test conditions)
Applications and shortlisting Design contract for applications on any one-off event: stages with their own reviewer panels, seeded reviewer assignment, decision batches with review coverage, offers that are accepted (and paid) before a place is confirmed, the waitlist, and the guards behind them
Hackathon submissions, judging, and results Design contract for hackathon events: project submissions and links, judges and conflicts of interest, the rubric and result score, awards, and published results
Paid tickets Turning paid events on, connecting Razorpay or Stripe, selling, refunds, receipts and reporting
Architecture System boundaries, request flows, data model, and background work
Local development Installation, database setup, and everyday commands
Configuration Environment-variable reference for development and production
Routes Public pages, dashboards, APIs, and protected endpoints
Security Authentication, authorization, privacy, abuse protection, and known boundaries
Permissions Event and series dashboard matrix: every control, its server check, and what owners, admins, members and each co-organiser grant see
Machine API v1 Server-to-server authentication, scopes, contracts, and credential lifecycle
Organisation webhooks Outgoing signed webhooks: event types, payloads, signature verification, retries, auto-disable, and SSRF rules
Large-event performance Indexes, set-based reads and streamed exports that keep large hackathons fast, and the judging equivalence test
Testing Test suites, CI checks, coverage, and release verification

Deployment and operations

Document Purpose
Free-tier cloud deployment Step-by-step production on Render, Supabase, Upstash, Cloudflare R2, Brevo, and a Cloudflare Worker cron (the default deployment)
Production release Mandatory pre-deployment checklist
Production operations Deployments, probes, schedulers, backups, incidents, and privacy operations
Releases and container images VERSION and GitHub Releases, the public multi-platform images on GitHub Packages, and how one image serves every installation
Netlify frontend + VPS backend Separate frontend workspace, private API gateway, setup and verification
Complete Docker VPS deployment App, PostgreSQL, Redis, private storage, HTTPS, email worker and beat on one VPS; setup, checks, upgrades and backups
Production Docker deployment Current single-host/container deployment, migrations, upgrades, and image limitations
Isolated staging deployment Single-VM Docker Compose staging/test setup behind host Nginx
Helm chart Kubernetes installation, migration hook, secrets, probes, and ingress configuration
Future phases Work that is not currently implemented

Recommended reading order

New contributors should read Development, Architecture, Features, and Security. Operators should additionally read Configuration, Production release, and Production operations before deploying.

Documentation maintenance

Update the relevant page whenever a feature, route, environment variable, security control, migration requirement, or operational dependency changes. Do not describe planned behavior as an existing feature; planned work belongs in FUTURE_PHASES.md.