Node.js Polling Setup

Job ID: 39550381

Budget: £250 – £750 GBP

I need help setting up a push for a poll website using Node.js.

Requirements:
- Users should be able to create a poll and share the poll page with a token (poll.php?token=).
- Instead of each user sending requests every second to check if the poll has started, I want to use Node.js to push updates to poll.php?token= so all users can start together. This will be lighter on the server.

Current Setup:
- I've tried setting up start_poll.php and poll.php, and created a poll-socket separate from the domain.
- Added package.json and server.js, and created an application with App root: poll-socket and App Url domain: socket.
- I can see "SSE server running" on domain/socket but I'm hitting Apache’s Passenger layer on /socket/ws, so the WebSocket upgrade never makes it through.

Environment:
- Using a VPS server and only have cPanel access, no WHM access.

Ideal Skills and Experience:
- Strong experience with Node.js and WebSockets.
- Familiar with VPS and cPanel management.
- Knowledge of real-time communication and server-side scripting.
The Host provider can update and restart apache if needed.
Related categories: PHP JavaScript Linux Apache Node.js Socket IO