https://github.com/soumya-rayast/vottingapp
Creating Votting App web application using Nodejs
https://github.com/soumya-rayast/vottingapp
dotenv expressjs javascript jwt-token mongodb nodejs
Last synced: 2 months ago
JSON representation
Creating Votting App web application using Nodejs
- Host: GitHub
- URL: https://github.com/soumya-rayast/vottingapp
- Owner: soumya-rayast
- Created: 2024-04-16T21:46:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-08T07:54:22.000Z (about 1 year ago)
- Last Synced: 2025-01-23T02:11:14.533Z (4 months ago)
- Topics: dotenv, expressjs, javascript, jwt-token, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.me
Awesome Lists containing this project
README
Voting Application
A functionality where user can give vote to the given set of candidates
Creating Module ,Routes
Voting App Functionality
1. user sign in / sign up
2. see the list of candidate
3. vote one of the candidate , after Voting , user cannot vote again
4. there is a route which shows the list of candidates and their live votes counts by their vote count
5. user data must contain their one unique government id proof named : aadhar card number
6. there should be one admin who can only maintain the table of candidates and he cannot able to vote at all
7. user can change the password
8. user can login only with aadhar number and password
9. Admin cannot voteRoutes
User Authentication :
/signup: POST - Create a new user account
/login: POST - Log in to an existing account. [aadhar card number + password]Voting :
/candidates : GET - Get the list of candidates.
/vote/:candidate : POST - Vote for a specific candidate.Vote Counts:
/vote/counts:GET - Get the list of candidates sorted by their vote counts.User Profiles :
/profile :GET - Get the user's profile information
/profile/password: PUT - Change the user's passwordAdmin Candidate Management
/candidates: POST - Create new Member
/candidates:candidateId: PUT - Update an existing candidate
/candidates:candidateId: Delete a candidate from the list