• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
jibolad1

jibolad1

LearnEasy

Public
Like
LearnEasy
Home
Code
4
backend
3
frontend
5
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

Student Tutoring Platform

A comprehensive peer-to-peer tutoring platform for students to offer and request academic help.

Features

  • Skill Profiles: Students can list their subject expertise and mastery levels
  • Post Feed: Request help with specific subjects (e.g., "Can someone teach me Biology?")
  • Built-in Chat: Direct messaging for arranging tutoring sessions
  • Location-Based Groups: Separate groups for different schools/levels
  • Reputation System: Star ratings based on tutoring success and exam results

Project Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ migrations.ts    # Database schema setup
β”‚   β”‚   └── queries.ts       # Database query functions
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ auth.ts         # Authentication routes
β”‚   β”‚   β”œβ”€β”€ posts.ts        # Post feed management
β”‚   β”‚   β”œβ”€β”€ chat.ts         # Messaging system
β”‚   β”‚   β”œβ”€β”€ users.ts        # User profiles and skills
β”‚   β”‚   └── static.ts       # Static file serving
β”‚   └── index.ts            # Main API entry point
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.tsx         # Main application
β”‚   β”‚   β”œβ”€β”€ PostFeed.tsx    # Help request feed
β”‚   β”‚   β”œβ”€β”€ Chat.tsx        # Messaging interface
β”‚   β”‚   β”œβ”€β”€ Profile.tsx     # User profile management
β”‚   β”‚   └── SkillCard.tsx   # Skill display component
β”‚   β”œβ”€β”€ index.html          # Main HTML template
β”‚   β”œβ”€β”€ index.tsx           # Frontend entry point
β”‚   └── style.css           # Custom styles
└── shared/
    └── types.ts            # Shared TypeScript types

Getting Started

  1. The backend runs on Hono with SQLite for data storage
  2. Frontend uses React with TailwindCSS for styling
  3. Real-time features use polling for simplicity
  4. Authentication uses simple session-based auth

API Endpoints

  • GET / - Serve the main application
  • POST /api/auth/login - User authentication
  • GET /api/posts - Get help request posts
  • POST /api/posts - Create new help request
  • GET /api/chat/:userId - Get chat messages
  • POST /api/chat - Send message
  • GET /api/users/profile - Get user profile
  • PUT /api/users/skills - Update user skills
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.