ppreyer / rails-questionbox-parker_jacob

rails-questionbox-parker_jacob created by GitHub Classroom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuestionBox

Description

For this two-day project, your team will build a question and answer platform, not unlike Stack Overflow in format, although you can theme it however you like. After a few days, your application will allow people to ask questions, receive answers, and mark an answer as valid.

The application should be styled with Bootstrap or another css framework. It does not have to be deployed to Heroku.

On the first day, your application should:

  • Allow a user to create a question.
    • That question should allow for several paragraphs of formattable text. Allow your users to use Markdown for authoring questions. Redcarpet is a good gem for rendering Markdown as HTML. This blog post may help as well.
  • Allow questions to have answers.
  • Allow unauthenticated users to view questions and answers.
  • Have registration and login.
  • Every question and answer will be associated with a user.
  • Allow an authenticated user to create a question or answer an existing question.
  • A user should be able to view all their questions on a user profile page.
    • Questions cannot be edited once they have been asked (note: allowing editing of unanswered questions is listed below as an extra challenge).
    • A question can be deleted by its author, whether answered or unanswered. If it is deleted, all associated answers should also be deleted.

On the second day, your application should:

  • Send an email to a user when someone posts an answer to a question.
  • Paginate the index of questions with Kaminari.
  • Allow a user to upload a profile photo.
  • Allow the original author of the question to mark an answer as accepted.

Added features if you have time

  • Use AJAX to update the page when a user submits an answer to a question.
  • Allow a user to change their password.
  • Send an email to a user to reset their password if they have forgotten it, and allow them to reset it.
  • Allow an unanswered question to be edited.
  • Allow the author of an answer to delete or edit that answer.
  • What else would you like to do? 🤔

About

rails-questionbox-parker_jacob created by GitHub Classroom


Languages

Language:Ruby 55.6%Language:HTML 40.2%Language:CSS 2.4%Language:JavaScript 1.1%Language:CoffeeScript 0.8%