Real-time Study Collaboration Platform
Build meaningful connections, share knowledge, and grow together
- About
- Features
- Tech Stack
- Getting Started
- Usage
- Screenshots
- Architecture
- Contributing
- License
- Contact
CollabStudy v1 is a sophisticated collaboration platform engineered for students, researchers, and developers to create focused study spaces, exchange ideas in real-time, and foster academic growth. Built as a production-ready Django monolith, it serves as the foundation for the upcoming v2 microservices architecture with AI-powered features.
| Feature | Description |
|---|---|
| 🔐 Secure Authentication | Google & GitHub OAuth sign-in (django-allauth) — no passwords |
| 🏠 Study Rooms | Create, join, and manage topic-specific study rooms |
| 💬 Real-time Messaging | Instant communication within study rooms |
| 📊 Activity Feed | Stay updated with platform-wide discussions and activities |
| 🏷️ Topic Discovery | Explore rooms by subjects and interests |
| 🎨 Premium UI/UX | Modern dark theme with responsive design powered by Tailwind CSS |
| 👥 User Profiles | Customizable profiles with bios and contribution tracking |
| 🔧 Admin Dashboard | Full Django admin panel for platform management |
- Framework: Django 5.x
- Language: Python 3.x
- Database: PostgreSQL (Production) / SQLite (Development)
- API: Django REST Framework
- Security: Django's built-in authentication & CSRF protection
- Styling: Tailwind CSS
- Interactivity: Vanilla JavaScript
- Icons: Custom SVG icons
- Fonts: Inter Font Family
- Hosting: Render
- WSGI Server: Gunicorn
- Static Files: Whitenoise
- HTTPS: Auto SSL via Let's Encrypt
Live at https://collabstudy-rwqj.onrender.com
- Hosting: Render web service (free tier, auto-deploys from
main) - Database: Neon serverless PostgreSQL — free and
never expires (unlike Render's 30-day free Postgres).
DATABASE_URLis set manually in the Render service's Environment tab. - Static files: collected during the build; migrations run at startup via
render.sh
Required environment variables:
| Variable | Example | Purpose |
|---|---|---|
SECRET_KEY |
<random 50+ chars> |
Django signing/security key |
DEBUG |
false |
Must be false in production |
ALLOWED_HOSTS |
.onrender.com |
Allowed request hosts |
CSRF_TRUSTED_ORIGINS |
https://*.onrender.com |
HTTPS origins allowed for POST |
DATABASE_URL |
postgres://…@…neon.tech/… |
Neon PostgreSQL connection |
GOOGLE_CLIENT_ID |
<from Google Cloud> |
Google OAuth client ID |
GOOGLE_CLIENT_SECRET |
<from Google Cloud> |
Google OAuth client secret |
GITHUB_CLIENT_ID |
<from GitHub> |
GitHub OAuth client ID |
GITHUB_CLIENT_SECRET |
<from GitHub> |
GitHub OAuth client secret |
⚠️ Uploaded avatars live on the instance disk and are wiped on redeploys — for permanent storage, move uploads to Cloudinary/S3 (planned for v2).
- Python 3.10 or higher
- pip package manager
- Git
-
Clone the repository
git clone https://github.com/Hayredin950/CollabStudy-v1.git cd CollabStudy-v1 -
Set up virtual environment
# Linux/macOS python3 -m venv venv source venv/bin/activate # Windows python -m venv venv .\venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Configure environment Create a
.envfile in the root directory:DEBUG=True SECRET_KEY=your-secret-key-here ALLOWED_HOSTS=localhost,127.0.0.1
-
Run database migrations
python manage.py migrate
-
Create a superuser (optional but recommended)
python manage.py createsuperuser
-
Start the development server
python manage.py runserver
-
Open your browser Navigate to
http://localhost:8000to see the application!
- Sign In: Click Continue with Google or Continue with GitHub (your first sign-in auto-creates your account — no passwords)
- Explore Rooms: Browse study rooms by topics or search
- Join Discussions: Participate in real-time conversations
- Create Rooms: Start your own study space for specific subjects
- Access the admin panel at
http://localhost:8000/admin - Manage users, rooms, messages, and topics
- Monitor platform activity and moderate content
Coming Soon
CollabStudy v1 follows Django's classic Model-View-Template (MVT) architecture:
CollabStudy-v1/
├── base/ # Main application
│ ├── api/ # REST API endpoints
│ ├── migrations/ # Database migrations
│ ├── templates/ # HTML templates
│ ├── admin.py # Admin configuration
│ ├── models.py # Database models
│ ├── views.py # Request handlers
│ └── urls.py # URL routing
├── static/ # Static files (CSS, JS, images)
├── staticfiles/ # Collected static files for production
├── manage.py # Django management script
└── requirements.txt # Python dependencies
This v1 serves as a proof of concept. Version 2 will feature:
- Microservices: NestJS, FastAPI, and standalone services
- AI Integration: LangChain-powered study assistants
- Vector Search: Semantic search using pgvector
- Real-time: WebSocket-based communication
- Modern UI: Next.js with React
Contributions are what make the open-source community such an amazing place! Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Hayredin - hayredin.950@gmail.com
Project Link: https://github.com/Hayredin950/CollabStudy-v1
Built with ❤️ by Hayredin
© 2026 CollabStudy. All rights reserved.
