How calebscott0/soundbridge works
SoundBridge is a React application for matching music artists and producers. Users authenticate, choose a role, complete a profile with image/audio uploads, then browse and swipe through the other side’s profiles; the app also exposes deck and profile views. Firebase is the documented backend integration, while the excerpts show Firestore reads and writes and Cloudinary uploads. Several feature components are listed in the source index but not excerpted, so their internal behavior and some connections are not asserted.
Main entry points: App.tsx App flow · firebase.ts Firebase client · Cards.tsx Profile cards · SigninSignup.tsx Sign-in and signup
Components 25
Application flow
- App flow
SoundBridge/src/App.tsx - Welcome screen
SoundBridge/src/components/StarterPage.tsx - Sign-in and signup
SoundBridge/src/components/SigninSignup.tsx - Role selection
SoundBridge/src/components/Role.tsx - Navigation footer
SoundBridge/src/components/Footer.tsx
Profiles and discovery
- Profile setup
SoundBridge/src/components/Login.tsx - Account setup
SoundBridge/src/components/AccountSetup.tsx - Artist discovery
SoundBridge/src/components/SwipableCards.tsx - Producer discovery
SoundBridge/src/components/ProducerSwipableCards.tsx - Profile cards
SoundBridge/src/components/Cards.tsx - Collaboration decks
SoundBridge/src/components/Decks.tsx - Profile page
SoundBridge/src/components/ProfilePage.tsx - Profile card
SoundBridge/src/components/ProfileCard.tsx - Genre selection
SoundBridge/src/components/Genres.tsx - Asset upload
SoundBridge/src/components/UploadAssets.tsx - Swipe sample
SoundBridge/src/Sample.tsx
Backend and media
- Firebase client
SoundBridge/firebase.ts - Firestore
- Seed data
SoundBridge/src/seed.ts
Reusable interface
- Badge component
SoundBridge/src/components/ui/badge.tsx - Button component
SoundBridge/src/components/ui/button.tsx - Card components
SoundBridge/src/components/ui/card.tsx
Other components
- Visitor
- Firebase platform
- Cloudinary media
Connections 28
- Visitor → App flow: opens
README.md - App flow → Welcome screen: renders
SoundBridge/src/App.tsx - App flow → Sign-in and signup: renders
SoundBridge/src/App.tsx - Sign-in and signup → Firebase client: uses auth and database
SoundBridge/src/components/SigninSignup.tsx - Firebase client → Firebase platform: initializes services
SoundBridge/firebase.ts - Sign-in and signup → Firestore: reads and writes users
SoundBridge/src/components/SigninSignup.tsx - App flow → Role selection: renders
SoundBridge/src/App.tsx - App flow → Profile setup: renders setup steps
SoundBridge/src/App.tsx - Profile setup → Firestore: updates user
SoundBridge/src/components/Login.tsx - App flow → Firestore: updates user
SoundBridge/src/App.tsx - App flow → Cloudinary media: uploads media
SoundBridge/src/App.tsx - Profile setup → Cloudinary media: uploads media
SoundBridge/src/components/Login.tsx - App flow → Artist discovery: renders for artists
SoundBridge/src/App.tsx - App flow → Producer discovery: renders for producers
SoundBridge/src/App.tsx - Artist discovery → Firebase client: uses Firebase
SoundBridge/src/components/SwipableCards.tsx - Producer discovery → Firebase client: uses Firebase
SoundBridge/src/components/ProducerSwipableCards.tsx - App flow → Collaboration decks: renders
SoundBridge/src/App.tsx - App flow → Profile page: renders
SoundBridge/src/App.tsx - App flow → Navigation footer: renders
SoundBridge/src/App.tsx - Artist discovery → Profile cards: uses cards
- Profile cards → Badge component: renders
SoundBridge/src/components/Cards.tsx - Profile cards → Button component: renders
SoundBridge/src/components/Cards.tsx - Profile cards → Card components: renders
SoundBridge/src/components/Cards.tsx - Seed data → Firestore: writes seed users
SoundBridge/src/seed.ts - Swipe sample → Firebase client: uses auth
SoundBridge/src/Sample.tsx - Account setup → Firebase client: uses Firebase
SoundBridge/src/components/AccountSetup.tsx - Profile card → Firebase client: uses Firebase
SoundBridge/src/components/ProfileCard.tsx - Genre selection → Firebase client: uses Firebase
SoundBridge/src/components/Genres.tsx