This project creates a personalized profile page by querying user data from Zone01's GraphQL API. It features a secure login system and displays user information with interactive SVG-based data visualizations.
- GraphQL Integration – Fetches user data from Zone01's GraphQL endpoint
- Secure Authentication – JWT-based login (username/email + password)
- Profile Display – Shows user info (XP, grades, audits, skills, etc.)
- Data Visualization – Interactive SVG graphs for progress tracking
- Zone01 Account Required – Only registered Zone01 users can authenticate
- Modern web browser (Firefox recommended)
git clone https://learn.zone01kisumu.ke/git/johnodhiambo0/graphql.git
cd graphql
- Login accepts
username:password
oremail:password
- Uses Basic Auth with base64 encoding
- Retrieves JWT from
/api/auth/signin
- Implements proper error handling
Displays at least 3 sections from:
- Basic user info
- XP amount
- Grades
- Audits
- Skills
- Minimum 2 graph types from:
- XP over time
- XP by project
- Audit ratio
- PASS/FAIL ratios
- Piscine stats
- GraphQL:
https://learn.zone01kisumu.ke/api/graphql-engine/v1/graphql
- Auth:
https://learn.zone01kisumu.ke/api/auth/signin
Contributions welcome! Please fork the repository and submit pull requests.
Note: This application only works with valid Zone01 Kisumu credentials. Demo account available upon request.