Real-time analytics dashboard for tracking GTE.xyz platform metrics. Built to provide instant visibility into token launches, trading activity, and platform growth.
GTE Insight gives you a live view of what's happening on the GTE platform. Watch tokens being created and graduated, track perpetual and swap volumes, monitor position activity, and see everything unfold in real-time through an event feed.
The dashboard runs entirely on the frontend right now using simulated data that mimics real platform behavior. Once GTE hits mainnet, we'll plug in the actual API and you'll see genuine platform activity.
Dashboard View
- 8 live KPI cards showing platform metrics
- Charts for volumes, positions, fees, and token activity
- All metrics update continuously to show growth trends
- Click any KPI card to jump straight to its chart
Event Feed
- Live stream of platform events (tokens, trades, swaps)
- Filter by event type (Token Created, Token Graduated, Long/Short Positions, Swaps)
- Event counters at the top show totals across categories
Design
- Dark theme using GTE's brand colors (that signature orange)
- Works great on mobile, tablet, and desktop
- Smooth animations without being distracting
- Clean, modern interface that gets out of your way
- Next.js 14 with App Router
- TypeScript for type safety
- Tailwind CSS for styling
- ECharts for data visualization
gteinsight/
├── app/
│ ├── layout.tsx # Root layout, metadata, fonts
│ ├── page.tsx # Main dashboard with KPIs and charts
│ ├── terminal/
│ │ └── page.tsx # Event feed page
│ └── globals.css # Global styles and CSS variables
│
├── components/
│ ├── KPICard.tsx # Reusable KPI card with click-to-scroll
│ ├── charts/
│ │ ├── LineChart.tsx # Line chart for trends
│ │ └── BarChart.tsx # Bar chart for volumes
│ └── ui/
│ └── vercel-tabs.tsx # Tab component for event filters
│
├── lib/
│ ├── mockData.ts # Mock KPI and chart data
│ ├── terminalData.ts # Mock event generation
│ └── utils.ts # Utility functions
│
├── hooks/
│ ├── useRealtimeMetrics.ts # Hook for live KPI updates
│ └── useRealtimeEventCounts.ts # Hook for event counter updates
│
├── backend/ # Ready but not connected yet
│ ├── api/
│ │ └── routes.ts # API endpoint definitions
│ ├── services/
│ │ ├── metricsService.ts # Metrics data service
│ │ └── eventsService.ts # Events data service
│ ├── models/
│ │ └── types.ts # TypeScript type definitions
│ └── config/
│ └── database.ts # Database schema and config
│
└── public/ # Static assets
├── icon.svg # App icon
└── site.webmanifest # PWA manifest
# Install dependencies
npm install
# Start dev server
npm run devOpen http://localhost:3000 and you're good to go.
Everything you see is simulated to feel real:
- KPI Metrics: Start from zero and continuously increase at set rates (e.g., 10 tokens/min, $1M perp volume/min)
- Charts: Show 30 days of historical data with realistic variance
The simulation is sophisticated enough that it'll be a clean swap to real data when the time comes.
There's a full backend structure in the /backend folder with API routes, services, and data models all defined. It's not running or connected to the frontend yet - we're waiting for GTE mainnet. When that happens, it's just a matter of:
- Connecting to the actual GTE API
- Updating the services to fetch real data
- Swapping out the mock hooks in the frontend
Everything's designed to make that transition smooth.
The color palette matches GTE's brand:
- Primary Orange:
#FF7817 - Dark Background:
#0A0A0A - Card Background:
#1A1A1A - Accent Cyan:
#00D4FF - Accent Green:
#00FF88 - Accent Red:
#FF4444
npm run build
vercel deploydocker build -t gteinsight .
docker run -p 3000:3000 gteinsightNone required for the frontend. When you connect the backend later, you'll need:
GTE_API_URL=https://api.gte.xyz
DATABASE_URL=your_db_connection_stringThis is a community project. If you want to add features or fix bugs:
- Fork it
- Create a branch
- Make your changes
- Submit a PR
Keep the code clean, match the existing style, and test on mobile.
MIT - do whatever you want with it.
Built for the GTE community