My voting app is (relatively) finished!

Hi everyone!

I just finished my voting app using the full MERN stack. By far the most challenging project I’ve ever worked on!

Lots of ups and downs working on this. At one point, Facebook locked down my account (probably because I was fiddling around with the FB sign-in button) and wouldn’t let me back in unless I consented to them scanning my computer…

I still think I could polish up on the formatting but I’m really burned out on this project and need to move on.

Please check it out and let me know if there are any fixes I should make. Thank you!

Voting app:


Found a small little problem. If I click on a poll and either have already voted or not voted yet and
refresh the page (F5 on Chrome), I receive a 404 error that looks something like:

Not Found


Error: Not Found
    at /app/app.js:143:13
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/app/node_modules/express/lib/router/index.js:317:13)
    at /app/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/app/node_modules/express/lib/router/index.js:335:12)
    at next (/app/node_modules/express/lib/router/index.js:275:10)
    at /app/node_modules/express/lib/router/index.js:635:15
    at next (/app/node_modules/express/lib/router/index.js:260:14)
    at Function.handle (/app/node_modules/express/lib/router/index.js:174:3)
    at router (/app/node_modules/express/lib/router/index.js:47:12)

Thank you! I’ll be looking into that.