Giter Site home page Giter Site logo

voting-app's Introduction

A backend functionality where user can give vote to the given set of candidates.

Voting app functionality

  1. user sign in / sign up
  2. see the list of candidate
  3. vote one of the candidate, after voting, user can't vote again
  4. there is a route which shows the list of candidates and their live vote counts sorted by their vote count
  5. user data must contain their one uqiue goverment id proof named : aadhar card number
  6. there should be one admin who can only maintain the table of candidates and he can't able to vote at all
  7. user can change their password
  8. user can login only with aadhar card number and password
  9. admin can't vote at all

Routes

User Authentication:

/signup: POST - Create a new user account.
/login: POST - Log in to an existing account.

Voting:

/candidates: GET - Get the list of candidates.
/vote/:candidateId: POST - Vote for a specific candidate.

Vote Counts:

/vote/counts: GET - Get the list of candidates sorted by their vote counts.

User Profile:

/profile: GET - Get the user's profile information.
/profile/password: PUT - Change the user's password.

Admin Candidate Management:

/candidates: POST - Create a new candidate.
/candidates/:candidateId: PUT - Update an existing candidate.
/candidates/:candidateId: DELETE - Delete a candidate from the list.

voting-app's People

Contributors

manishprajapat001 avatar c1phani1simha avatar

Watchers

 avatar

Forkers

c1phani1simha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.