This repository is code release for the Simple Voting project. It provides a simple, real-time, and secure system for people to express their opinions.
- Starting up a campaign with time constraint
- Voting
- Real-time vote count
- Display vote count after user vote for the poll
- Using hashing to protect voters' information
- List all voting campaign, order by:
- Active campaigns
- Most recent ended campaign
- Housekeeping ended campaign voter data
To install all the required stack on a server, we used Docker to build the application image.
# 1. Clone the repository
git clone https://github.com/pokeguys/svote.git
cd svote
# 2. Install Dependencies
yarn
# 3. Create a ".env" file
cp .env.example .env
# 4. Open ".env" file and enter the service info.
# 5. Run Svote via Docker
docker-compose up
This project includes a docs
folder with more details on:
SVote-vue (https://github.com/pokeguys/svote-vue)
Swagger (http://localhost:3000/docs/api)