An Online Voting System built with the goal of making elections secure, transparent, and easy to use. This application allows users to register, log in, cast votes, and view results in real-time, ensuring a fair and efficient voting process.
🔐 User Authentication – Secure login and registration.
📝 Voter Registration – Only registered users can vote.
✅ Vote Casting – Each voter can cast only one vote.
📊 Real-Time Results – Results are updated instantly.
🛡 Admin Panel – Manage candidates, voters, and elections.
Frontend: React, MongoDB
Backend: Node.js, Express.js
Database: MongoDB
Authentication: JWT based authentication
1️⃣ Clone the Repository
git clone https://github.com/Shivam2005Goel/WeVote.git
cd WeVote2️⃣ Install dependencies for both the server and client
3️⃣ Create a .env file in the server directory. Add necessary environment variables (e.g., MongoDB connection string, JWT secret).
4️⃣ Navigate to the backend folder and start the server
cd backend
node index.js5️⃣ Navigate to the frontend folder and start the server
cd frontend
npm run start