Skip to content

lonewarrior556/capstone-project

Repository files navigation

NYC stack-overflow

Heroku link

Minimum Viable Product

Nyc stack overflow is a clone of StackOverflow built on Rails and Backbone. Users can:

  • Create accounts
  • Create sessions (log in)
  • Create Questions
  • Create Responoses
  • View Questions and answers
  • Post comment on questions and responses
  • See your asked questions and replies
  • Vote on responses
  • Search for Questions by title
  • select the best answer to your questions

Design Docs

Implementation Timeline

Phase 1: User Authentication, Blog Creation (~2 day)

I will implement user authentication in Rails based on the practices learned at App Academy. Users will be able to create questions using a simple text form in a Rails view, and then respond to those questions. The last part of this this phase willbe pushing the app to Heroku.

Details

Phase 2: Viewing Blogs and Posts (~2 days)

I will add API routes to serve questions and response data as JSON, then add Backbone models and collections that fetch data from those routes. By the end of this phase, users will be able to create questions and view both questions and responses, all inside a single Backbone app.

Details

Phase 3: Adding Comments and Votes to Responses, selecting best Response (~2 days)

next to every response will be a tally of votes, under it will be comments on the response, and and the best response will be hoisted to the top right under question if there is a best one. Details

Phase 4: User Index Page (~1-2 days)

the user will have an index page that suggests answering questions that have no best answer, and choosing best answers for questions he asked that have now been answered

Details

Phase 5: Searching for Questions (~2 days)

I'll need to add search routes to the questions. On the Backbone side, there will be a SearchResults composite view.

Details

Bonus Features (TBD)

  • "vote up" button and counter for responses
  • Activity history (e.g. votes, answers, questions comments)
  • Multiple sessions/session management
  • User avatars
  • Typeahead search bar