How ch-israr/glink-website works
Globe Link International is a UAE moving and Sharjah-based storage website, served by one FastAPI application with a SQLite-backed content, enquiry, and admin system. Visitors browse service and storage pages, choose a unit size, submit a quote/contact enquiry, and are directed to WhatsApp; the enquiry is also saved. Administrators sign in to manage sizes, FAQ, business details, and enquiries. The README documents the full page and API scope; sampled source confirms the main storage, authentication, rate-limit, and browser-form behavior, though some route details were not excerpted.
Main entry points: main.py Admin Routes · db.py SQLite Database · site.js Site Interactions · admin.js Admin Dashboard
Components 13
Public Website
- Service Pages
templates - Booking Pages
templates/book.html - Site Interactions
static/js/site.js - FastAPI Routes
app/main.py - Content API
app/main.py
Enquiries
- Lead Submission
app/main.py
Administration
- Admin Dashboard
static/js/admin.js - Admin Routes
app/main.py - Session Authentication
app/auth.py - Rate Limiting
app/ratelimit.py
Application Data
- SQLite Database
app/db.py
Other components
- Visitor
Connections 16
- Visitor → FastAPI Routes: requests pages
README.md - FastAPI Routes → Service Pages: renders pages
app/main.py - FastAPI Routes → Booking Pages: renders booking
app/main.py - Visitor → Site Interactions: uses site
- Site Interactions → Content API: fetches content
static/js/site.js - Content API → SQLite Database: reads content
app/main.py - Site Interactions → Lead Submission: posts enquiry
static/js/site.js - Lead Submission → SQLite Database: saves enquiry
README.md - Site Interactions → WhatsApp: opens message
static/js/site.js - Admin Dashboard → Content API: loads content
static/js/admin.js - Admin Dashboard → Admin Routes: updates records
static/js/admin.js - Admin Routes → Session Authentication: checks session
app/main.py - Admin Routes → Rate Limiting: checks limits
app/main.py - Session Authentication → SQLite Database: manages sessions
app/auth.py - Admin Routes → SQLite Database: manages content
app/main.py - Admin Routes → SQLite Database: manages enquiries
README.md