Repo Visualization Agent

Peak Aquatic Sports Repo Visualization

Website for Peak Aquatic Sports competitive swimming consultancy based in Ramsey, NJ. This site is a single static HTML file. To launch via GitHub Pages:

181files scanned
31directories
.jpgdominant file type

Architecture Map

Start with the shape before touching code.

File Mix

.jpg
44
.js
43
.jsx
33
.png
20
.json
13
.webp
12
.md
4
.example
2

Top-Level Tree

./.env.example
./AGENTS.md
./README.md
./SECURITY.md
./api/_lib/bookingStore.js
./api/_lib/firebaseAdmin.js
./api/_lib/sheetsGateway.js
./api/booking/availability.js
./api/booking/cancel.js
./api/booking/create.js
./api/booking/lookup.js
./api/claude.js
./api/payments/checkout.js
./api/payments/webhook.js
./apps/mobile/app.json
./apps/mobile/index.js
./apps/mobile/package-lock.json
./apps/mobile/package.json
./docs/mobile-vercel-rollout.md
./index.html
./mobile/App.js
./mobile/app.json
./mobile/assets/android-icon-background.png
./mobile/assets/android-icon-foreground.png
./mobile/assets/android-icon-monochrome.png
./mobile/assets/favicon.png
./mobile/assets/icon.png
./mobile/assets/splash-icon.png
./mobile/babel.config.js
./mobile/components/RippleButton.js
./mobile/components/StrokeAnalysis.js
./mobile/components/SwimIn.js
./mobile/components/WaterReveal.js
./mobile/components/WaveBackground.js
./mobile/data.js
./mobile/index.js
./mobile/package-lock.json
./mobile/package.json
./mobile/screens/AboutScreen.js
./mobile/screens/ArticleScreen.js
./mobile/screens/ContactScreen.js
./mobile/screens/HomeScreen.js
./mobile/screens/MoreScreen.js
./mobile/screens/NewsListScreen.js
./mobile/screens/PaymentScreen.js
./mobile/screens/PlacementsScreen.js
./mobile/screens/RecordsScreen.js
./mobile/screens/ServicesScreen.js
./mobile/theme.js
./package-lock.json
./package.json
./packages/shared-booking/package.json
./public/CNAME
./public/athletes/chloe-kim.webp
./public/athletes/chris-chang.webp
./public/athletes/collin-lee.jpg
./public/athletes/eric-lee.webp
./public/athletes/grace-lee.webp
./public/athletes/kathleen-bendoraitis.webp
./public/athletes/kayla-rodriguez.jpg
./public/athletes/matt-bendoraitis.webp
./public/athletes/michael-granin.webp
./public/athletes/rebekah-jung.webp
./public/athletes/richard-poplawski.webp
./public/athletes/steven-bendoraitis.webp
./public/fonts/Copperplate-Gothic-Std-29-BC.ttf
./public/hero-video.mp4
./public/icons/icon-1024.png
./public/icons/icon-192.png
./public/icons/icon-192.svg
./public/icons/icon-512.png
./public/icons/icon-512.svg
./public/logos/boston-university.png
./public/logos/bowdoin.jpg
./public/logos/bryant.jpg
./public/logos/carnegie-mellon.jpg
./public/logos/columbia.jpg
./public/logos/harvard.png
./public/logos/holy-cross.png
./public/logos/lafayette.png
./public/logos/lehigh.png
./public/logos/maine.png
./public/logos/nyu.png
./public/logos/princeton.png
./public/logos/providence.webp
./public/logos/rochester.png
./public/logos/tcnj.webp
./public/logos/ucsd.jpg
./public/logos/williams.png
./public/offline.html
./public/photos/chase-cut-poster.jpg
./public/photos/chloe-kim-v3.jpg
./public/photos/chloe-pool.jpg
./public/photos/eric-lee-ot.jpg
./public/photos/eric-lee.jpg
./public/photos/ethan-800-record.jpg
./public/photos/ethan-reines-state-record.jpg
./public/photos/harrison-lee-sectionals.jpg
./public/photos/jacob-kim-roster.jpg
./public/photos/jacob-kim-ucsd.jpg
./public/photos/jessie-wolf-roster.jpg
./public/photos/joshua-reines-sectionals.jpg
./public/photos/junior-nationals-2026.jpg
./public/photos/kate-diving.jpg
./public/photos/kate-hurst-national-team.jpg
./public/photos/kate-hurst-womens-roster.jpg
./public/photos/kate-olympic-trials.jpg
./public/photos/kate-usa.jpg
./public/photos/matthew-jun-nj-gold-2026.jpg
./public/photos/olivia-de-los-reyes-providence.jpg
./public/photos/richard-action.jpg
./public/photos/richard-hometown-hero.jpg
./public/photos/roy-dafinoiu.jpg
./public/photos/speedo-sectionals-westmont-2026.jpg
./public/photos/team-trials.jfif
./public/photos/team-trials.jpg
./public/photos/timothy-lee-roster.jpg
./public/photos/tyr-pro-series-logo.jpg
./public/photos/tyr-pro-series-logo.png
./public/photos/ymca-futures-relay-2026.jpg

