A user-friendly voting survey application built with React.js and Vite. It allows users to participate in surveys, cast votes, and view real-time results.
- Create and manage surveys
- Cast votes easily
- View real-time survey results
- Responsive and intuitive UI
- Fast performance with Vite
- React.js
- Vite
- JavaScript (ES6+)
- CSS (Tailwind/Custom Styling)
- Axios
- React Hot Toast
- React Icons
- React Router DOM
- Clone the repository:
git clone https://github.com/MdMohsinHaider/Voting-Survey-React-Frontend.git
- Navigate to the project directory:
cd Voting-Survey-React-Frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev
{
"name": "voting-survey",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.7.9",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hot-toast": "^2.5.1",
"react-icons": "^5.4.0",
"react-router-dom": "^7.1.5"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.19.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.18",
"globals": "^15.14.0",
"vite": "^6.1.0"
}
}
- Open
http://localhost:5173/
in your browser. - Create a survey, participate in voting, and view results.
Contributions are welcome! Feel free to fork the repo and submit pull requests.
This project is licensed under the MIT License.
Developed by Md Mohsin Haider
- GitHub: MdMohsinHaider