How anchit-iitm/jan25_bootcamp works
This repository is a sequence of Flask/Vue learning applications, culminating in a role-based product and category management app. The main user flow is navigating the Vue interface, authenticating or registering, then using protected APIs for category and product operations backed by SQLAlchemy models. The later backend also configures caching, email, and Celery jobs. The graph emphasizes the day6 implementation; earlier core files are represented where their role is identifiable. Several views and integrations are unsampled, so their connections to the API are shown only as unverified dashed links.
Main entry points: app.py Flask API · index.js Page router · main.js Vue entry · routes.py REST resources
Components 20
Web client
- Vue entry
day6/frontend/src/main.js - Navigation shell
day6/frontend/src/App.vue - Page router
day6/frontend/src/router/index.js - Login view
day6/frontend/src/views/LoginView.vue - Catalog views
day6/frontend/src/views/category_create.vue - Dashboard view
day6/frontend/src/views/dashboard.vue - Landing views
day6/frontend/src/views/firstpage.vue
Application service
- Flask API
day6/backend/app.py - Identity and roles
day6/backend/app.py - REST resources
day6/backend/routes.py - Domain models
day6/backend/models.py - Runtime settings
day6/backend/config.py - Response cache
day6/backend/caching.py
Background integrations
- Mail service
day6/backend/mailing.py - Celery jobs
day6/backend/jobs.py - Celery context
day6/backend/celery_context.py
Other components
- User
- Relational database
- Email provider
- Task broker
Connections 25
- User → Vue entry: opens
day6/frontend/src/main.js - Vue entry → Navigation shell: mounts
day6/frontend/src/main.js - Vue entry → Page router: loads
day6/frontend/src/main.js - Navigation shell → Page router: renders
day6/frontend/src/App.vue - Page router → Login view: routes to
day6/frontend/src/router/index.js - Page router → Catalog views: routes to
day6/frontend/src/router/index.js - Page router → Dashboard view: routes to
day6/frontend/src/router/index.js - Page router → Landing views: routes to
day6/frontend/src/router/index.js - Login view → Flask API: submits credentials
- Catalog views → Flask API: requests catalog
- Dashboard view → Flask API: requests data
- Flask API → Identity and roles: configures
day6/backend/app.py - Flask API → REST resources: registers
day6/backend/app.py - Flask API → Domain models: queries
day6/backend/app.py - REST resources → Domain models: reads and writes
day6/backend/routes.py - Domain models → Relational database: persists
- Flask API → Runtime settings: loads
day6/backend/app.py - Flask API → Response cache: initializes
day6/backend/app.py - REST resources → Response cache: caches reads
day6/backend/routes.py - Flask API → Mail service: initializes
day6/backend/app.py - Flask API → Celery jobs: imports and schedules
day6/backend/app.py - Celery jobs → Celery context: uses context
day6/backend/jobs.py - Flask API → Mail service: sends email
day6/backend/app.py - Mail service → Email provider: delivers through
- Celery jobs → Task broker: dispatches tasks