How datarishavrathore/rishav-tour-travels works
This Flask application is a web frontend for a separately configured FastAPI backend. Users can view the home page, register or log in, and then reach customer or admin dashboards; authenticated users can also request a customer list. The sampled source shows the Flask routes making HTTP requests and rendering templates. Template contents and backend implementation were not provided, so their internal behavior and data storage are not represented.
Main entry points: app.py Flask Routes · customer_dashboard.html Customer Dashboard · admin_dashboard.html Admin Dashboard · home.html Home Page
Components 13
Web Interface
- Flask Routes
app.py - Home Page
templates/home.html - Customer Dashboard
templates/customer_dashboard.html - Admin Dashboard
templates/admin_dashboard.html - Base Template
templates/base.html
Authentication
- Registration Flow
app.py - Registration Page
templates/register.html - Login Flow
app.py - Login Page
templates/login.html
Customer Access
- Customer Directory
app.py - Customer List
templates/customer_list.html
Other components
- Visitor
- FastAPI Backend
Connections 15
- Visitor → Flask Routes: visits
app.py - Flask Routes → Home Page: renders
app.py - Flask Routes → Registration Flow: routes signup
app.py - Registration Flow → FastAPI Backend: posts registration
app.py - Registration Flow → Registration Page: renders
app.py - Flask Routes → Login Flow: routes login
app.py - Login Flow → FastAPI Backend: posts credentials
app.py - Login Flow → Login Page: renders
app.py - Login Flow → Customer Dashboard: redirects customer
app.py - Login Flow → Admin Dashboard: redirects admin
app.py - Flask Routes → Customer Directory: routes customers
app.py - Customer Directory → FastAPI Backend: fetches users
app.py - Customer Directory → Customer List: renders
app.py - Flask Routes → Admin Dashboard: renders
app.py - Flask Routes → Customer Dashboard: renders
app.py