Agent Reading Order

These files are the first tour stops.

packages/shared-booking/src/index.js

Core execution surface likely to coordinate the main behavior.

20 lines
src/lib/config.js

Configuration loading surface. Changes here can affect every environment.

5 lines
apps/mobile/index.js

Core execution surface likely to coordinate the main behavior.

5 lines
mobile/index.js

Core execution surface likely to coordinate the main behavior.

9 lines
server/index.js

Core execution surface likely to coordinate the main behavior.

55 lines
AGENTS.md

Agent instructions. This should constrain future automation.

25 lines
README.md

Human-facing overview. Read this before touching code.

22 lines
package.json

Node scripts, package metadata, and workflow clues.

30 lines
.env.example

Configuration contract. Shows required secrets without exposing real values.

19 lines
packages/shared-booking/package.json

Implementation surface likely to contain core behavior.

8 lines
src/App.jsx

Implementation surface likely to contain core behavior.

144 lines
docs/mobile-vercel-rollout.md

Potentially important repo file.

21 lines

Runnable Commands

npm run devvite --port 8421
npm run buildvite build
npm run build:vercelVITE_BASE_PATH=/ vite build
npm run build:ghpagesVITE_BASE_PATH=/peakaquatics1/ vite build
npm run previewvite preview
npm run deployVITE_BASE_PATH=/ vite build && npx gh-pages -d dist
npm run deploy:ghpagesVITE_BASE_PATH=/ vite build && npx gh-pages -d dist

Guardrails

Where an agent should slow down.

Risk Areas

Auth, token, or credential code needs tighter review.

  • scripts/setup-google-auth.js

Cookie, session, and environment config paths can expose or mishandle account access.

  • .env.example
  • scripts/.env.example

Package scripts include deployment or publishing commands.

  • package.json#deploy
  • package.json#deploy:ghpages

Safe First Tasks

  1. Read README and agent instruction files before editing.
  2. Run the cheapest available verification command before and after changes.
  3. Start with docs, examples, or tests before touching core implementation.
  4. Run `npm run build` after structural or UI changes.
  5. Improve or cross-link docs when behavior is unclear.

Exact Code, Plain English

Use real snippets as the trust anchor.

packages/shared-booking/src/index.js:1
export const SESSION_TYPES = [
  { id: 'intro', label: 'Intro Call', duration: '15 min' },
  { id: 'video', label: 'Video Review', duration: '20 min' },
  { id: 'private', label: 'Private Session', duration: '1 hr' },
  { id: 'semi', label: 'Semi-Group', duration: '1.5 hr' },
  { id: 'group', label: 'Group Session', duration: '1.5 hr' },
  { id: 'dryland', label: 'Dryland', duration: '1 hr' },
]

export const TIME_SLOTS = [
  '9:00 AM', '9:30 AM', '10:00 AM', '10:30 AM', '11:00 AM', '11:30 AM',
  '12:00 PM', '12:30 PM', '1:00 PM', '1:30 PM', '2:00 PM', '2:30 PM',
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

src/lib/config.js:1
export const API_BASE =
  import.meta.env.VITE_API_BASE?.replace(/\/$/, '') || '/api'

export const APP_NAME = 'Peak Aquatic Sports'
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

apps/mobile/index.js:1
import { registerRootComponent } from 'expo'
import App from './src/App'

registerRootComponent(App)
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

mobile/index.js:1
import { registerRootComponent } from 'expo';

import App from './App';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

server/index.js:6
const app = express()
const port = process.env.PORT || 3001
const allowedOrigin = process.env.CLAUDE_ALLOWED_ORIGIN || '*'

if (!process.env.ANTHROPIC_API_KEY) {
  console.warn('ANTHROPIC_API_KEY is not set. Claude API calls will fail.')
}

const anthropic = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY })

app.use(cors({ origin: allowedOrigin }))
app.use(express.json({ limit: '1mb' }))
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.