Skip to content

Pranshu1902/Online-Voting

Repository files navigation

Online Voting

One shot platform to host elections, add voters, and view results graphs

MIT License

Deployed App link: https://online-voting-pranshu1902.onrender.com/

Demo

https://www.loom.com/share/deb47f3ff51347fb841f7254e3a7a6d7

Features

  • Live result preview
  • Fully Responsive platform
  • Uses CSRF tokens to prevent attacks
  • Result automatically visible to voters when election ended

Tech Stack

Client: EJS, TailwindCSS

Server: Node, Express

Database: Postgres

Installation

Don't forget to create the databse with corresponding name as mentioned in config.json

Clone the project

  git clone git@github.com:Pranshu1902/Online-Voting.git

Go to the project directory

  cd Online-Voting

Install dependencies

  npm install

Start the server

  npm start

Running Tests

To run tests, run the following command

  npm test

Screenshots

Home Page:

Dashboard:

Election Admin Page:

Election Preview:

Live Election Admin Page:

Voter Login Page:

Main Voting Page:

Election Results Page:

Feedback

If you have any feedback, please raise an issue

About

One shot platform to host elections, add voters, and view results graphs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published