How safak-senal-61/g-n-birlik works
Günübirlik İş Bul is a location-based day-job marketplace for workers and employers. The main journey is account sign-in, finding or posting a job, applying, managing the application through completion, and reviewing the other party. The web client and API/service layers are represented alongside messaging, notifications, wallet, and admin capabilities documented in the README. The tree lists no mobile-app source despite the README describing one. Several feature links are documented rather than verified from sampled route implementations.
Main entry points: db.ts Application database · applications.service.ts Applications · api.ts API client · route.ts REST routes
Components 25
Web client
- Auth screen
src/components/screens/auth-screen.tsx - Auth state
src/lib/auth-store.ts - API client
src/lib/api.ts - Job screens
src/components/screens/jobs-list-screen.tsx - Application screen
src/components/screens/applications-screen.tsx
API and identity
- REST routes
src/app/api/v1/jobs/route.ts - Auth routes
src/app/api/v1/auth/login/route.ts - Identity service
src/server/services/auth.service.ts - Auth and notices
src/server/lib/auth.ts - Route handling
src/server/lib/route.ts - Rate limiting
src/server/lib/rate-limit.ts
Job marketplace
- Job listings
src/server/services/jobs.service.ts - Applications
src/server/services/applications.service.ts - Reviews and verification
src/server/services/reviews.service.ts - Application database
src/lib/db.ts - Location search
src/lib/geocode.ts
Engagement and payments
- Messaging
src/server/services/messages.service.ts - Realtime service
mini-services/job-realtime/index.ts - Notifications
src/server/services/notifications.service.ts - Wallet and escrow
src/server/services/wallet.service.ts - Push delivery
src/lib/onesignal.ts
Platform operations
- Administration
src/server/services/admin.service.ts - Maintenance controls
src/server/services/maintenance.service.ts
Other components
- Worker
- Employer
Connections 38
- Worker → Auth screen: signs in
README.md - Employer → Auth screen: signs in
README.md - Auth screen → Auth state: uses state
src/components/screens/auth-screen.tsx - Auth state → API client: calls auth API
src/lib/auth-store.ts - Auth state → Realtime service: connects socket
src/lib/auth-store.ts - Auth state → Push delivery: registers user
src/lib/auth-store.ts - Worker → Job screens: searches jobs
README.md - Employer → Job screens: posts jobs
README.md - Job screens → API client: requests jobs
- API client → REST routes: sends requests
- REST routes → Job listings: dispatches
src/app/api/v1/jobs/route.ts - Job listings → Application database: reads and writes
src/server/services/jobs.service.ts - Worker → Application screen: applies
README.md - Application screen → API client: submits
- API client → REST routes: sends requests
- REST routes → Applications: dispatches
- Applications → Application database: reads and writes
src/server/services/applications.service.ts - Applications → Auth and notices: creates notices
src/server/services/applications.service.ts - Applications → Notifications: notifies users
- Applications → Wallet and escrow: requests payment review
- Worker → Messaging: messages employer
README.md - Employer → Messaging: messages worker
README.md - Messaging → Realtime service: delivers live messages
- Auth routes → Rate limiting: limits login
src/app/api/v1/auth/login/route.ts - Auth routes → Application database: reads and updates
src/app/api/v1/auth/login/route.ts - Auth routes → Auth and notices: verifies and signs
src/app/api/v1/auth/login/route.ts - Auth routes → Route handling: wraps requests
src/app/api/v1/auth/login/route.ts - Route handling → Rate limiting: checks limits
src/server/lib/route.ts - Identity service → Application database: reads and writes
src/server/services/auth.service.ts - Identity service → Auth and notices: hashes and signs
src/server/services/auth.service.ts - Reviews and verification → Application database: reads and writes
src/server/services/reviews.service.ts - Worker → Reviews and verification: rates employer
README.md - Employer → Reviews and verification: rates worker
README.md - Location search → REST routes: serves location queries
- Notifications → Realtime service: sends live alerts
- Notifications → Push delivery: sends push alerts
- Administration → Application database: manages records
src/server/services/admin.service.ts - Maintenance controls → Application database: reads and updates