bksun / my-quora-app

A Quora like basic web-app using DJango 2.2
4 stars 6 forks source link
django2-2 flake8 pytest python python3

my-quora-app

A Quora like basic web-app using DJango 2.2

Features

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