Skip to content

JBassard97/PollR

Repository files navigation

PollR

https://pollr.onrender.com

PollR Homepage

Table of Contents

Description

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

Installation

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.

Usage

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:

PollR Log-in page

To create a Poll, click on the Create Poll link on the navigation bar and enter the required information:

PollR Create Poll page

Polls created by the user may be deleted via the My Profile page:

PollR Profile page

Finally, you may update your username, email or password via the settings page:

PollR 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.

License

MIT License

License: MIT

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.

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published