How stelioydev/servlink works
ServLink IA is a marketplace connecting clients with service providers. The main workflow is: users register or sign in, providers publish service profiles, and clients search by text, category, or city to view matching profiles. The React app sends requests through a shared API client to FastAPI; the backend validates data, handles authentication, and queries PostgreSQL. The README describes a future semantic-search capability, but the current implementation uses textual matching and simple ordering. Edges reflect shown calls or documented relationships; unsampled UI behavior is not assumed.
Main entry points: main.py API routes · database.py DB sessions · security.py Password and JWT · App.jsx Marketplace UI
Components 15
Web experience
- Marketplace UI
frontend/src/App.jsx - HTTP client
frontend/src/api.js - React entry
frontend/src/main.jsx
API workflows
- API routes
backend/app/main.py - Provider search
backend/app/main.py - Provider profiles
backend/app/main.py
Identity and contracts
- Auth routes
backend/app/main.py - Password and JWT
backend/app/security.py - Request contracts
backend/app/schemas.py
Persistence
- User and profiles
backend/app/models.py - DB sessions
backend/app/database.py - Runtime settings
backend/app/config.py
Other components
- Client
- Service provider
- PostgreSQL
Connections 17
- Client → Marketplace UI: browses and searches
README.md - Service provider → Marketplace UI: registers services
README.md - React entry → Marketplace UI: renders
frontend/src/main.jsx - Marketplace UI → HTTP client: calls
frontend/src/App.jsx - HTTP client → API routes: sends HTTP requests
README.md - API routes → Auth routes: defines
backend/app/main.py - API routes → Provider search: defines
backend/app/main.py - API routes → Provider profiles: defines
backend/app/main.py - API routes → Request contracts: uses contracts
backend/app/main.py - API routes → Password and JWT: calls auth helpers
backend/app/main.py - Auth routes → Password and JWT: hashes and verifies
backend/app/main.py - Password and JWT → User and profiles: loads user
backend/app/security.py - Password and JWT → DB sessions: depends on session
backend/app/security.py - DB sessions → Runtime settings: reads database URL
backend/app/database.py - User and profiles → DB sessions: uses base
backend/app/models.py - API routes → DB sessions: uses sessions
backend/app/main.py - DB sessions → PostgreSQL: connects to
README.md