bksun / my-quora-app

A Quora like basic web-app using DJango 2.2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-quora-app

A Quora like basic web-app using DJango 2.2

Features

  • User can ask question
  • User can answer question
  • User can comment on answers
  • User can upvote and downvote
  • User can signup, login & logout

Screen shots

Question lists

Question Lists Unauth

Question Lists auth

Login

Login

Ask Question

Ask

Answer Question

Answer

Question details

Question details

Setup

Clone the project

git clone https://github.com/bksun/my-quora-app.git

create and start a a virtual environment

virtualenv env --no-site-packages

source env/bin/activate

Install the python package requirements using pip.

pip install -r requirements.txt

Run the migrate command to create database tables.

python manage.py migrate

Use the createsuperuser command to create a user who has superuser privileges.

python manage.py createsuperuser

Finally run the server using the runserver command.

python manage.py runserver

Testing

Linter test using Flake8

flake8 .

Unit tests and Coverage report.

pytest

Built with

Contribute

  1. Feel free to raise issue
  2. Highly appreciate for pull request

License

MIT

About

A Quora like basic web-app using DJango 2.2


Languages

Language:Python 72.7%Language:HTML 27.2%Language:CSS 0.1%