Skip to content

Online Voting Platform for fulfillment of Pupilfirst WD201

Notifications You must be signed in to change notification settings

thedevildude/wd-online-voting

Repository files navigation

Online-Voting-Platform

This is an online voting platform porject build using NodeJs, Express for Backend and ejs and Tailwind CSS for front-end. Voter admins can sign up and create new elections, add in questions, short description and answer options to vote on. Admins can then register register voters and launch the election where voters can login and vote. Once election ends results are served on the public page of election.

Demo

https://online-voting-platform-i9pc.onrender.com/

Screenshots

App Screenshot
App Screenshot

Run Locally

Clone the project

  git clone https://github.com/thedevildude/wd-online-voting.git

Go to the project directory

  cd wd-online-voting

Install dependencies

  npm install

Create the database

  npx sequelize-cli db:migrate

Start the server

  npm start

Running Tests

To run tests, run the following command

  npm run test

Deployment

To deploy this project run. (Make sure you have PostgreSQL installed)

  npm install
  npm run start:prod

Once the server has started please visit /sync route to sync the database

Authors

About

Online Voting Platform for fulfillment of Pupilfirst WD201

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published