How kimdeun/devops-engineer-from-scratch-project-313 works
This is a link-shortening service with a bundled web frontend and a FastAPI backend. A user works through the frontend to list, create, edit, or delete links; the backend handles those API requests, uses the repository to access link records, and returns results. A separate redirect route looks up a short name and redirects to the original URL. The backend initializes database tables at startup. The README identifies the deployed project, but does not document frontend-to-API wiring; that connection is therefore shown as unverified.
Main entry points: main.py FastAPI app · routes.py Link routes · repository.py Link repository · database.py Database setup
Components 8
Web client
- Link frontend
frontend-dist/assets/index-BZ51OKon.js
Backend API
- FastAPI app
app/main.py - Link routes
app/routes.py
Link data
- Link repository
app/repository.py - Link models
app/models.py - Database setup
app/database.py
Other components
- User
- SQL database
Connections 9
- User → Link frontend: uses
README.md - Link frontend → FastAPI app: API requests
- FastAPI app → Link routes: mounts routes
app/main.py - FastAPI app → Database setup: creates tables
app/main.py - Link routes → Link repository: calls
app/routes.py - Link routes → Link models: validates and formats
app/routes.py - Link repository → Link models: reads and writes
app/repository.py - Link repository → Database setup: uses engine
app/repository.py - Database setup → SQL database: connects
app/database.py