A powerful voting website supporting users to create polls and vote for options, users can manage their own polls
As a visitor, you can:
- See everyone's polls on the home page
- By clicking on the specific poll, see the options and results in chart form of this poll
As a login user, in addition to the above, you also can:
- Create a poll with any number of possible items
- Vote on everyone's polls, if there is no matching option, you can add a custom one. And for each poll, you're allowed to vote only once
- Browse all of your history polls
- Delete your poll
- Clone Repo
git clone https://github.com/xiaoluo2017/Voting_app.git
- Set the database_url in
./route/config.js
- Install dependencies for the back-end
cd Voting_app && npm install
- Run the back-end
node bin/www
- Install dependencies for the font-end
cd client && npm install
- Run the front-end
npm start
- open your browser and go to localhost:3000
- React - a Javascript Library for Building User Interfaces
- Redux - State Management
- Node - a Javascript Runtime
- Express.js - The Web Framework
- Mongodb - Database
- Recharts - React Chart Library
- react-bootstrap - Bootstrap rebuilt for React
- react-router-v4 - Front-end Router
This project was built with Create React App and Express Backend