How kimyonghwan1996/oliveyoung-porject works
Oliveyoung Clone is a small online beauty-shop application: users browse products, authenticate, manage a cart, and place or review orders through a web UI and FastAPI backend. A separate Streamlit UI provides the documented chatbot path; the README describes FastAPI-backed product lookup and Bedrock answers. The sampled startup registers the root-level routers, while backend/routers contains a separate, more developed chat implementation that is not shown as registered. Edges reflect sampled code and README statements; unsampled integrations are left unconnected.
Main entry points: items.py Shop routes · main.py FastAPI app · auth.py Authentication · database.py DB sessions
Components 17
API routes
- FastAPI app
backend/main.py - Authentication
routers/auth.py - Shop routes
routers/items.py - Chat route
routers/chat.py
Shop services
- Auth logic
backend/crud.py - Shop logic
backend/crud.py - API schemas
backend/schemas.py - Data models
backend/models.py - DB sessions
backend/database.py - PostgreSQL
db/init.sql
AI advisor
- Tool chat
backend/routers/chat.py - Bedrock
- Semantic search
backend/routers/chat.py - S3 Vectors
Other components
- Shopper
Connections 24
- Shopper → Shop UI: uses
README.md - Shop UI → FastAPI app: calls API
README.md - FastAPI app → Authentication: registers
backend/main.py - FastAPI app → Shop routes: registers
backend/main.py - FastAPI app → Chat route: registers
backend/main.py - Authentication → Auth logic: calls
routers/auth.py - Shop routes → Shop logic: calls
routers/items.py - Shop routes → Authentication: checks identity
routers/items.py - Authentication → DB sessions: gets session
routers/auth.py - Shop routes → DB sessions: gets session
routers/items.py - Chat route → DB sessions: gets session
routers/chat.py - Authentication → API schemas: validates with
routers/auth.py - Shop routes → API schemas: validates with
routers/items.py - Chat route → API schemas: validates with
routers/chat.py - Auth logic → Data models: queries
backend/crud.py - Shop logic → Data models: queries
backend/crud.py - Data models → DB sessions: uses base
backend/models.py - DB sessions → PostgreSQL: connects to
README.md - Shopper → Chat UI: asks
README.md - Chat UI → FastAPI app: sends chat
README.md - Tool chat → Bedrock: invokes
backend/routers/chat.py - Tool chat → Semantic search: dispatches tool
backend/routers/chat.py - Semantic search → S3 Vectors: searches
backend/routers/chat.py - Tool chat → PostgreSQL: queries products
backend/routers/chat.py