This is a web application built with React, Redux Toolkit, TypeScript and CSS. It allows users to create poll with multiple answer options and conduct voting on them. The results of the voting are dynamically calculated and displayed in the form of voting count and percentage.
The app also includes form validation and uses React Router for navigation.
To run this application locally, please follow these steps:
- Clone the repository to your local machine.
- Install the dependencies by running
npm install
in the project directory. - Start the development server by running
npm start
. - Open your browser and navigate to http://localhost:3000 to view the application.
Alternatively, you can simply follow the link to access the deployed app.
Upon launching the application, you will see a list of existing questions and a lookup service for conveniently searching for the desired poll.
You can create a new poll by filling out the form with the question text and answer options. And generate a voting page.
Once you submit the form, the new question will appear in the list. To vote on a question, click on the question in the list to navigate to the voting page.
From there, you can select your preferred answer option and submit your vote.
The results of the voting will be displayed on the same page, showing the total number of votes and the percentage of votes for each answer option.
- React
- React Router
- Redux Toolkit
- TypeScript
- CSS
- Lottie animations
- Animate.css
This application was built as a project for Microsoft Reactor Web Development course / Microsoft.