How zve-rev/dating-app works
Iskra is a dating and social-discovery application. A user signs up through email verification, creates a profile, browses and likes profiles, reviews received likes, and chats with matches. The frontend routes these experiences through a shared API client to a Spring backend; backend services and repositories implement the corresponding domain areas. Frontend routing and several API calls are visible in the excerpts. Backend internals are represented from the file tree only, so their relationships are omitted where they cannot be verified.
Main entry points: api.js API client · App.jsx Route app · CreateProfile.jsx Profile creation · Swipes.jsx Profile discovery
Components 21
Web experience
- Route app
frontend/src/App.jsx - Landing page
frontend/src/pages/Landing.jsx - Navigation
frontend/src/components/Navbar.jsx - API client
frontend/src/api.js
Identity and profiles
- Sign-up flow
frontend/src/pages/SignUp.jsx - Sign-in flow
frontend/src/pages/SignIn.jsx - Email verification
backend/src/main/java/com/example/demo/email/EmailCodeController.java - Login backend
backend/src/main/java/com/example/demo/login/LoginController.java - Profile creation
frontend/src/profile/CreateProfile.jsx - Profile form
frontend/src/profile/ProfileForm.jsx - Profile preview
frontend/src/profile/ProfilePreview.jsx - Profile management
frontend/src/profile/Profile.jsx - Profile backend
backend/src/main/java/com/example/demo/profile/ProfileController.java
Discovery and likes
- Profile discovery
frontend/src/swipes/Swipes.jsx - Profile card
frontend/src/swipes/ProfileCard.jsx - Swipe backend
backend/src/main/java/com/example/demo/swipe/SwipeController.java - Received likes
frontend/src/likes/Likes.jsx - Like backend
backend/src/main/java/com/example/demo/like/LikeController.java
Messaging
- Chat experience
frontend/src/chat/Chat.jsx - Chat backend
backend/src/main/java/com/example/demo/chat/ChatController.java
Other components
- User
Connections 27
- User → Route app: uses
- Route app → Landing page: routes to
frontend/src/App.jsx - Route app → Sign-up flow: routes to
frontend/src/App.jsx - Route app → Sign-in flow: routes to
frontend/src/App.jsx - Route app → Profile creation: routes to
frontend/src/App.jsx - Route app → Profile management: routes to
frontend/src/App.jsx - Route app → Profile discovery: routes to
frontend/src/App.jsx - Route app → Received likes: routes to
frontend/src/App.jsx - Route app → Chat experience: routes to
frontend/src/App.jsx - Sign-up flow → API client: requests verification
frontend/src/pages/SignUp.jsx - API client → Email verification: HTTP requests
frontend/src/api.js - Sign-in flow → API client: authenticates via
frontend/src/pages/SignIn.jsx - API client → Login backend: HTTP requests
- Profile creation → Profile form: renders
frontend/src/profile/CreateProfile.jsx - Profile creation → Profile preview: renders
frontend/src/profile/CreateProfile.jsx - Profile management → API client: loads and updates
frontend/src/profile/Profile.jsx - Profile management → Profile backend: HTTP requests
- Profile creation → API client: submits profile
frontend/src/profile/CreateProfile.jsx - Profile discovery → Profile card: renders
frontend/src/swipes/Swipes.jsx - Profile discovery → API client: loads profiles
frontend/src/swipes/Swipes.jsx - Profile discovery → Swipe backend: HTTP requests
- Received likes → API client: loads and responds
frontend/src/likes/Likes.jsx - Received likes → Like backend: HTTP requests
- Chat experience → API client: loads and sends
frontend/src/chat/Chat.jsx - Chat experience → Navigation: renders
frontend/src/chat/Chat.jsx - API client → Chat backend: HTTP and event stream
- Navigation → API client: checks unread count
frontend/src/components/Navbar.jsx