├── backend ├── .gitignore ├── package-lock.json ├── package.json └── src │ ├── config │ └── index.js │ ├── handlers │ ├── create-polls.js │ ├── create-votes.js │ └── get-poll.js │ ├── index.js │ ├── setup │ ├── database.js │ ├── middleware.js │ ├── redis.js │ └── router.js │ └── validators │ ├── create-polls.js │ └── create-votes.js └── frontend ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── components │ └── Button.js ├── index.js ├── pages │ ├── CreatePoll.js │ ├── Home.js │ └── ViewPoll.js ├── serviceWorker.js └── setupTests.js └── yarn.lock /backend/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/config/index.js -------------------------------------------------------------------------------- /backend/src/handlers/create-polls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/handlers/create-polls.js -------------------------------------------------------------------------------- /backend/src/handlers/create-votes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/handlers/create-votes.js -------------------------------------------------------------------------------- /backend/src/handlers/get-poll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/handlers/get-poll.js -------------------------------------------------------------------------------- /backend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/index.js -------------------------------------------------------------------------------- /backend/src/setup/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/setup/database.js -------------------------------------------------------------------------------- /backend/src/setup/middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/setup/middleware.js -------------------------------------------------------------------------------- /backend/src/setup/redis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/setup/redis.js -------------------------------------------------------------------------------- /backend/src/setup/router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/setup/router.js -------------------------------------------------------------------------------- /backend/src/validators/create-polls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/validators/create-polls.js -------------------------------------------------------------------------------- /backend/src/validators/create-votes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/backend/src/validators/create-votes.js -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/public/logo192.png -------------------------------------------------------------------------------- /frontend/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/public/logo512.png -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/public/robots.txt -------------------------------------------------------------------------------- /frontend/src/components/Button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/src/components/Button.js -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/src/index.js -------------------------------------------------------------------------------- /frontend/src/pages/CreatePoll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/src/pages/CreatePoll.js -------------------------------------------------------------------------------- /frontend/src/pages/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/src/pages/Home.js -------------------------------------------------------------------------------- /frontend/src/pages/ViewPoll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/src/pages/ViewPoll.js -------------------------------------------------------------------------------- /frontend/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/src/serviceWorker.js -------------------------------------------------------------------------------- /frontend/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/src/setupTests.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahdcoder/scalable-voting-app-nodejs-reactjs/HEAD/frontend/yarn.lock --------------------------------------------------------------------------------