How dewantara765/mpl-golang-teams works
This repository implements a tournament and esports-team management product: public users browse tournaments, phases, matches, standings, and heroes; administrators manage tournament data and match details. The frontend routes these experiences and uses a shared HTTP client. The Go backend is organized around routes, controllers, services, repositories, and domain models. The README is empty, and backend wiring was not excerpted, so backend relationships are not asserted here; several less-visible frontend capabilities are represented by their exact source directories.
Main entry points: index.tsx Route map · api.ts HTTP client · dashboard Management views · main.tsx React entry
Components 18
Web application
- React entry
fe-mpl-teams/src/main.tsx - App shell
fe-mpl-teams/src/App.tsx - Route map
fe-mpl-teams/src/routes/index.tsx - HTTP client
fe-mpl-teams/src/services/api.ts - Pagination helper
fe-mpl-teams/utils/pagination.ts
Public browsing
- Public layout
fe-mpl-teams/src/layouts/DefaultLayout.tsx - Public views
fe-mpl-teams/src/views - Phase matches
fe-mpl-teams/src/views/phase/match.tsx - Hero catalogue
fe-mpl-teams/src/views/hero/index.tsx
Administration
- Dashboard layout
fe-mpl-teams/src/layouts/DashboardLayout.tsx - Management views
fe-mpl-teams/src/views/dashboard
Backend domain
- API routes
mpl-team/routes/route.go - Domain controllers
mpl-team/controllers - Domain services
mpl-team/services - Repositories
mpl-team/repositories - Domain models
mpl-team/models - Query scopes
mpl-team/scopes
Other components
- Browser user
Connections 14
- Browser user → React entry: opens
fe-mpl-teams/src/main.tsx - React entry → App shell: renders
fe-mpl-teams/src/main.tsx - App shell → Route map: renders
fe-mpl-teams/src/App.tsx - Route map → Public layout: routes through
fe-mpl-teams/src/routes/index.tsx - Route map → Public views: routes to
fe-mpl-teams/src/routes/index.tsx - Route map → Phase matches: routes to
fe-mpl-teams/src/routes/index.tsx - Route map → Hero catalogue: routes to
fe-mpl-teams/src/routes/index.tsx - Route map → Dashboard layout: routes through
fe-mpl-teams/src/routes/index.tsx - Route map → Management views: routes to
fe-mpl-teams/src/routes/index.tsx - Public views → HTTP client: requests data
fe-mpl-teams/src/views/tournament/index.tsx - Phase matches → HTTP client: requests data
- Hero catalogue → HTTP client: requests data
fe-mpl-teams/src/views/hero/index.tsx - Management views → HTTP client: requests data
fe-mpl-teams/src/views/dashboard/match/index.tsx - Management views → Pagination helper: uses pages
fe-mpl-teams/src/views/dashboard/match/index.tsx