How sameer10237/s.t.i.p.s works
S.T.I.P.S is a campus community web application: users sign in, pass consent gating, and use its feed, polls, messaging, profile, and administration features through the React client and Express API. The backend applies session and moderation controls, then persists domain data in Supabase; messaging is documented as polling rather than realtime. The graph preserves README capabilities whose route implementations were not sampled, but only asserts their runtime connections where the excerpts or README support them.
Main entry points: App.jsx Route and auth shell · app.js Express API · db.js Campus database · api.js API fetch client
Components 28
Campus web client
- Route and auth shell
src/App.jsx - API fetch client
src/api.js - Sign-in UI
src/pages/Auth.jsx - User profile
src/pages/Profile.jsx - Campus administration
src/pages/Admin.jsx - Consent gate
src/components/ConsentModal.jsx
API and security
- Express API
server/app.js - Authentication routes
server/routes/auth.js - Admin routes
server/routes/admin.js - Report triage
server/routes/reports.js - Privacy and account
server/routes/me.js - Session authorization
server/session.js - Content moderation
server/moderation.js - Request rate limits
server/rateLimit.js - Rules and limits
server/config.js
Community features
- Community feed
src/pages/Feed.jsx - Thread discussions
src/pages/Thread.jsx - Post creation
src/pages/Create.jsx - Polls and voting
src/pages/Polls.jsx - Direct messages
src/pages/Messages.jsx - Post routes
server/routes/posts.js - Poll routes
server/routes/polls.js - Message routes
server/routes/messages.js
State and integrations
- Campus database
server/db.js - Upstash Redis
- Optional screening API
- Error monitoring
server/lib/sentry.js
Other components
- Campus user
Connections 43
- Campus user → Route and auth shell: uses
src/App.jsx - Route and auth shell → API fetch client: loads identity
src/App.jsx - Route and auth shell → Sign-in UI: routes to
src/App.jsx - Route and auth shell → Community feed: routes to
src/App.jsx - Route and auth shell → Thread discussions: routes to
src/App.jsx - Route and auth shell → Polls and voting: routes to
src/App.jsx - Route and auth shell → Direct messages: routes to
src/App.jsx - Route and auth shell → User profile: routes to
src/App.jsx - Route and auth shell → Post creation: routes to
src/App.jsx - Route and auth shell → Campus administration: role-gates
src/App.jsx - Route and auth shell → Consent gate: shows when needed
src/App.jsx - Sign-in UI → API fetch client: calls
src/pages/Auth.jsx - Community feed → API fetch client: calls
src/pages/Feed.jsx - Direct messages → API fetch client: calls
src/pages/Messages.jsx - Campus administration → API fetch client: calls
src/pages/Admin.jsx - Route and auth shell → Express API: requests identity
src/App.jsx - API fetch client → Express API: sends API requests
src/api.js - Express API → Authentication routes: mounts
server/app.js - Express API → Post routes: mounts
server/app.js - Express API → Poll routes: mounts
server/app.js - Express API → Message routes: mounts
server/app.js - Express API → Admin routes: mounts
server/app.js - Express API → Report triage: mounts
server/app.js - Express API → Privacy and account: mounts
server/app.js - Express API → Session authorization: protects routes
server/app.js - Express API → Request rate limits: limits API traffic
server/app.js - Authentication routes → Session authorization: sets sessions
server/routes/auth.js - Authentication routes → Campus database: reads and updates
server/routes/auth.js - Authentication routes → Content moderation: screens profile
server/routes/auth.js - Authentication routes → Request rate limits: limits login
server/routes/auth.js - Post routes → Campus database: reads and writes
server/routes/posts.js - Post routes → Content moderation: screens content
server/routes/posts.js - Message routes → Campus database: reads and writes
server/routes/messages.js - Message routes → Content moderation: screens messages
server/routes/messages.js - Poll routes → Campus database: reads and writes
- Admin routes → Campus database: provisions accounts
server/routes/admin.js - Report triage → Campus database: triages reports
- Privacy and account → Campus database: exports or erases data
server/routes/me.js - Session authorization → Campus database: validates user
server/session.js - Request rate limits → Upstash Redis: checks limits
server/rateLimit.js - Request rate limits → Rules and limits: reads policies
server/rateLimit.js - Content moderation → Optional screening API: optional screening
- Express API → Error monitoring: initializes monitoring
server/app.js