This is a demo repository for a polling system.
Due to time constraints, only the frontend part has been completed. I combined the List page and Poll page, allowing users to vote directly by clicking the buttons on the left side. Additionally, users can switch to a specific poll for voting by clicking on the corresponding poll below.
To start the polling system, run the following command:
To install the polling system, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/polling-system-demo.git
- Navigate to the project directory:
cd polling-system-demo
- Navigate to the project directory:
cd frontend
- Install the dependencies:
npm install
- Start Frontend
npm start
; - open another terminal
- Navigate to the project directory:
cd polling-system-demo
- Navigate to the project directory:
cd server
- Install the dependencies:
npm install
- Start Backend
npm start
;