Skip to content

A web application where you post an issue and explain your side of the argument. You then invite another user to respond or vote on your issue.

License

Notifications You must be signed in to change notification settings

mattypockets/Settle-It

 
 

Repository files navigation

Settle-It!

All Contributors

Project Description

Settle It! allows users to post their side of an argument, invite someone else to post their competing side, and the community then votes on which side is correct. No comments, no endless discussions, put forth your best stance on an issue so that you can finally Settle-It!

Link to Deployed Site

https://settle-it.herokuapp.com/

How It Works

Sign up with a username and log in.

Passport authenticates the user's request for a username and password. In the code, passport.authenticate() is called and a specific strategy is used. If authentication fails, then the users gets an error or 401 unauthorized status. If authentification succeeds, then the user is directed to the home page. The username is compared to user names in the database.

Once logged in, you can view your account, where you can see your active settles, or any settles that others have sent you to respond to. You can also go to the "Create a Settle" page where you can start a debate and then pick a user to invite to respond with their side.

Settles will only show on the main page for others to vote on once both sides have been added to the debate.

Each user can vote on each settle only once.

Starting a settle: Replying to a settle request:

Technology Used

HTML, CSS, Materialize, JavaScript, jQuery, Node.js, Express.js, Passport.js, MySQL, Sequelize, Handlebars, balsamiq models.

Potential improvements to this app and code

Use a single sign-on using an OAuth provider that require token-based credentials to protect access like Facebook, Twitter, or Github.

Display usernames on debates.

Ability to follow debates that you have voted on.

Ability to set a closing date/time on debates so that the results will be locked in at that time and the debate will be settled.

Pie charts to be able to easily visualize results of each debate.

Contributors

Thanks goes to these wonderful people (emoji key):


Chase Holladay

📖 💻 🤔 👀

Melissa Nelson

📖 💻 🤔 👀 🎨

Matt Gasper

📖 💻 🤔 👀 🎨

deenobahri12

📖 💻 🤔 👀

Yuval Ashkenazi

📖 💻 🤔 👀 🐛

Spencer Berg

📖 💻 🤔 👀 🐛

Examples of our wireframes and models

Models

Wireframe Diagram

About

A web application where you post an issue and explain your side of the argument. You then invite another user to respond or vote on your issue.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.5%
  • HTML 41.7%
  • CSS 0.8%