This repository contains the source code for our app, PollR! The site allows users to vote on polls, and create their own and see their previous responses once they've made an account.
PollR is a web application based on a MERN stack (MongoDB, Express.js, React.js and Node.js). The following packages were also used:
- Apollo Server and GraphQL
- JWT (JSON Web Tokens)
- Vite
- React Bootstrap
To visit the live site, visit the link under Usage
To run the project locally, follow these steps:
- Clone the repository from https://github.com/JBassard97/PollR to the desired directory on your computer.
- Open the repository in the root directory and run the command
npm run install
to install the required packages and dependencies. - To build the frontend server, run the command
npm run build
- To run the server and client, run the command
npm run develop
. This will start the server locally as well as open the client in your computer's browser. - Don't forget to enter
Ctrl + C
when you're finished running the server to free your port up.
PollR: https://pollr.onrender.com
PollR allows you to create a user profile to then engage in creating your own polls as well as voting in other users polls. To get started, click on the Log-in link on the navigation bar to create an account:
To create a Poll, click on the Create Poll link on the navigation bar and enter the required information:
Polls created by the user may be deleted via the My Profile page:
Finally, you may update your username, email or password via the settings page:
Further application details:
- Users must create an account and be logged in to create and vote on polls.
- Users may only vote on each poll once.
MIT License
Copyright (c) [2024] [Michael Levey, Jonathan Acciarito, Anthony Michel & Ian Reynolds]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- Michael Levey - https://github.com/MLevey92
- Jonathan Acciarito - https://github.com/JBassard97
- Anthony Michel - https://github.com/Ant-M84
- Ian Reynolds - https://github.com/Ianreynolds01