Skip to content

chrisresnick/virusoverflow

Repository files navigation

virus-overflow

Virus-overflow is a question and answer webapp for people to get their covid questions answered, inspired by famous stack overflow.


NodeJS Express.js Pug CSS3 Postgres Heroku

Checkout the Live App @ virus-overflow

Features

  • User Authentication
    • Users can sign up, log in, and log out
    • Users can try out the app with a Demo User login
    • Most of the features will be unavailable to the guest user, such as posting a question, voting or answering a question
  • Ability to ask a question
    • Members can ask a question
    • Members can delete or edit their question
  • Ability to respond to a question
    • Members can respond to a question
    • Users can view questions on the questions page
  • Up and Down vote
    • Members can upvote and downvote
    • Only one vote per question
  • Search for a question
    • Anyone can search for a question
  • Hosting on Heroku
    • Hosted on a live server that is always up

Extras:

  • User Profile
  • Reputation - keep track of number of good answers
    • verification
  • Attachments on posts

Database Schema:

database schema

Routes

  • Auth Routes

    • POST /login Login a User

    • POST /users/register User Signup

    • POST /logout User logout

  • Question Routes

    • GET /questions Show all the questions

    • POST /questions create a new question

    • GET /questions/:id return a question and all associated answers, and votes

    • DELETE /questions/:id delete a question

    • POST /questions/:id/vote up/down vote a question

  • Answer Routes

    • POST /questions/:id answer a question

    • POST /answers/:id/vote up/down vote a answer

    • PATCH /answers/:id edit answer

    • DELET /answers/:id delete answer

  • Search Route

    • GET search/ seach questions/answers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6