Transform the way skilled workers connect with employers across India ๐ฎ๐ณ
A production-ready, enterprise-grade digital platform that modernizes the traditional labour marketplace with cutting-edge technology, security, and user experience.
- ๐ฏ Mission
- ๐ Key Features
- ๐ฅ User Roles
- ๐๏ธ Project Structure
- ๐ Quick Start
- ๐ฆ Tech Stack
- ๐ง Configuration
- ๐ Deployment
- ๐ Documentation
- ๐ค Contributing
- ๐ License
Empowering India's workforce through technology - D Labour Chowk bridges the gap between skilled workers and employers, creating opportunities and driving economic growth in the digital age.
- ๐ฎ๐ณ Built for India - Designed specifically for the Indian labour market
- ๐ฑ Mobile First - Optimized for smartphone users across India
- ๐ Secure & Trusted - Enterprise-grade security for user protection
- โก Lightning Fast - Optimized for slow internet connections
- ๐จ User Friendly - Intuitive design for users of all technical levels
- ๐ Data Driven - Analytics and insights for better decision making
- ๐ฌ Real-time Communication - Instant messaging between clients and workers
- ๐ Location Intelligence - GPS-based smart matching and search
- Advanced authentication with bcrypt password hashing
- CSRF protection with token-based validation
- SQL injection prevention with prepared statements
- XSS protection with input sanitization
- Session security with timeout handling
- Mobile-first responsive design
- Interactive dashboards with real-time data
- Advanced search with multi-filter capabilities
- Beautiful charts using Chart.js
- Toast notifications for real-time alerts
- Smart caching system with TTL
- Image optimization and lazy loading
- Database query optimization
- CDN-ready asset management
- Multi-role system (Clients, Workers, Admins)
- Job management and application tracking
- Rating and review system
- Portfolio management for workers
- Analytics dashboards for all user types
- Post job requirements with detailed specifications
- Browse and hire workers with ratings and reviews
- Advanced search with location-based filtering
- Real-time messaging with hired workers
- Analytics dashboard with hiring insights
- Create professional profiles with skills and experience
- Browse and apply to job opportunities
- Portfolio management with work samples
- Earnings tracking and payment history
- Real-time messaging with potential clients
- User management and account oversight
- System analytics and performance monitoring
- Content moderation and quality control
- Security monitoring and threat detection
D_Labour_Chowk/
โโโ ๐ index.php # Main application entry point
โโโ ๐ .htaccess # Apache configuration & URL rewriting
โโโ ๐ railway.json # Railway deployment configuration
โโโ ๐ Dockerfile # Docker container configuration
โโโ ๐ composer.json # PHP dependencies
โโโ ๐ .gitignore # Git ignore rules
โ
โโโ ๐ config/ # Configuration files
โ โโโ config.php # Database & app configuration
โ โโโ sqlconnection.php # Database connection utilities
โ
โโโ ๐ src/ # Source code (MVC structure)
โ โโโ Controllers/ # Business logic controllers
โ โ โโโ Client/ # Client/Employer controllers
โ โ โโโ Labour/ # Worker/Labour controllers
โ โ โโโ Admin/ # Administrator controllers
โ โ โโโ *.php # Shared controllers
โ โโโ Models/ # Data models
โ โโโ Views/ # Presentation templates
โ โ โโโ Client/ # Client views
โ โ โโโ Labour/ # Labour views
โ โ โโโ *.html # Shared views
โ โโโ Services/ # Business services
โ โ โโโ PHPMailer/ # Email service
โ โ โโโ PerformanceOptimizer.php
โ โโโ Utils/ # Utility functions
โ
โโโ ๐ public/ # Public web assets
โ โโโ css/ # Stylesheets
โ โโโ js/ # JavaScript files
โ โโโ images/ # Image assets
โ โโโ uploads/ # User uploaded files
โ
โโโ ๐ database/ # Database files
โ โโโ migrations/ # Database schema files
โ โโโ seeds/ # Sample data
โ
โโโ ๐ docs/ # Documentation
โ โโโ README.md # Project documentation
โ โโโ API_DOCUMENTATION.md # API reference
โ โโโ DEPLOYMENT_GUIDE.md # Deployment instructions
โ โโโ SETUP_GUIDE.md # Setup instructions
โ
โโโ ๐ tests/ # Test files
โ โโโ TestRunner.php # Test runner
โ
โโโ ๐ cache/ # Application cache
- PHP 8.0 or higher
- MySQL 8.0 or higher
- Apache/Nginx web server
- Git
-
Clone the repository
git clone https://github.com/DevrajParmarr/D_Labour_Chowk.git cd D_Labour_Chowk -
Install dependencies
composer install
-
Database setup
# Import database schema mysql -u username -p database_name < database/migrations/d_labour.sql
-
Configuration
# Edit config/config.php with your database credentials define('DB_HOST', 'localhost'); define('DB_USERNAME', 'your_username'); define('DB_PASSWORD', 'your_password'); define('DB_NAME', 'd_labour');
-
Start the application
# For local development with XAMPP # Copy to htdocs and access via localhost # For production deployment # Deploy to Railway or your preferred hosting
- PHP 8.0+ - Server-side scripting
- MySQL 8.0+ - Database management
- PHPMailer - Email functionality
- HTML5 - Semantic markup
- CSS3 - Styling and animations
- JavaScript - Client-side interactivity
- Bootstrap 5 - Responsive framework
- Chart.js - Data visualization
- Railway - Cloud deployment platform
- Docker - Containerization
- Apache - Web server
- Git - Version control
# Database Configuration
DB_HOST=localhost
DB_USERNAME=your_username
DB_PASSWORD=your_password
DB_NAME=d_labour
# Application Settings
APP_NAME="D Labour Chowk"
APP_URL="https://your-domain.com"
APP_VERSION="2.2"
# Security Settings
DEVELOPMENT_MODE=false
BCRYPT_COST=12# Set proper permissions for web server
chmod 755 cache/
chmod 755 public/uploads/
chmod 755 public/images/- Create Railway account at railway.app
- Connect your GitHub repository
- Railway auto-deploys using the provided configuration
- Add MySQL database (free tier included)
- Import database schema
- Access your live app at
https://your-project.railway.app
# Upload files to your web server
# Configure database credentials
# Set proper file permissions
# Access via your domain- ๐ Full Documentation - Complete project documentation
- ๐ Deployment Guide - Step-by-step deployment instructions
- ๐ง Setup Guide - Local development setup
- ๐ก API Documentation - API reference and endpoints
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow PSR-12 coding standards
- Write comprehensive PHPDoc comments
- Add unit tests for new features
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- Bootstrap - Modern UI framework
- Chart.js - Beautiful charts and analytics
- Font Awesome - Icon library
- PHP Community - Excellent documentation
- Railway - Amazing deployment platform
- ๐ง Email: devrajparmar232@gmail.com
- ๐ Issues: GitHub Issues
- ๐ Documentation: Project Wiki
Made with โค๏ธ for the Digital India Initiative
Connecting skilled workers with opportunities across India ๐ฎ๐ณ
Version 2.2 - Enterprise Grade Digital Labour Marketplace