- 🤖 Introduction
- ⚙️ Tech Stack
- 🔋 Features
- 🤸 Quick Start
This voting application is built using Node.js for server-side logic, Express.js for handling routes and middleware, and MongoDB
for data storage. It features secure JWT-based user authentication, AadharCard number login, and real-time vote tracking. Designed
for simplicity and efficiency, this app aims to provide a seamless voting experience.
- Node.js
- Express.js
- JWT
- MongoDB
👉 Sign-up/Sign-in: User can sign-up and get JWT token and user can login with Aadharcard Number and Password.
👉 Authentication: Without Authentication user not allowed to access the account.
👉 Update Password: User can update password.
👉 Vote: User can vote set of Candidates and user can vote only once.
👉 Only One Admin: There is no more than one admin in this app and amdin can't vote.
👉 Candidate Live Vote Count: Dynamically updates candidate vote count.
Follow these steps to set up the project locally on your machine.
Prerequisites
Make sure you have the following installed on your machine:
Cloning the Repository
git clone
cd votingAPP
Installation
Install the project dependencies using npm:
Connect to your MongoDB
create .env file and add PORT & MONGODB_URI
npm install
Running the Project
npm server.js
Open http://localhost:3000 in your browser to view the project.