Welcome to the Voting Application repository! This Android application is designed to provide a secure and user-friendly platform for conducting elections. It leverages Firebase for backend services including authentication, real-time database, and storage.
- 🔒 User Authentication: Secure login and registration using Firebase Authentication.
- 🗳️ Create Elections: Admins can set up new elections with specific parameters.
- ✅ Cast Votes: Users can cast their votes through an intuitive interface.
- 📊 Results Calculation: Real-time vote counting and result display using Firebase Realtime Database.
- 🛠️ Admin Dashboard: Comprehensive dashboard for managing users and elections.
- Android Studio (latest version)
- Java JDK (version 8 or higher)
- Firebase Account
-
Clone the repository:
git clone https://github.com/premkumarmistry/Voting.git cd Voting
-
Open the project in Android Studio:
- Launch Android Studio.
- Select "Open an existing Android Studio project".
- Navigate to the cloned directory and open it.
-
Set up Firebase:
- Go to the Firebase Console.
- Create a new project or use an existing one.
- Add an Android app to your project and follow the setup steps.
- Download the
google-services.json
file and place it in theapp
directory of your Android project.
-
Configure Firebase:
- Open the
build.gradle
files (both project-level and app-level) and ensure you have the necessary Firebase dependencies added. - Sync your project with Gradle files.
- Open the
-
Run the application:
- Connect your Android device or start an emulator.
- Click on the "Run" button in Android Studio to install and launch the app.
- Register an account: Sign up using the registration form within the app.
- Create a new election (Admin only): Access the admin dashboard to set up a new election.
- Vote: Login and select an active election to cast your vote.
- View results: Results are displayed in real-time on the results page.
We welcome contributions to enhance the Voting Application. To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or support, please contact:
- Prem Kumar Mistry: [email protected]
- GitHub Issues: Open an issue on the repository for bug reports or feature requests.