How harshmalviya7415/vybe works
Vybe is a campus social and local-business promotion platform. Students and staff use the mobile app to join campus communities, share feed posts, discover notices and deals, and message connections or groups; businesses manage profiles and campaigns through the business experience. The backend exposes authenticated APIs, persists product data in MongoDB, and supports real-time chat and push notifications. The README documents the broad feature set; sampled server routes and controller excerpts establish selected dispatch and persistence links, while unsampled feature internals are represented conservatively.
Main entry points: server.js Backend API · db.js MongoDB records · app Vybe mobile app · messageController.js Direct messaging
Components 21
User experiences
- Vybe mobile app
frontend/src/app - Business web portal
web/src
Identity and community
- Auth and profiles
backend/controller - Community discovery
backend/controller
Campus engagement
- Campus feed
backend/controller/postcontroller.js - Post reactions
backend/controller/postreactcontrollers.js - Campus alerts
backend/controller/campusalert.js - Daily vibe check
backend/controller/vibecheck.js - Direct messaging
backend/controller/messageController.js - Live chat channels
backend/socket/handlers.js - Backchannels
backend/controller/backchannel.js
Business promotion
- Business profiles
backend/controller/businessProfileController.js - Deals and targeting
backend/controller/dealcontroller.js
Backend platform
- Backend API
backend/server.js - Push notifications
backend/services/notificationService.js - MongoDB records
backend/config/db.js - Redis
backend/config/redis.js - Cloudinary media
backend/config/cloudinary.js
Other components
- Campus users
- Business owners
- Firebase messaging
Connections 27
- Campus users → Vybe mobile app: use
- Business owners → Business web portal: manage campaigns
- Vybe mobile app → Backend API: API requests
- Business web portal → Backend API: business API
- Backend API → Auth and profiles: dispatches auth
- Backend API → Community discovery: dispatches discovery
- Backend API → Campus feed: dispatches posts
- Backend API → Post reactions: dispatches reactions
- Backend API → Campus alerts: dispatches alerts
- Backend API → Daily vibe check: dispatches checks
- Backend API → Direct messaging: dispatches messages
- Backend API → Backchannels: dispatches rooms
- Backend API → Business profiles: dispatches profiles
- Backend API → Deals and targeting: dispatches deals
- Campus feed → MongoDB records: reads and writes posts
- Post reactions → MongoDB records: stores reactions
- Direct messaging → MongoDB records: stores messages
- Deals and targeting → MongoDB records: reads and writes deals
- Business profiles → MongoDB records: stores profiles
- Backend API → Cloudinary media: uploads media
- Backend API → Live chat channels: starts sockets
- Live chat channels → Redis: tracks live presence
- Live chat channels → MongoDB records: stores chat messages
- Direct messaging → Push notifications: requests push
- Push notifications → MongoDB records: reads tokens and saves notices
- Push notifications → Firebase messaging: sends push
- Vybe mobile app → Backend API: registers push token