{"id":23360163,"url":"https://github.com/shivlalsharma/online-voting-system","last_synced_at":"2026-02-28T14:31:38.293Z","repository":{"id":266458095,"uuid":"898404894","full_name":"shivlalsharma/online-voting-system","owner":"shivlalsharma","description":"Online Voting System is a secure web application that allows users to register, log in, and participate in online voting. It includes features like email verification, password reset functionality, and a voting page to cast votes in elections.","archived":false,"fork":false,"pushed_at":"2024-12-04T10:38:21.000Z","size":1216,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"php","last_synced_at":"2025-10-30T08:57:27.584Z","etag":null,"topics":["backend","css","email-verification","frontend","html","javascript","mysql","online-voting-system","php","voting","web-development"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivlalsharma.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-04T10:35:05.000Z","updated_at":"2024-12-04T10:42:57.000Z","dependencies_parsed_at":"2024-12-04T11:32:59.488Z","dependency_job_id":"435a1faf-13a4-42a7-bcbe-8446d5d28153","html_url":"https://github.com/shivlalsharma/online-voting-system","commit_stats":null,"previous_names":["shivlalsharma/online-voting-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shivlalsharma/online-voting-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivlalsharma%2Fonline-voting-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivlalsharma%2Fonline-voting-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivlalsharma%2Fonline-voting-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivlalsharma%2Fonline-voting-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivlalsharma","download_url":"https://codeload.github.com/shivlalsharma/online-voting-system/tar.gz/refs/heads/php","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivlalsharma%2Fonline-voting-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29937391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","css","email-verification","frontend","html","javascript","mysql","online-voting-system","php","voting","web-development"],"created_at":"2024-12-21T11:13:16.556Z","updated_at":"2026-02-28T14:31:38.267Z","avatar_url":"https://github.com/shivlalsharma.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Online Voting System\n\nThe **Online Voting System** is a web application that allows users to securely register, log in, and cast their votes online. This system includes email verification for registration and password reset functionality, ensuring a secure voting process. Users can view the voting options on the \"Vote Now\" page and participate in elections.\n\n## Features\n\n- **User Registration**: Users can sign up by providing necessary details and verifying their email.\n- **Email Verification**: A verification link is sent to the user's email upon registration to confirm their account.\n- **Login**: Registered users can log in using their credentials.\n- **Forgot Password**: Users can reset their password by receiving a password reset link sent to their registered email.\n- **Vote Now**: Users can navigate to the \"Vote Now\" section to participate in elections.\n- **Contact Page**: A page where users can contact for further assistance or inquiries.\n- **Logout**: Users can log out of their accounts.\n\n### Additional Features:\n\n- **Email Notifications**:\n  - **Password Reset**: Users receive an email with a reset link if their email is valid.\n  - **Email Verification**: New users receive an email to verify their email address upon registration.\n\n## Technologies Used\n\n- **Frontend**:\n  - HTML\n  - CSS\n  - JavaScript\n- **Backend**:\n  - PHP\n- **Database**:\n  - MySQL\n- **Other**:\n  - Email handling (for user verification and password reset)\n\n## How It Works\n\n1. **User Registration**:\n   - When a user registers, they provide their details (name, email, password, etc.).\n   - A verification email with a link is sent to the user's email address for confirmation.\n\n2. **Email Verification**:\n   - After registration, the user must click the verification link sent to their email to activate their account.\n   - Once verified, the user can log in using their credentials.\n\n3. **Login**:\n   - Registered users can log in using their email and password.\n\n4. **Forgot Password**:\n   - If a user forgets their password, they can request a password reset by entering their email address.\n   - A reset link will be sent to their email, allowing them to create a new password.\n\n5. **Vote Now**:\n   - Once logged in, users can access the \"Vote Now\" page to participate in elections or cast their votes.\n\n6. **Logout**:\n   - Users can log out of their accounts when they're done.\n\n## Installation\n\n### Prerequisites\n\nEnsure you have the following installed:\n- Apache server (XAMPP)\n- PHP\n- MySQL\n- Code editor (e.g., VSCode)\n\n### Clone the repository\n```bash\ngit clone https://github.com/shivlalsharma/online-voting-system.git\ncd online-voting-system\n```\n### Set up the Database:\n\n1. **Access phpMyAdmin**: Open `http://localhost/phpmyadmin/` in your browser.\n2. **Create a new database**: Create a new database (e.g., `voting`).\n3. **Import the database schema** (if available) to create the tables.\n4. **Update database connection settings** in `connect.php`:\n```php\n$servername = \"localhost\";\n$username = \"root\";\n$password = \"\";  // Default MySQL password\n$dbname = \"voting\";  // Name of your database\n```\n\n### Configure Server:\n\n1. Ensure **Apache** and **MySQL** servers are running in **XAMPP**.\n2. Place the project folder (`online-voting-system`) in the `htdocs` directory of XAMPP.\n\n\n### Access the Application:\n\n1. Open your browser and go to `http://localhost/online-voting-system`.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Author\n\nCreated and deployed by **Shivlal Sharma**.  \n- **GitHub**: [Shivlal Sharma's GitHub](https://github.com/shivlalsharma)\n- **LinkedIn**: [Shivlal Sharma's LinkedIn](https://www.linkedin.com/in/shivlal-sharma-56ba5a284/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivlalsharma%2Fonline-voting-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivlalsharma%2Fonline-voting-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivlalsharma%2Fonline-voting-system/lists"}