
LearnArc is a pay-per-use AI education platform designed to make learning more flexible and cost-efficient. Instead of paying upfront for full courses, users are charged micro-amounts based on actual consumption — per minute of video watched, per page of PDF read, and per AI tutor interaction. The platform uses a modern full-stack architecture with a Next.js frontend deployed on Vercel and a FastAPI backend hosted on Render. MongoDB is used for storing users, courses, lessons, transactions, and chat history. The backend follows a clean layered architecture (Controller → Service → Repository) to ensure scalability and maintainability. An integrated AI tutor enhances the learning experience by providing real-time assistance using LLM APIs. Every interaction is tracked and priced dynamically, enabling a true usage-based billing model. The system also includes authentication with JWT, transaction tracking, and a wallet system that aggregates user spending. Although blockchain payments are currently mocked, the architecture is designed to easily integrate real micropayments such as USDC in the future. This project demonstrates how AI, microtransactions, and modern cloud deployment can be combined to build the next generation of accessible and fair digital education platforms.
26 Apr 2026