Skip to content

pasosdeJesus/learn.tg

Repository files navigation

Learn.tg - Aprender Mediante Juegos / Learn Through Games

"Whatever you do, work at it with all your heart, as working for the Lord, not for human masters." (Colossians 3:23)

Pipeline Status Code Climate

Learn.tg is a gamified educational platform that makes learning engaging through crossword puzzles, with a core mission rooted in Christian principles. Our platform at learn.tg allows students to earn cryptocurrency rewards for mastering educational content.

📜 Foundational Document

🎯 Our Mission in Action

We believe technology should serve a higher purpose. By combining quality content with gamification and transparent cryptocurrency incentives, Learn.tg puts this mission into action:

  • Making Learning Joyful: We transform education from a chore into an engaging and interactive experience.
  • Rewarding Diligence: We provide tangible rewards for achievement, honoring the effort students put in.
  • Building Trust: We use blockchain for a transparent and trustless reward system.
  • Global Reach: We empower teachers to create and manage courses for a global audience, spreading knowledge and opportunity.

🚀 Technical Architecture

The platform consists of three main components working in unison:

  1. Backend (servidor/): A Ruby on Rails application that serves as the administrative hub for managing courses, users, and content.
  2. Frontend (apps/nextjs/): A Next.js application that provides the user interface, handles user authentication via crypto wallets (SIWE), and delivers educational content.
  3. Smart Contracts (apps/hardhat/): Solidity contracts deployed on the Celo network to manage and distribute USDT rewards transparently and securely.

For a detailed technical overview, please see ARCHITECTURE.md.

🏃 Getting Started

Quick frontend-only development (no backend setup)

git clone <repo-url>
cd apps/nextjs
cp .env.template .env
# Edit .env:
#   NEXT_PUBLIC_API_URL=https://learn.tg:9001/api
#   NEXT_PUBLIC_API_BASE=https://learn.tg:3500/learntg-admin
#   NEXTAUTH_SECRET=<any-random-string>
pnpm install
bin/dev

Open http://localhost:4000. No database or Rails setup needed. All API requests are proxied to the live server.

Full development

To set up the Rails backend and smart contracts as well, see:

🤖 For AI Agents

As an AI agent, your starting point is the AGENTS.md file. Please read it.

About

Learn through games

Resources

License

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors