Skip to content

Voting Survey React Frontend: A user-friendly interface for casting votes, viewing results, and managing surveys efficiently.

License

Notifications You must be signed in to change notification settings

MdMohsinHaider/Voting-Survey-React-Frontend

Repository files navigation

Voting Survey React Frontend

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.

Features

  • Create and manage surveys
  • Cast votes easily
  • View real-time survey results
  • Responsive and intuitive UI
  • Fast performance with Vite

Technologies Used

  • React.js
  • Vite
  • JavaScript (ES6+)
  • CSS (Tailwind/Custom Styling)
  • Axios
  • React Hot Toast
  • React Icons
  • React Router DOM

Installation

  1. Clone the repository:
    git clone https://github.com/MdMohsinHaider/Voting-Survey-React-Frontend.git
  2. Navigate to the project directory:
    cd Voting-Survey-React-Frontend
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm run dev

Package Details

{
  "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"
  }
}

Usage

  • Open http://localhost:5173/ in your browser.
  • Create a survey, participate in voting, and view results.

Contributing

Contributions are welcome! Feel free to fork the repo and submit pull requests.

License

This project is licensed under the MIT License.

Contact

Developed by Md Mohsin Haider