How simonequeiroz/cti-insights works
CTI Insights is a commercial-customer spreadsheet treatment and analysis product. The documented user flow is public home → simulated login → staged spreadsheet import → browser-stored customer base → dashboard and reports; administrators also manage pending accounts. A separate Python analytics pipeline is implemented for cleaning, analysis and database persistence, but the README says the Vue app and Spring Boot are not yet integrated. Edges reflect excerpts and explicit README statements; unsampled feature links are omitted where their callers are not shown.
Main entry points: index.js Routes and guards · uploadStore.js Import state and history · main.py Batch orchestrator · authStore.js Session and roles
Components 22
Vue application
- Routes and guards
frontend-vue/src/router/index.js - Public home
frontend-vue/src/views/Home.vue - Login and signup
frontend-vue/src/views/Login.vue - Session and roles
frontend-vue/src/stores/authStore.js - User administration
frontend-vue/src/views/Usuarios.vue
Spreadsheet import
- Import workflow UI
frontend-vue/src/views/UploadView.vue - Import stages
frontend-vue/src/components/importacao/EtapaEnviar.vue - Spreadsheet ETL
frontend-vue/src/utils/etl.js - Import state and history
frontend-vue/src/stores/uploadStore.js - Client preview
frontend-vue/src/components/PreviaClientes.vue
Client data and analytics
- Browser data service
frontend-vue/src/services/api.js - Shared client base
frontend-vue/src/stores/clientesStore.js - Browser storage
- Dashboard and KPIs
frontend-vue/src/views/Dashboard.vue - Client reports
frontend-vue/src/views/Relatorios.vue
Python processing
- Analytics API entry
analytics-python/api.py - Batch orchestrator
analytics-python/main.py - Data cleaning
analytics-python/limpeza.py - Statistics and insights
analytics-python/analise.py - Analytics persistence
analytics-python/banco.py
Spring Boot
- Spring Boot starter
backend-java/src/main/java/br/com/datapulse/ctiinsights/CtiInsightsApplication.java
Other components
- Visitor / user
Connections 26
- Visitor / user → Public home: opens
README.md - Visitor / user → Login and signup: signs in
README.md - Routes and guards → Public home: routes to
frontend-vue/src/router/index.js - Routes and guards → Login and signup: routes to
frontend-vue/src/router/index.js - Routes and guards → Import workflow UI: routes to
frontend-vue/src/router/index.js - Routes and guards → Dashboard and KPIs: routes to
frontend-vue/src/router/index.js - Routes and guards → Client reports: routes to
frontend-vue/src/router/index.js - Routes and guards → User administration: routes to
frontend-vue/src/router/index.js - Routes and guards → Session and roles: checks access
frontend-vue/src/router/index.js - Login and signup → Session and roles: uses session
frontend-vue/src/views/Login.vue - Session and roles → Browser data service: calls auth
frontend-vue/src/stores/authStore.js - Import workflow UI → Import stages: presents stages
README.md - Import stages → Import state and history: submits import
frontend-vue/src/components/importacao/EtapaEnviar.vue - Import state and history → Spreadsheet ETL: parses and validates
frontend-vue/src/stores/uploadStore.js - Import state and history → Shared client base: replaces base
frontend-vue/src/stores/uploadStore.js - Import state and history → Browser data service: saves history
frontend-vue/src/stores/uploadStore.js - Import stages → Client preview: shows preview
- Shared client base → Browser data service: loads and saves
frontend-vue/src/stores/clientesStore.js - Browser data service → Browser storage: persists locally
README.md - Dashboard and KPIs → Shared client base: reads clients
frontend-vue/src/views/Dashboard.vue - Client reports → Shared client base: reads clients
frontend-vue/src/views/Relatorios.vue - User administration → Session and roles: manages accounts
frontend-vue/src/views/Usuarios.vue - Analytics API entry → Batch orchestrator: invokes processing
analytics-python/api.py - Batch orchestrator → Data cleaning: cleans rows
analytics-python/main.py - Batch orchestrator → Statistics and insights: calculates metrics
analytics-python/main.py - Batch orchestrator → Analytics persistence: writes results
analytics-python/main.py