DEV Community

Syed Mehrab
Syed Mehrab

Posted on

๐Ÿš€ LearnArc โ€” Pay-Per-Use AI Learning Platform


In this hackathon, we built LearnArc, an AI-powered education platform designed to make learning more flexible, affordable, and accessible โ€” especially for students who cannot afford expensive upfront course fees.

๐Ÿš€ Try it out

๐Ÿ‘‰ Live Demo: https://nano-payments-arc-fe.vercel.app/

๐Ÿ’ก The Idea

Most online learning platforms charge users for full courses, even if they only consume a small portion. We wanted to change that.

LearnArc introduces a usage-based model:

๐ŸŽฅ Pay per minute of video watched
๐Ÿ“„ Pay per PDF page read
๐Ÿค– Pay per AI tutor interaction

This approach makes learning fair, transparent, and cost-efficient, especially for users in remote or underserved areas.

๐Ÿ—๏ธ

Tech Stack & Deployment

We built a modern full-stack system:

Frontend: Next.js deployed on Vercel
Backend: FastAPI deployed on Render
Database: MongoDB
AI Models: Integrated via multiple providers
Payments: Designed around USDT-based microtransactions

The backend follows a clean architecture:
Controller โ†’ Service โ†’ Repository, making it scalable and easy to extend.

๐Ÿค– AI Integration (Featherless + AIMLAPI)

One of the most interesting parts of our project was working with Featherless and AIMLAPI.

๐Ÿ”น Featherless Platform

Featherless provides access to multiple AI models in one place, making it easier to:

Switch between models
Test different responses
Build AI-powered features quickly

Instead of being locked into a single provider, we could experiment and design our AI tutor more flexibly.

AIMLAPI

We also explored AIMLAPI, which offers:

Unified API access to multiple LLMs
Simplified integration
Faster prototyping for AI applications

Together, these platforms helped us accelerate development and focus more on product logic rather than low-level integrations.

โšก Key Features

๐Ÿ’ฌ AI Tutor for real-time learning support
๐Ÿ’ฐ Usage-based billing system
๐Ÿ” JWT Authentication
๐Ÿ“Š Wallet & transaction tracking
๐Ÿ“š Course & lesson management

โš ๏ธ Challenges We Faced

Like any hackathon project, we faced a few issues:

Deployment issues (initially with backend hosting)
API timeout/debugging challenges
Time constraints while balancing other commitments
Handling usage tracking accuracy for billing

โœ… How We Solved Them

Switched deployment strategy and stabilized backend on Render
Improved logging and debugging for API calls
Simplified architecture to focus on core features
Designed a flexible transaction system for future scaling

๐Ÿ”ฎ Future Scope

We are planning to take LearnArc beyond the hackathon:

๐Ÿ”— Integrate real crypto micropayments (USDT/USDC)
โšก Improve performance and scalability
๐Ÿ“ฑ Enhance UI/UX for better accessibility
๐ŸŒ Focus on remote education use cases
โค๏ธ Final Thoughts

LearnArc is more than just a hackathon project. Itโ€™s a step toward a future where:

Education is accessible, affordable, and truly pay-as-you-learn.

By combining AI + microtransactions + modern cloud platforms, we believe this model can make a real impact especially in regions where every small cost matters.

Top comments (0)