How fagundesrafael/sigeo works
SIGEO is a web system for registering, searching, editing and monitoring procedure-related objects across several categories. Users authenticate, browse category records or the unified inventory, and use forms and filters to manage entries; a dashboard presents statistics, while settings maintain category reference data. The graph groups category APIs and data models to keep the many similar record types legible. The README documents editing, authentication and navigation capabilities beyond the sampled implementation; some UI-to-API links are therefore documented or left out where source evidence is unavailable.
Main entry points: dbConnect.js MongoDB Connection · app Category Workspaces · authOptions.js Auth Configuration · api Category Record APIs
Components 21
Access and Shell
- Authentication
app/api/auth/[...nextauth]/route.js - Protected App Shell
components/ClientWrapper.js - Auth Configuration
lib/authOptions.js
Object Inventory
- Category Workspaces
app - All Objects View
app/todosobjetos/page.js - Category Record APIs
app/api - Unified Search API
app/api/todosobjetos/route.js - Object Entry Forms
components - Search and Pagination
components - Image Upload
app/api/upload-image/route.js
Monitoring
- Statistics Dashboard
app/estatistica/page.js - Category Statistics
components/EstatisticaAutomotores.js - PDF Rendering
lib/pdfCanvas.js
Reference Settings
- Category Settings
app/configs/page.js - Setting Sections
components - Settings API
app/api/configs/route.js
Persistence
- MongoDB Connection
lib/dbConnect.js - Object Data Models
models - Configuration Model
models/Config.js - User Model
models/User.js
Other components
- User
Connections 23
- User → Authentication: authenticates
- User → Category Workspaces: manages records
- User → Statistics Dashboard: views metrics
- User → Category Settings: maintains references
- Authentication → Auth Configuration: uses options
- Auth Configuration → MongoDB Connection: connects through
lib/authOptions.js - Auth Configuration → User Model: checks users
lib/authOptions.js - Protected App Shell → Authentication: checks session
components/ClientWrapper.js - Category Workspaces → Category Record APIs: manages records
- Category Workspaces → Object Entry Forms: uses forms
app/page.js - Category Workspaces → Search and Pagination: filters lists
app/page.js - All Objects View → Unified Search API: queries inventory
- Category Record APIs → MongoDB Connection: connects
app/api/automotores/route.js - Category Record APIs → Object Data Models: reads and writes
app/api/automotores/route.js - Unified Search API → MongoDB Connection: connects
app/api/todosobjetos/route.js - Unified Search API → Object Data Models: queries categories
app/api/todosobjetos/route.js - Category Settings → Setting Sections: renders sections
app/configs/page.js - Category Settings → Settings API: loads and saves
app/configs/page.js - Settings API → MongoDB Connection: connects
app/api/configs/route.js - Settings API → Configuration Model: reads and saves
app/api/configs/route.js - Statistics Dashboard → Category Statistics: renders statistics
app/estatistica/page.js - Category Statistics → PDF Rendering: renders reports
components/EstatisticaAutomotores.js - Image Upload → MongoDB Connection: stores image reference