Skip to content

StackOverflow web-based application in python with flask framework based on MVC architecture. Worked with MYSQL database and sqlalchemy ORM model to handle data. The user can ask a question, post answer, upvote, downvote, comments, views, search, answer later, bookmark.

Notifications You must be signed in to change notification settings

darshank15/Stackoverflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stackoverflow

This repository contains code for clone of Stackoverflow site made using

  • Python Flask
  • MySQL as database
  • SQLAlchemy for ORM
  • HTML, CSS and Bootstrap for frontend

Prerequisites

sudo apt install python2.7 python-pip
pip install Flask
pip install flask-mysql
pip install flask-sqlalchemy
pip install PyMySQL

Database setup

  • install and setup mysql (click here)
  • mysql username and password should be set to 'root'
  • use data.sql to import the schema, tables and data

Steps to run

  • python home.py (from the directory of this project)
  • open localhost in browser to see the website

Features supported

  • Ask question (with summernote editor)
  • Answers (with summernote editor), comments to questions
  • Upvote, downvote to questions and answers
  • Save questions to Answer Later
  • Bookmark answer
  • Search questions by tag, title
  • List of questions of a particular tag when clicked on it
  • View and edit profile

Screenshots

Home Page

Detailed Question-Answer Page

Profile Page

About Us

About

StackOverflow web-based application in python with flask framework based on MVC architecture. Worked with MYSQL database and sqlalchemy ORM model to handle data. The user can ask a question, post answer, upvote, downvote, comments, views, search, answer later, bookmark.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •