Added options selected in frontend

This commit is contained in:
Manik Maity
2024-11-13 22:05:19 +05:30
parent 131b921d96
commit 698a84e903
3 changed files with 25 additions and 1 deletions

View File

@@ -111,3 +111,7 @@ A basic diagram for this system would include:
3. **Database (MongoDB)**: Stores collections for users, polls, votes, and bookmarks.
4. **Socket.io/WebSocket**: Handles real-time updates from the server to the clients as votes come in.
## To go from deployed to local:
- change the backend .env url to `http://localhost:3000`
- chnage the axios base url to `http://localhost:3000/api/v1`
- change the io url in the vottingPage to `http://localhost:3000`