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
sudo apt install python2.7 python-pip
pip install Flask
pip install flask-mysql
pip install flask-sqlalchemy
pip install PyMySQL
- 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
- python home.py (from the directory of this project)
- open localhost in browser to see the website
- 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