# Vote Management System ## Overview The **Vote Management System** is a web-based application designed to manage elections efficiently. It allows administrators to create elections, manage candidates, and monitor votes, while providing voters a secure platform to cast their votes. This system simplifies election management by automating vote counting and ensuring transparency and reliability. ## Features * **Admin Panel:** * Add, edit, and delete elections. * Manage candidates for each election. * Monitor and tally votes in real-time. * **Voter Panel:** * Register and log in securely. * View available elections. * Cast votes for preferred candidates. * **Authentication & Security:** * Secure login system for admins and voters. * Prevents multiple votes from the same voter. * **Real-time Results:** * View election results immediately after voting ends. ## Technologies Used * **Backend:** PHP (Laravel Framework) * **Frontend:** HTML, CSS, JavaScript, Bootstrap * **Database:** MySQL ## Installation 1. **Clone the repository:** ```bash git clone https://github.com/theshakhawathosen/Vote-Management-System.git cd Vote-Management-System ``` 2. **Install dependencies:** ```bash composer install npm install ``` 3. **Environment setup:** * Copy `.env.example` to `.env` * Update database credentials in `.env` ```bash php artisan key:generate ``` 4. **Run migrations:** ```bash php artisan migrate php artisan db:seed # optional, if seeders exist ``` 5. **Serve the application:** ```bash php artisan serve ``` ## Usage 1. **Admin Access:** * Register or log in as an admin. * Create elections and candidates. * Monitor votes and results. 2. **Voter Access:** * Register as a voter. * Log in and view elections. * Cast vote for chosen candidates. ## Contributing Contributions are welcome! You can: * Report issues * Suggest new features * Submit pull requests Please follow standard GitHub workflows and code guidelines. ## License This project is licensed under the MIT License. See the `LICENSE` file for details. ## Contact * **Developer:** Shakhawat Hosen * **GitHub:** [https://github.com/theshakhawathosen](https://github.com/theshakhawathosen) --- This project provides a simple and secure voting solution for organizations, clubs, or small-scale elections.
# Secure File Uploader A modern, secure, and user-friendly file uploading web application with shareable links.  ## Features - ๐ **Secure Uploads** - Multiple security checks including MIME type validation and malicious content scanning - ๐ค **Drag & Drop** - Intuitive drag-and-drop interface for file uploads - ๐ **Shareable Links** - Generate unique, secure download links for uploaded files - ๐ **File Management** - View, organize, and delete uploaded files - ๐จ **Modern UI** - Beautiful, responsive design with TailwindCSS - โก **Fast Performance** - Optimized for speed with AJAX uploads - ๐ก๏ธ **Type Safety** - Comprehensive file type validation and blocking of dangerous extensions ## Supported File Types Images, Documents, Videos, Audio, Archives, Code Files, and more: - Images: JPG, JPEG, PNG, GIF, SVG, WebP - Documents: PDF, DOC, DOCX, TXT, XLS, XLSX, PPT, PPTX - Media: MP4, AVI, MOV, MP3, WAV - Archives: ZIP, RAR - Code: JSON, XML, HTML, CSS, JS ## Installation ### Requirements - PHP 7.4 or higher - Web server (Apache, Nginx, etc.) - 100MB+ free disk space ### Steps 1. **Clone the repository** ```bash git clone https://github.com/yourusername/secure-file-uploader.git cd secure-file-uploader ``` 2. **Create upload directory** ```bash mkdir u chmod 755 u ``` 3. **Configure web server** - Point document root to project directory 4. **Access the application** ``` http://localhost/share/ ``` ## Usage ### Upload Files 1. Navigate to the upload page 2. Drag files into the drop zone or click "Browse Files" 3. Review selected files 4. Click "Upload Files" 5. Copy shareable links from success modal ### View Files Click "View All Files" to see uploaded files, their sizes, and upload dates. ### Delete Files - Double-click the file icon to enable delete mode - Select files and delete individually or all at once ## Configuration Edit upload settings in PHP files: ```php // upload.php define('MAX_FILE_SIZE', 104857600); // 100MB define('UPLOAD_DIR', './u/'); // Upload directory ``` ## Security Features โ File extension validation โ MIME type checking โ Malicious content scanning โ File size limits โ Directory traversal prevention โ Unique filename generation ## Project Structure ``` secure-file-uploader/ โโโ index.html # Upload interface โโโ download.html # File management โโโ upload.php # Upload handler โโโ get_files.php # Retrieve files list โโโ delete.php # Delete handler โโโ u/ # Upload directory โโโ readme.md # This file ``` ## API Endpoints ### POST /upload.php Upload a file. Returns success status and shareable link. ### GET /get_files.php Retrieve all uploaded files with metadata. ### POST /delete.php Delete file(s). Accepts `filename` or `delete_all` parameter. ## Contributing Contributions are welcome! Please: 1. Fork the repository 2. Create feature branch (`git checkout -b feature/amazing-feature`) 3. Commit changes (`git commit -m 'Add amazing feature'`) 4. Push to branch (`git push origin feature/amazing-feature`) 5. Open Pull Request ## Development Feel free to submit issues and enhancement requests! ## License MIT License - see LICENSE file for details ## Support For issues or questions, please open a GitHub issue. --- ## Author **Shakhawat** - [shakhawatdev.com](https://shakhawatdev.com) Made with โค๏ธ for the community
# ๐ฝ๏ธ Meal Management System --- ## ๐ Overview The **Meal Management System** is a web-based application that helps manage meals, expenses, and deposits for shared living environments such as bachelor messes, hostels, and dormitories. It automates calculations and ensures transparency for all members. --- ## ๐ฏ Why Use This System? * Avoid manual calculation errors * Track meals and expenses easily * Calculate fair meal rates automatically * View clear monthly summaries --- ## ๐งฐ Technology Used * **Backend:** PHP (Laravel) * **Frontend:** Blade, HTML, CSS, JavaScript * **Database:** MySQL * **Authentication:** Laravel Auth --- ## โจ Key Features ### ๐ค Member Management * Add, edit, or remove members * Activate or deactivate members ### ๐ฝ๏ธ Meal Management * Daily meal entry * Automatic total meal calculation ### ๐ฐ Expense Management * Add daily or monthly expenses * Automatic expense total ### ๐ณ Deposit Management * Record member deposits * Track balance and due ### ๐ Automatic Calculation ``` Meal Rate = Total Expenses / Total Meals Member Cost = Member Meals ร Meal Rate ``` ### ๐ Reports * Monthly summary * Individual member report ### ๐ Security * Secure login system * Admin-only access --- ## โ๏ธ Installation (Quick Guide) ### Requirements * PHP 8.0+ * Composer * MySQL * Node.js & NPM ### Setup Steps ``` git clone https://github.com/theshakhawathosen/Meal-Management-System.git cd Meal-Management-System composer install npm install && npm run build ``` Create database and import SQL: ``` CREATE DATABASE meal_management; mysql -u username -p meal_management < mealmanager.sql ``` Configure environment: ``` cp .env.example .env php artisan key:generate php artisan serve ``` Open in browser: ``` http://127.0.0.1:8000 ``` --- ## ๐ How to Use * Login as admin * Add members * Enter daily meals * Add expenses and deposits * View monthly reports --- ## ๐๏ธ Project Structure ``` app/ database/ resources/ routes/ public/ mealmanager.sql README.md ``` --- ## ๐ Future Improvements * PDF reports * Mobile-friendly UI * Charts & analytics * Role-based access --- ## ๐งพ Credits **Developer:** Shakhawat Hosen GitHub: [https://github.com/theshakhawathosen](https://github.com/theshakhawathosen) --- ## ๐ License MIT License โญ Star the repository if you find it useful.