Skip to content

yb175/codeForBharat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

90 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Campus Core - Digital Ecosystem

A comprehensive campus management system built with React that brings together various essential services under a single platform to simplify and enhance campus life.

🎯 Project Overview

Campus Connect tackles the issue of fragmented and inefficient campus management systems by building an all-in-one digital ecosystem for college students and faculty. The platform addresses multiple pain points in campus life through integrated solutions.

✨ Features

πŸŽ‰ Event Management

  • Centralized platform for clubs to host events
  • Easy event discovery and registration for students
  • Event categorization and filtering
  • Points-based reward system for participation
  • Real-time registration tracking

πŸ” Lost & Found System

  • Digital portal for reporting lost and found items
  • Image-based item identification
  • Location and date tracking
  • Contact system for item recovery
  • Category-based organization

πŸ“š Study Materials Repository

  • Subject-wise organization of study materials
  • File upload and download functionality
  • Tag-based search system
  • Semester and department filtering
  • Download tracking and statistics

πŸ‘₯ Study Group Formation

  • Smart matching system for study partners
  • Goal-oriented group creation
  • Meeting scheduling and location tracking
  • Difficulty level categorization
  • Member management system

πŸ›οΈ Buy & Sell Second-Hand Items

  • Easy listing of used campus essentials
  • Secure in-campus transactions
  • Categories for books, electronics, and more
  • Promote sustainability & affordability

πŸ“Έ Media Gallery

  • Campus meme sharing platform
  • Personal gallery creation
  • Like and comment system
  • Tag-based content organization
  • Community engagement features

🚨 Anonymous Reporting System

  • Safe incident reporting channel
  • Complete anonymity protection
  • Severity level classification
  • Status tracking system
  • Emergency contact integration

πŸ› οΈ Technical Stack

  • Frontend: React 18.3.1
  • Bundler: Parcel 2.12.0
  • Styling: Pure CSS with CSS Variables
  • State Management: React Context API
  • Authentication: Local Storage based
  • Theme: Dark/Light mode support
  • Responsive: Mobile-first design

πŸ“ Project Structure

src/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ Authentication/
β”‚   β”œβ”€β”€ Dashboard/
β”‚   β”œβ”€β”€ Events/
β”‚   β”œβ”€β”€ LostAndFound/
β”‚   β”œβ”€β”€ StudyMaterials/
β”‚   β”œβ”€β”€ StudyGroups/
β”‚   β”œβ”€β”€ Leaderboard/
β”‚   β”œβ”€β”€ MediaGallery/
β”‚   β”œβ”€β”€ ReportingSystem/
β”‚   β”œβ”€β”€ Navigation/
β”‚   └── MainApplication/
β”œβ”€β”€ context/
β”‚   β”œβ”€β”€ AuthContext.jsx
β”‚   β”œβ”€β”€ ThemeContext.jsx
β”‚   └── AppContext.jsx
β”œβ”€β”€ data/
β”‚   └── mockData.js
β”œβ”€β”€ App.jsx
β”œβ”€β”€ App.css
└── index.js

πŸš€ Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn

Installation

  1. Clone the repository
git clone <repository-url>
cd campus-connect
  1. Install dependencies
npm install
  1. Start the development server
npm start
  1. Open your browser and navigate to http://localhost:1234

Build for Production

npm run build

πŸ“Š Mock Data Structure

The application uses comprehensive mock data located in src/data/mockData.js. You can modify this file to:

  • Add new events, study materials, or media items
  • Update user profiles and points
  • Modify study groups and their members
  • Add new lost and found items
  • Update notification data

Adding Mock Data

To add new data, simply modify the respective arrays in mockData.js:

// Add new events
events: [
  {
    id: 'new-id',
    title: 'Your Event Title',
    description: 'Event description',
    date: '2024-03-01',
    // ... other properties
  }
]

🎨 Design Features

  • Clean & Modern UI: Apple-level design aesthetics with attention to detail
  • Responsive Design: Optimized for mobile, tablet, and desktop
  • Dark/Light Theme: Complete theme switching capability
  • Smooth Animations: Micro-interactions and hover effects
  • Accessible: Proper contrast ratios and keyboard navigation
  • Color System: Comprehensive color palette with semantic usage

πŸ”§ Customization

Theme Colors

Modify CSS variables in src/App.css:

:root {
  --primary-color: #3b82f6;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  /* ... other colors */
}

Adding New Features

  1. Create component in appropriate directory
  2. Add routing logic in MainApplication.jsx
  3. Update navigation in Navigation.jsx
  4. Add context methods if needed

πŸ“± Responsive Breakpoints

  • Mobile: < 768px
  • Tablet: 768px - 1024px
  • Desktop: > 1024px

πŸ”’ Security Features

  • Anonymous reporting system
  • No sensitive data storage
  • Client-side authentication simulation
  • Privacy-focused design

🚧 Limitations & Future Enhancements

Current Limitations

  • No Real Backend: Uses local storage and mock data
  • No Real Authentication: Simulated login system
  • No File Upload: Uses URL-based file references
  • No Real-time Updates: Static data updates
  • No Push Notifications: Browser-based notifications only
  • No Email Integration: No actual email sending
  • No Payment System: No real payment processing
  • No Advanced Search: Basic text-based search only

Potential Enhancements

  • Backend API integration
  • Real database connectivity
  • File upload and storage system
  • Real-time notifications
  • Advanced search with filters
  • Mobile app development
  • Integration with campus systems
  • AI-powered recommendations
  • Video content support
  • Advanced analytics dashboard

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Follow the coding standards
  5. Test your changes
  6. Submit a pull request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • React team for the excellent framework
  • Pexels for providing free stock images
  • Campus communities for inspiration
  • Open source contributors

Note: This is a demonstration project showcasing modern React development practices and UI/UX design principles. For production use, implement proper backend services, authentication, and security measures.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors