Skip to content

Latest commit

 

History

History
115 lines (82 loc) · 2.15 KB

README.md

File metadata and controls

115 lines (82 loc) · 2.15 KB

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 #, 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