Empowering individuals through community and mentorship
A focused mentoring and community platform, centered around the BGr8 initiative and powered by a unique MentorAlgorithm with advanced availability management and intelligent search capabilities.
๐ Quick Start โข ๐ Ambassador Program โข ๐ Documentation โข ๐ค Contributing โข ๐ License
๐ Quick Navigation
| ๐ข Platform Unit | ๐ Description | ๐ Status |
|---|---|---|
| ๐ BGr8 | Community, events, and mentoring | โ Live |
bgr8 Platform is dedicated to empowering individuals through the BGr8 community and a robust mentoring program. Our platform focuses exclusively on creating meaningful connections and fostering growth through:
- ๐ค Community Building - Connect with like-minded individuals
- ๐ Mentorship Programs - Advanced algorithm-based matching with real-time availability
- ๐ Ambassador Program - Join our network of passionate advocates making a difference
- ๐ Personal Growth - Structured learning and development
- ๐ Diverse Network - Inclusive and supportive environment
- ๐ Smart Discovery - Intelligent search and filtering system
- ๐ Flexible Scheduling - Integrated availability management for mentors
๐ Click to explore our amazing features!
| Feature | Description | Status |
|---|---|---|
| ๐ BGr8 Community Hub | Centralized community platform | โ Live |
| ๐ค Mentor Matching | Advanced MentorAlgorithm system with real-time availability | โ Live |
| ๐ Ambassador Program | Join our network of passionate advocates | โ Live |
| ๐ Ambassador Applications | Streamlined application process with admin management | โ Live |
| ๐ Smart Search System | Intelligent search with dropdown suggestions and filtering | โ Live |
| ๐ Cal.com Booking System | Third-party calendar integration | โ Live |
| ๐ Availability Management | Direct mentor availability creation and management | โ Live |
| ๐ Secure Authentication | Firebase-powered security | โ Live |
| ๐ฑ Responsive Design | Mobile-first approach | โ Live |
| ๐ Admin Dashboard | User and data management panel | โ Live |
| Technology | Purpose | Status |
|---|---|---|
| ๐ Firebase Auth | User authentication | โ Live |
| ๐ฅ Firestore DB | Real-time database | โ Live |
| ๐ Cal.com Integration | Advanced booking system | โ Live |
| โก Real-time Updates | Live data synchronization | โ Live |
| ๐งโ๐ป React + TypeScript | Modern frontend stack | โ Live |
| ๐จ CSS Variables | Consistent design system | โ Live |
| Feature | Description | Status |
|---|---|---|
| ๐ Enhanced Search | Dropdown suggestions, smart filtering, and improved UI | โ Live |
| ๐ Filter Tabs | Relevant mentorship categories with count bubbles | โ Live |
| ๐ค Profile Modals | Clickable mentor cards with full profile display | โ Live |
| ๐ Availability Integration | Real-time availability pulling from Cal.com and bookings | โ Live |
| ๐ ๏ธ Data Generation | Comprehensive testing tools for profiles and availability | โ Live |
| ๐๏ธ Smart Cleanup | Cascading deletes and bulk data management | โ Live |
| ๐จ Enhanced UI | Improved styling and user experience | โ Live |
| ๐ Advanced Feedback System | Comprehensive testing feedback with file attachments | โ Live |
| ๐ Role-Based Access Control | Admin/Developer role management and permissions | โ Live |
| ๐ File Attachment System | Firebase Storage integration for feedback tickets | โ Live |
| ๐ผ๏ธ Image Overlay Viewer | Full-screen image viewing with download capabilities | โ Live |
| ๐ Enhanced Analytics | Detailed feedback analytics with CSV export | โ Live |
| Feature | Description | Status |
|---|---|---|
| ๐ซ Ticket Management | Create, edit, view, and delete feedback tickets | โ Live |
| ๐ File Attachments | Upload images, videos, documents (max 10MB each) | โ Live |
| ๐ท๏ธ Smart Categorization | Bug reports, feature requests, UI issues, performance | โ Live |
| โญ Priority System | Low, Medium, High, Critical priority levels | โ Live |
| ๐ Status Tracking | Draft, Open, In Progress, Resolved, Closed, Duplicate | โ Live |
| ๐ฌ Comments System | Internal and public comments with attachments | โ Live |
| ๐ Voting System | Upvote/downvote tickets for prioritization | โ Live |
| ๐ Advanced Search | Search by title, description, tags, and metadata | โ Live |
| ๐ Analytics Dashboard | Comprehensive feedback analytics with CSV export | โ Live |
| ๐ผ๏ธ Image Viewer | Full-screen image overlay with download functionality | โ Live |
| ๐ฏ Testing Fields | Browser info, OS, device type, screen resolution | โ Live |
| ๐ Auto-Detection | Automatic screen resolution and browser detection | โ Live |
| Feature | Description | Status |
|---|---|---|
| ๐ก๏ธ Input Validation | Comprehensive data sanitization | โ Live |
| ๐ Rate Limiting | API and authentication rate limiting | โ Live |
| ๐ซ XSS Protection | Cross-site scripting prevention | โ Live |
| ๐ก๏ธ CSRF Protection | Cross-site request forgery prevention | โ Live |
| ๐ Password Security | Strong password requirements (12+ chars) | โ Live |
| ๐๏ธ Cascading Deletes | Maintains database integrity | โ Live |
| ๐ฅ Role-Based Access | Admin/Developer role management and permissions | โ Live |
Join our network of passionate advocates making a real difference in communities worldwide! ๐
The BGr8 Ambassador Program is our community-driven initiative that empowers passionate individuals to spread our mission of creating positive change through mentorship and community development.
| Feature | Description | Benefits |
|---|---|---|
| ๐ Community Advocacy | Represent BGr8 in your local community | Build meaningful connections and make an impact |
| ๐ค Network Building | Connect potential mentors and mentees | Expand your professional and personal network |
| ๐ Personal Growth | Develop leadership and communication skills | Enhance your professional profile |
| ๐ฏ Event Organization | Organize and participate in community events | Strengthen community bonds and visibility |
| ๐ฌ Feedback & Insights | Provide valuable feedback to improve our programs | Shape the future of mentorship |
- ๐ Apply Online: Visit our Ambassador Page to submit your application
- ๐ Complete Application: Fill out our comprehensive application form with:
- Personal information and experience
- Motivation and availability
- Social media presence (Instagram, LinkedIn, Twitter, Facebook, TikTok, YouTube)
- Location and community involvement
- ๐ฅ Admin Review: Our team reviews your application thoroughly
- โ Approval & Onboarding: Get approved and receive your ambassador role
- ๐ Start Making Impact: Begin representing BGr8 in your community
- 500+ Active Ambassadors across the globe
- 50+ Countries represented
- 10,000+ Lives Impacted through ambassador efforts
- Real-time Tracking of ambassador activities and impact
- Share BGr8's Mission: Spread awareness about our platform and values
- Connect People: Introduce potential mentors and mentees to our platform
- Organize Events: Plan and participate in community events and activities
- Provide Feedback: Share insights to help improve our programs
- Professional Representation: Represent BGr8 professionally in your community
- ๐ Make an Impact: Create meaningful change in your community
- ๐ค Build Connections: Connect with mentors, mentees, and fellow ambassadors
- ๐ Personal Growth: Develop leadership and communication skills
- ๐ Global Network: Join a worldwide network of passionate advocates
- ๐ Learning Opportunities: Access to exclusive resources and training
Our comprehensive admin system allows administrators to:
- Review Applications: Thoroughly evaluate ambassador applications
- Track Statistics: Monitor active ambassadors vs. applications
- Manage Approvals: Approve/reject applications with automatic role assignment
- Monitor Impact: Track ambassador activities and community engagement
Learn more about admin management in our Admin Portal Overview
graph TD
A[๐จ Frontend] --> B[โ๏ธ React + TypeScript]
A --> C[โก Vite 6.1]
A --> D[๐จ CSS Variables]
E[๐ง Backend Services] --> F[๐ฅ Firebase 11.3]
F --> G[๐ Authentication]
F --> H[๐๏ธ Firestore]
F --> I[๐ฆ Storage]
L[๐
Booking System] --> M[๐ Cal.com API]
L --> N[๐
Availability Management]
L --> O[๐ Event Types]
L --> P[๐ Bookings Management]
R[๐ ๏ธ Admin Tools] --> S[๐ฅ Profile Generation]
R --> T[๐
Availability Generation]
R --> U[๐๏ธ Data Cleanup]
R --> Z[๐ Feedback System]
V[๐ก๏ธ Security] --> W[๐ Rate Limiting]
V --> X[๐ก๏ธ Input Validation]
V --> Y[๐ Password Security]
V --> AA[๐ฅ Role-Based Access]
BB[๐ File Management] --> CC[๐ผ๏ธ Image Overlay]
BB --> DD[๐ฅ File Downloads]
BB --> EE[๐ฆ Firebase Storage]
style A fill:#61DAFB
style E fill:#FFCA28
style F fill:#FF6B35
style L fill:#00E676
style R fill:#FF9800
style V fill:#E91E63
style BB fill:#9C27B0
Our platform leverages cutting-edge technologies for optimal performance and user experience.
- ๐ข Admin Portal Overview - Complete admin portal guide and features
- ๐ Testing Feedback System - Detailed feedback management guide
- โก Admin Quick Reference - Quick reference for common admin tasks
- ๐ Changelog - Detailed version history and updates
- ๐ค Contributing Guide - How to contribute to the project
- ๐ Security Policy - Security guidelines and reporting
- ๐ License - MIT License details
- ๐๏ธ Architecture Overview - System architecture and design decisions
- ๐ง Development Setup - Detailed development environment setup
- ๐ Deployment Guide - Production deployment instructions
- ๐ API Documentation - API endpoints and usage
Get up and running in under 5 minutes! ๐
git clone https://github.com/Hum2a/bgr8.git
cd bgr8npm installGet .env file from Hum2a (see Environment Variables section for details)
For local development with Firebase emulators, see detailed setup instructions in firebase_emulator/README.md
npm run devBefore you begin, ensure you have the following installed:
| Requirement | Version | Download |
|---|---|---|
| ๐ข Node.js | v16.x or higher |
Download |
| ๐ฆ npm | v8.x or higher |
Included with Node.js |
| ๐ฅ Firebase Account | Any | Sign Up |
๐ Detailed Installation Guide
# Clone the repository
git clone https://github.com/Hum2a/bgr8.git
# Navigate to project directory
cd bgr8# Install all dependencies
npm install
โ ๏ธ Important: You will need your own Firebase account. Get the correct.envfile from Hum2a to place in the root directory.
# Start the main application
npm run dev๐ Congratulations! Your development environment is now ready.
๐ Deployment Instructions
# Create optimized production build
npm run build
# Preview production build locally
npm run preview| Platform | Instructions | Status |
|---|---|---|
| ๐ Vercel | Connect GitHub repo | โ Supported |
| โ๏ธ Netlify | Drag & drop build folder | โ Supported |
| ๐ฅ Firebase Hosting | firebase deploy |
โ Supported |
Required environment variables for full functionality
๐ View all environment variables
| Variable | Description | Required | Example |
|---|---|---|---|
VITE_FIREBASE_API_KEY |
Firebase API Key | โ | AIzaSyC... |
VITE_FIREBASE_AUTH_DOMAIN |
Firebase Auth Domain | โ | project.firebaseapp.com |
VITE_FIREBASE_PROJECT_ID |
Firebase Project ID | โ | your-project-id |
VITE_FIREBASE_STORAGE_BUCKET |
Firebase Storage Bucket | โ | project.appspot.com |
VITE_FIREBASE_MESSAGING_SENDER_ID |
Firebase Messaging Sender ID | โ | 123456789 |
VITE_FIREBASE_APP_ID |
Firebase App ID | โ | 1:123456789:web:abc123 |
VITE_FIREBASE_MEASUREMENT_ID |
Firebase Measurement ID | โ | G-XXXXXXXXXX |
VITE_USE_EMULATORS |
Enable Firebase emulators for development | true or false |
release.sh - A cross-platform bash script for managing semantic versioned release tags
- โ Git installed and configured
- โ
Remote repository set up (
origin) - โ Bash shell (works on Linux/macOS/Git Bash for Windows)
Set-Alias -Name bash -Value "<absolute_path_to_git_installation>\bin\bash.exe"
# Example: C:\Program Files\Git\bin\bash.exe# Linux/MacOS
./release.sh [OPTIONS]
# Windows
bash release.sh [OPTIONS]| Flag | Description | Example |
|---|---|---|
--major |
Increment major version | v2.0.0 |
--minor |
Increment minor version | v1.1.0 |
--patch |
Increment patch version | v1.0.1 (default) |
--name NAME |
Append custom name | --name beta โ v1.0.0-beta |
--set-tag TAG |
Set specific tag | --set-tag v1.2.3 |
--current |
Show current release tag | Displays current version |
--force |
Force tag creation | Override existing tags |
--help |
Show help message | Display usage information |
- ๐ Always syncs with remote tags first
- โ Validates tag format (vX.Y.Z or vX.Y.Z-NAME)
- ๐ซ Prevents duplicate tags
๐ View complete project structure
bgr8/
โโโ ๐ src/
โ โโโ ๐งฉ components/ # React components
โ โ โโโ ๐จโ๐ผ admin/ # Admin-specific components
โ โ โ โโโ ๐ Analytics components (FeedbackAnalytics, BookingAnalytics)
โ โ โ โโโ ๐ฒ GenerateRandomProfile.tsx
โ โ โ โโโ ๐ฅ MentorManagement.tsx
โ โ โ โโโ ๐ Bookings management (BookingsTable, BookingsGrouped)
โ โ โ โโโ ๐
SessionsManagement.tsx
โ โ โ โโโ ๐ง Admin utilities (AdminMentorModal, BookingDetailsModal)
โ โ โ โโโ ๐ Feedback system (RoleManagement, RoleManagementModal)
โ โ โโโ ๐ฌ animations/ # Animation components (LoadingSpinner)
โ โ โโโ ๐จ ui/ # UI components
โ โ โโโ ๐ feedback/ # Feedback components (StatsTiles)
โ โ โโโ ๐
sessions/ # Session-related components
โ โ โโโ ๐งฉ modals/ # Modal components
โ โ โ โโโ ๐ Feedback modals (CreateTicketModal, ViewTicketModal, EditTicketModal)
โ โ โ โโโ ๐ผ๏ธ ImageOverlay.tsx
โ โ โ โโโ ๐ฌ CommentsSidebar.tsx
โ โ โ โโโ ๐๏ธ DeleteTicketModal.tsx
โ โ โโโ ๐ง widgets/ # Widget components
โ โ โโโ ๐ MentorAlgorithm/ # Mentor matching logic
โ โ โโโ ๐
availability/ # Availability management
โ โ โโโ ๐
booking/ # Booking system
โ โ โโโ ๐ CalCom/ # Cal.com integration
โ โ โโโ ๐งฎ algorithm/ # Matching algorithm (matchUsers.ts)
โ โโโ ๐ pages/ # Page components
โ โ โโโ ๐จโ๐ผ adminPages/ # Admin pages (AdminPortal, AdminEnquiries, AdminSettings)
โ โ โโโ ๐ authPages/ # Authentication pages (SignIn, Register, ForgotPassword)
โ โ โโโ ๐ผ businessPages/ # Business pages (BGr8)
โ โ โโโ ๐ mentorPages/ # Mentor-related pages
โ โ โโโ ๐ ๏ธ utilPages/ # Utility pages (Profile, Settings, Feedback)
โ โโโ ๐จ styles/ # CSS stylesheets
โ โ โโโ ๐จโ๐ผ adminStyles/ # Admin-specific styles
โ โ โโโ ๐ผ businessStyles/ # Business-specific styles
โ โ โโโ ๐งฉ components/ # Component-specific styles
โ โ โโโ ๐ณ payment/ # Payment-related styles (Success, Cancel)
โ โโโ ๐ช hooks/ # Custom React hooks (useAuth, useIsMobile)
โ โโโ ๐ contexts/ # React context providers (AuthContext)
โ โโโ ๐ ๏ธ utils/ # Utility functions
โ โ โโโ ๐ security.ts # Security utilities
โ โ โโโ ๐ก๏ธ securityMonitor.ts # Security monitoring
โ โ โโโ ๐ค userProfile.ts # User profile utilities
โ โ โโโ ๐จ iconMapping.tsx # Icon mapping utilities
โ โ โโโ ๐ฑ screenResolution.ts # Screen resolution detection
โ โ โโโ ๐ฅ fileDownload.ts # File download utilities
โ โ โโโ ๐ updatePermissions.ts # Permission management
โ โโโ ๐ types/ # TypeScript type definitions
โ โ โโโ ๐ค user.ts # User profile types
โ โ โโโ ๐
sessions.ts # Session types
โ โ โโโ ๐ bookings.ts # Booking types
โ โ โโโ ๐ข b8fc.ts # Business types
โ โ โโโ ๐จโ๐ผ admin.ts # Admin types
โ โ โโโ ๐ feedback.ts # Feedback system types
โ โ โโโ ๐ verification.ts # Verification types
โ โโโ ๐ฅ firebase/ # Firebase configuration
โ โ โโโ ๐ง firebase.tsx # Main Firebase config
โ โ โโโ ๐ ๏ธ emulatorUtils.ts # Emulator utilities
โ โโโ ๐ก๏ธ middleware/ # Security middleware
โ โโโ ๐งญ navigation/ # Navigation logic (navigation.tsx)
โ โโโ ๐ constants/ # Application constants
โ โ โโโ ๐ skillsByCategory.ts
โ โ โโโ ๐๏ธ ukEducationLevels.ts
โ โ โโโ ๐ข industries.ts
โ โ โโโ ๐จ hobbiesByCategory.ts
โ โ โโโ ๐๏ธ religionOptions.ts
โ โ โโโ ๐ ethnicityOptions.ts
โ โ โโโ ๐บ๏ธ ukCounties.ts
โ โโโ ๐ data/ # Sample data and autofill
โ โ โโโ ๐ฒ autofillData.ts # Test data for development
โ โโโ ๐ง config/ # Configuration files (security.ts)
โ โโโ ๐จ assets/ # Static assets (images, etc.)
โ โโโ ๐ง services/ # Service layer
โ โโโ ๐
sessionsService.ts
โ โโโ ๐ feedbackService.ts
โ โโโ ๐จโ๐ป developerFeedbackService.ts
โ โโโ ๐ฅ mentorFeedbackService.ts
โ โโโ ๐ verificationService.ts
โ โโโ ๐ pagePermissionsService.ts
โโโ ๐ public/ # Public static assets
โโโ ๐ฅ firebase_emulator/ # Firebase emulator configuration
โ โโโ ๐ README.md # Emulator setup instructions
โ โโโ ๐ download_cloud_data.sh # Data export script
โ โโโ โ๏ธ firebase.json # Firebase configuration
โ โโโ ๐ง .firebaserc # Firebase project configuration
โ โโโ ๐ก๏ธ firestore.rules # Firestore security rules
โ โโโ ๐ storage.rules # Storage security rules
โ โโโ ๐ data/ # Exported data storage
โโโ ๐ docs/ # Documentation files
โโโ ๐ .env # Environment variables
โโโ ๐ฆ package.json # Dependencies and scripts
โโโ โ๏ธ vite.config.ts # Vite configuration
โโโ ๐ tsconfig.json # TypeScript configuration
โโโ ๐จ eslint.config.js # ESLint configuration
โโโ ๐ท๏ธ release.sh # Release tag manager script
โโโ ๐ README.md # This file
We welcome contributions from the community! ๐
๐ Contributing Guidelines
- ๐ด Fork the repository
- ๐ฟ Create a feature branch (
git checkout -b feature/amazing-feature) - ๐พ Commit your changes (
git commit -m 'Add amazing feature') - ๐ค Push to the branch (
git push origin feature/amazing-feature) - ๐ Open a Pull Request
- โ Follow TypeScript best practices
- ๐จ Maintain consistent code style using CSS variables
- ๐ Write meaningful commit messages
- ๐ Update documentation as needed
- ๐ Ensure proper contrast for UI elements
- ๐ฑ Test responsive design across devices
We are committed to providing a welcoming and inspiring community for all. Please read our Code of Conduct for details.
This project is licensed under the MIT License - see the LICENSE file for details.
Security is our top priority
๐ก๏ธ Security Information
If you discover a security vulnerability, please:
- ๐ Do NOT create a public GitHub issue
- ๐ง Email us directly at security@bgr8.com
- โฐ Wait for our response (we aim to respond within 24 hours)
- ๐ Firebase Authentication - Secure user management
- ๐ก๏ธ Input Validation - Comprehensive data sanitization
- ๐ HTTPS Only - Encrypted data transmission
- ๐ซ XSS Protection - Cross-site scripting prevention
- ๐ก๏ธ CSRF Protection - Cross-site request forgery prevention
- ๐๏ธ Cascading Deletes - Maintains database integrity
- ๐ Rate Limiting - API and authentication rate limiting
- ๐ Password Security - Strong password requirements (12+ characters)
- ๐ก๏ธ Security Headers - Comprehensive security headers
- ๐ Session Management - Secure session handling
- ๐ก๏ธ ESLint Security - Security-focused linting
- ๐ Snyk - Vulnerability scanning
- ๐ Security Monitoring - Real-time security monitoring
- ๐ Middleware Security - Request validation and sanitization
Get in touch with our team
| Contact Method | Details |
|---|---|
| ๐จโ๐ป Developer | Humza (Hum2a) |
| ๐ Issues | GitHub Issues |
| ๐ง Email | Contact Us |
Special thanks to all contributors and the amazing BGr8 community! ๐
|
Hum2a Humza Butt |
YakMan101 Shayak Hussain |
aoladuti1 Antonio Oladuti |
- โ๏ธ React 18.2 - UI framework
- ๐ฅ Firebase 11.3 - Backend services
- ๐ Cal.com - Calendar & booking system
- โก Vite 6.1 - Build tool
- ๐จ CSS3 - Styling with CSS variables
- ๐ Search Algorithms - Intelligent filtering and discovery
- ๐ Data Management - Comprehensive testing and cleanup tools
- ๐ก๏ธ Security Tools - ESLint security, Snyk, custom security middleware
Made with โค๏ธ by the BGr8 Team