How go-admin-team/go-admin-ui works
go-admin is a Vue-based administrative UI for a separately deployed Go backend. The main user journey is sign-in, permission-aware navigation, and using administration screens that call REST endpoints; dashboard, profile, monitoring, scheduling, and developer tools provide parallel capabilities. The graph combines sampled runtime wiring with documented product features. Some screens and API modules were not sampled, so their internal calls are omitted rather than inferred.
Main entry points: index.js Route map · layout/index.vue Admin layout · login/index.vue Sign in · request.ts HTTP client
Components 22
App shell
- App bootstrap
src/main.js - Route map
src/router/index.js - Admin layout
src/layout/index.vue - Dashboard
src/views/dashboard/admin/index.vue
Identity and access
- Profile
src/views/profile/index.vue - Sign in
src/views/login/index.vue - Permission routing
src/permission.js - User state
src/stores/user.ts
Administration
- Admin screens
src/views/admin - Admin APIs
src/api/admin - Service monitoring
src/views/sys-tools/monitor.vue - Job scheduling
src/views/schedule/index.vue
Developer tools
- Code generation
src/views/dev-tools/gen/index.vue - Form builder
src/components/FormGenParser/Parser.vue - Form renderer
src/components/FormGenRender/render.js - Generator utilities
src/utils/generator/index.js
Shared platform
- HTTP client
src/utils/request.ts - Localization
src/lang/index.ts - Locale messages
src/lang/locales.ts - App preferences
src/stores/app.ts
Other components
- Operator
- Go API backend
Connections 21
- Operator → Sign in: signs in
README.md - App bootstrap → Route map: installs
src/main.js - App bootstrap → Localization: sets up
src/main.js - Route map → Sign in: routes to
src/router/index.js - Route map → Dashboard: routes to
src/router/index.js - Route map → Profile: routes to
src/router/index.js - Route map → Admin layout: uses
src/router/index.js - Operator → Admin layout: uses
- Admin layout → App preferences: reads state
src/layout/index.vue - Sign in → User state: authenticates
- Permission routing → User state: checks access
- Admin screens → Admin APIs: uses endpoints
- Service monitoring → HTTP client: fetches metrics
- Admin APIs → HTTP client: issues requests
src/api/admin/dict/data.ts - HTTP client → Go API backend: calls REST API
README.md - Job scheduling → Go API backend: uses REST API
- Code generation → Go API backend: uses REST API
- Form builder → Form renderer: renders with
src/components/FormGenParser/Parser.vue - Form builder → Generator utilities: uses
src/components/FormGenParser/Parser.vue - Form renderer → Generator utilities: uses
src/components/FormGenRender/render.js - Localization → Locale messages: selects locale
src/lang/index.ts