GithubHelp home page GithubHelp logo

trivia's Introduction

Trivia Build Status Code Climate Coverage Status

  1. As a user I want to be able to visit a page that has a list of trivia facts. I should be able to see a list of all the featured trivia facts. I should be able to see both the question and the answer.

  2. As a user I want to be able to go to a trivia facts information page, so that I can view the question, answer, and creater. I should be able to navigate to a trivia facts show page. I should see the question, answer, and creater.

  3. As a user I want to be able to create a new trivia fact, so that I can contribute to the site. so that I can contribute my knowledge to the whole. I should be able to go to a page with a form to add a new trivia fact I should be able to fill out the form and be redirected to the trivia facts information page I should be given an error if the fact already exsists or if I do not fill out the form completely. I should be given a confirmation message if the trivia is saved

  4. As a user I want to be able to upvote or downvote a trivia fact, so that I can help mediate trivia that are not true. I can find two buttons on a trivia information page. I can press false if I know it is false and true if I know it is true. My vote should be tallied and displayed on the page.

  5. As a user I want to be able to go to my page and see all the trivia facts I have collected. I can visit my page and see any trivia that I have collected The trivia should be in the same form as the trivia in the index

  6. As a site visiter, I want to be able to sign up so that I can start tracking my use of this site. I can visit a page with a sign up form If I fill out the form properly I get redirected to my profile page If I fill out the form incorrectly I get an error message.

  7. As a user I want to be able to sign in and sign out. I can visit a page that has a form for me to sign in with Once signed in I can click a link to sign out.

  8. As a user I want to be able to edit my account, in case my information changes or I messed up my initial sign up form. I can navigate to a page with all my information pre populated. I can change this information and resubmit it. If I insert valid information I get redirected to my profile page. If I insert invalid information I get an error message.

  9. As an admin I can visit a trivia's show page and edit the content so that I can mediate sub par content. The show page should have an edit button so that I may change the content. If the admin fills in the page correctly they should be redirected to the trivia's show page. if the admin fills in the page with invalid information they should be given an error message.

  10. As an admin I should be able to delete trivia if I know it to be false. I should be able to find a delete button on the index page for trivia. When i press it I should be redirected to the same page with a notification that i deleted the trivia. If it does not delete I should see a error message.

11 .As an admin I should be able to make trivia featured I should be able to travel to a page with all the unstaged trivia I should be able to press a button and make a trivia fact featured

trivia's People

Contributors

rorick55 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.