Skip to content

Repository files navigation

Campus Connect

πŸŽ“ Campus Connect

The AI-Powered Digital Campus Ecosystem

Transforming students experience college life β€” one feature at a time.


React Vite Supabase Tailwind CSS Groq React Router PostgreSQL Vercel


🌐 Live Demo β€’ πŸ“Έ Screenshots β€’ πŸš€ Quick Start


🌟 What is Campus Connect?

Campus Connect is a production-grade, full-stack AI-powered student collaboration platform I built from scratch for Maharishi Markandeshwar University (MMDU), Ambala, Haryana.

Gone are the days of scattered WhatsApp groups, missed placement deadlines, and lost notices. Campus Connect brings everything under one roof β€” a blazing-fast, real-time platform where students and administrators co-exist in a seamlessly connected digital campus.

This isn't just a college project. This is a startup-ready product.

Built by: Ayush B.Tech Computer Science Engineering, 4th Semester, MMDU


πŸ›  Complete Technology Arsenal

Core Framework & Build

Technology Version Purpose
React 18.x UI component architecture
Vite 5.x Lightning-fast build tool & HMR
React Router v6 6.x Client-side routing & navigation
JavaScript ES2024 β€” Modern async/await patterns

Styling & Design System

Technology Purpose
Tailwind CSS v3 Utility-first responsive styling
shadcn/ui Premium accessible component library
Radix UI Headless UI primitives under shadcn
Lucide React Beautiful consistent icon system
CSS Custom Properties Dynamic theming variables

Backend & Infrastructure

Technology Purpose
Supabase Backend-as-a-Service platform
PostgreSQL 15 Primary relational database
Supabase Auth JWT-based authentication system
Supabase Storage File storage for PDFs and images
Supabase Realtime WebSocket-based live data sync
Supabase Edge Functions Serverless Deno runtime functions
Row Level Security Database-level access control

AI & Intelligence Layer

Technology Purpose
Groq API Ultra-fast LLM inference engine
llama3-8b-8192 Open-source language model
Streaming API Real-time token-by-token responses
RAG Architecture Context-aware notice querying
react-markdown Markdown rendering for AI responses
@tailwindcss/typography Beautiful prose formatting

Communications & Automation

Technology Purpose
Resend Transactional email delivery
Supabase Cron Scheduled deadline check jobs
Custom HTML Emails Branded deadline reminder emails

Developer Experience

Technology Purpose
Git & GitHub Version control & collaboration
Vercel Zero-config production deployment
ESLint Code quality enforcement
PostCSS CSS transformation pipeline

✨ Feature Showcase

πŸ‘¨πŸŽ“ Student Panel β€” Built for Students, by a Student

πŸ“Š Intelligent Dashboard A real-time command center showing live stats, upcoming deadlines, recent notes, placement drives and important notices β€” all updating instantly without a single page refresh.

πŸ“š Notes Library A full-featured academic resource hub. Upload PDFs, filter by subject and semester, track download counts, and access study materials from anywhere. Powered by Supabase Storage with instant previews.

πŸ“… Events & Announcements Never miss a college event again. Live countdown timers, category filters, featured event banners and one-click registration links for every workshop, seminar, fest and hackathon.

πŸŽ“ Placement Hub A hyper-organized placement board showing real-time company drives with CGPA eligibility filters, deadline countdowns, package details and direct application links. Color-coded urgency indicators for closing drives.

πŸ” Lost & Found A compassionate community board for lost and found items across campus. Image uploads, category filtering, location tagging and real-time status updates.

πŸ’¬ Discussion Forum A Stack Overflow-inspired academic forum with upvoting, accepted answers, tag-based filtering, solved/unsolved status and pinned questions. Real community knowledge sharing.

πŸ“’ Official Notices A clean notice board with AI-powered querying. Students can ask natural language questions about any notice and get instant intelligent answers. Type filters, importance flags and PDF attachments.

🏫 Campus Clubs A vibrant club discovery portal. Join/leave clubs with one click, view member lists, browse club events and follow clubs on social media. Real-time member count updates.

βš™οΈ Settings & Profile Granular control over profile information, password management, and notification preferences with individual toggle controls per notification type.


πŸ€– AI Intelligence Suite

🧠 AI Buddy A persistent AI assistant living in the sidebar with access to real-time campus data β€” active placement drives, upcoming events, latest notices and available notes. Powered by Groq's llama3-8b-8192 model for near-instant responses. Supports multi-turn conversations with context memory.

πŸ“„ AI Notice Assistant Every official notice gets its own AI assistant. Ask "What is the deadline?", "Who is eligible?" or "Summarize this notice" and get precise, context-aware answers drawn directly from the notice content.

πŸ“– Study Assistant Transform any note into an interactive study session:

  • Smart Summaries β€” Bullet-point breakdowns with key concepts
  • AI Quiz Generator β€” Auto-generated MCQs with scoring and explanations
  • Flashcard Deck β€” 3D flip-card study decks with shuffle and navigation

πŸ” Admin Panel β€” Full Platform Control

πŸ“Š Executive Dashboard High-level platform metrics, user growth trends, branch-wise student distribution and recent activity feeds. Everything an administrator needs at a glance.

