Superteam Academy
Join Now

Platform Overview

Superteam Academy is a Solana-native learning platform with interactive courses, XP progression, streaks, achievements, on-chain credentials, wallet auth, and a community forum.

Primary stack: Next.js App Router, Supabase, Sanity CMS, Solana wallet adapter, Tailwind UI.

Core Pages

Home, Courses, Course Detail, Lesson View, Dashboard, Profile, Leaderboard, Settings, Certificates, Community, About, Contact, Privacy Policy, Terms & Conditions, and Docs.

Course Flow

Users enroll into courses, complete lessons, earn XP, and progress through lock-aware lesson ordering.

Course and lesson content are sourced from Sanity and synced into Supabase tables for app queries.

Gamification

XP and levels come from `user_progress`. Daily check-in updates streak and rewards XP. Achievements are awarded from progress milestones.

Achievements now support locked/unlocked display and mint actions for unlocked items.

Wallet & Authentication

Email/password auth is provided by Supabase. Wallet sign-in derives deterministic credentials from wallet signature.

Wallet addresses are linked to user profiles via API and used for certificate/achievement minting.

Community Forum

Community includes post listing, post detail page, search, create-post modal, replies, and upvote toggle.

Routes include `/community` and `/community/[postId]` with API routes for post/reply/upvote actions.

Certificates

Course completion can trigger certificate mint preparation, wallet signing, and confirmation save flow.

User certificates are listed on `/certificates` and can be opened as detail pages.

Leaderboard

Leaderboard supports `global`, `monthly`, `weekly`, and `daily` ranges.

Global ranks by total XP, period ranges rank by XP earned from lesson completions within the period.

CMS Integration

Sanity defines the content model. Supabase acts as app-facing cache and progress database.

For content operations and sync notes, use External Links below.

Analytics

Client-side provider supports GA4, Clarity, and PostHog hooks from environment variables.

Page view tracking is wired in the app router via a pathname-based analytics hook.