RankdResume Admin Panel
Full-featured admin dashboard for platform management
Overview
The Admin Panel is a React + Vite SPA that gives the Codefliq team full visibility and control over the RankdResume platform. It talks directly to the NestJS backend over authenticated REST APIs and to the Railway API for infrastructure monitoring.
Key Features
How It Works
Authentication
Admin logs in with a secret token stored in localStorage. All API requests include this token as a Bearer header.
Data Fetching
Each page fetches data from the NestJS `/admin/*` endpoints which are protected by an admin guard middleware.
Infrastructure Monitoring
The Infrastructure page calls the Railway GraphQL API to fetch live service metrics, CPU, memory, and estimated monthly billing.
AI Cost Tracking
Every AI request is logged in the `usage_log` table with provider, tokens, and cost. Recharts visualizes this over time.
Tech Stack
Frontend
- React 18
- Vite 5
- TypeScript
- MUI 7
- Recharts
Auth
- admin_token (localStorage)
- Protected routes
APIs
- NestJS Admin REST API
- Railway GraphQL API
Deployment
- Vercel
Interested in building something similar?
Get in Touch