πŸ“’ Notice Management Push important notices to thousands of students instantly. Toggle importance flags, set expiry dates and manage the entire notice lifecycle from a clean table interface.

πŸ’Ό Placement Management Full CRUD control over company drives. Toggle active status, edit eligibility criteria, update deadlines and manage applications for every placement opportunity.

πŸ“… Event Management Create, pin and manage campus events. Add posters, set registration deadlines, toggle paid/free status and control what students see on the events page.

πŸ‘₯ User Management Complete visibility into every registered student. Change user roles inline, deactivate accounts, search and filter by branch/semester/role, and deep-dive into individual user profiles with activity statistics.

πŸ“ˆ Platform Analytics Data-driven insights into platform health β€” most downloaded notes, trending forum discussions, branch demographics, content growth trends and engagement metrics.


⚑ Platform Architecture Highlights

πŸ”„ Real-Time Everything Every page subscribes to Supabase Realtime WebSocket channels. When an admin posts a notice, every logged-in student sees it appear in under 500ms β€” no polling, no refresh.

πŸ“§ Automated Email System Supabase Edge Functions run on a daily cron schedule, scanning for deadlines and automatically dispatching beautifully designed HTML reminder emails at 7 days and 1 day before every deadline.

πŸ›‘οΈ Enterprise-Grade Security Row Level Security policies at the database level ensure users can only access their own data. Role-based routing guards protect every admin route from unauthorized access.

πŸ”” Live Notification System In-app notification bell with unread count badges, type-based categorization, mark-as-read functionality and auto-refresh polling β€” keeping students informed without interrupting their workflow.


πŸš€ Installation & Setup

1. Clone the repository:

git clone https://github.com/coderayushraj-png/campus-connect.git
cd campus-connect

2. Install dependencies:

npm install

3. Start development server:

npm run dev

App runs at http://localhost:3000


πŸ‘‘ Creating an Admin Account

All new users get student role by default. To elevate an account to Admin:

  1. Register normally via the signup page
  2. Go to Supabase Dashboard β†’ SQL Editor
  3. Run:
UPDATE public.profiles 
SET role = 'admin' 
WHERE email = 'your@email.com';
  1. Sign out and login again
  2. Automatically redirected to /admin/dashboard

πŸ“‚ Project Structure

campus-connect/
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ AIBuddy.jsx
β”‚   β”‚   β”œβ”€β”€ NotificationBell.jsx
β”‚   β”‚   └── NotificationPanel.jsx
β”‚   β”œβ”€β”€ hooks/
β”‚   β”‚   β”œβ”€β”€ useRealtimeTable.js
β”‚   β”‚   └── useDashboardRealtime.js
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   └── supabase.js
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ auth/
β”‚   β”‚   β”‚   β”œβ”€β”€ Login.jsx
β”‚   β”‚   β”‚   └── Signup.jsx
β”‚   β”‚   β”œβ”€β”€ student/
β”‚   β”‚   β”‚   β”œβ”€β”€ Dashboard.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Notes.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Events.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Placement.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ LostFound.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Forum.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Notices.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Clubs.jsx
β”‚   β”‚   β”‚   └── Settings.jsx
β”‚   β”‚   └── admin/
β”‚   β”‚       β”œβ”€β”€ Dashboard.jsx
β”‚   β”‚       β”œβ”€β”€ Notices.jsx
β”‚   β”‚       β”œβ”€β”€ Placements.jsx
β”‚   β”‚       β”œβ”€β”€ Events.jsx
β”‚   β”‚       β”œβ”€β”€ Users.jsx
β”‚   β”‚       └── Analytics.jsx
β”‚   β”œβ”€β”€ App.jsx
β”‚   β”œβ”€β”€ main.jsx
β”‚   └── index.css
β”œβ”€β”€ supabase/
β”‚   └── functions/
β”‚       β”œβ”€β”€ send-deadline-email/
β”‚       └── check-deadlines/
β”œβ”€β”€ README.md
β”œβ”€β”€ package.json
└── vite.config.js

πŸ† Why Campus Connect Stands Out

βœ… Production-ready architecture βœ… Real AI integration (not just ChatGPT wrappers) βœ… Live real-time sync across all pages βœ… Automated email notification pipeline βœ… Enterprise-grade database security (RLS) βœ… Separate admin and student experiences βœ… Mobile responsive design βœ… Seeded with realistic college data βœ… Scalable to any college in India


πŸ“œ License

Distributed under the MIT License. See LICENSE for more information.


πŸ“¬ Developer

Ayush B.Tech Computer Science Engineering 4th Semester β€’ Maharishi Markandeshwar University Ambala, Haryana


"Built this to solve real problems I face every day as a student at MMDU."


⭐ If this project helped you, consider giving it a star! ⭐


Built with ❀️, lots of β˜• and zero sleep by Ayush

About

Next-gen college platform combining a full-stack student hub (notes, events, placements, forum) with advanced RAG (Retrieval-Augmented Generation) Integration. Features AI-driven syllabus analysis, contextual notice querying, and real-time campus updates.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages