A full-stack community feed application featuring threaded comments and a real-time karma leaderboard.
This project implements a social feed where users can post updates, engage in deep discussions via nested threaded comments, and compete on a rolling 24-hour leaderboard based on engagement.
Key Features:
- Community Feed: Create posts and view a chronological feed.
- Threaded Comments: Infinite nesting depth for discussions.
- Leaderboard: Top 5 users based on karma earned in the last 24 hours (weighted scoring).
- Backend: Python, Django, Django REST Framework (DRF)
- Frontend: React, Tailwind CSS
- Database: SQLite (Default for local setup) / PostgreSQL (Production ready)
-
Navigate to backend:
cd backend -
Create virtual environment & install dependencies:
python -m venv venv # Windows venv\Scripts\activate # macOS/Linux source venv/bin/activate pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Start server:
python manage.py runserver
Runs on:
http://localhost:8000
-
Navigate to frontend:
cd frontend -
Install dependencies:
npm install
-
Start development server:
npm run dev
Runs on:
http://localhost:5173(typically)
- Live Frontend: https://playto-frontend-85wo.onrender.com
- Live Backend (API): https://playto-qrbo.onrender.com