- The user should be able to create a login
- Post questions
- View questions posted by others
- Able to answer questions posted by others
- Should be able to like answers posted by others
- Able to log out
- Can use Django Forms and the assignment does not look for elegance on the HTML front but functionality.
- Not Allowed to add, edit, delete questions until logged-in.
- Delete Button to delete questions
- Delete Button is only visible to the author of the Question
- Edit Button to Edit Questions
- Delete Question functionality only if logged-in user and question author are the same user
- Total likes count updated LIVE
- Edit Button to Edit Answers
- Not Allowed to add, edit answers until logged-in.
- Likes are mapped from User to Answer allowing to keep track of who liked what
- Total likes are automatically calculated
- Not Allowed to Like until logged-in
--> Move into the directory where we have the project files :
cd Quora-clone
--> Create a virtual environment :
# Let's install virtualenv first
pip install virtualenv
# Then we create our virtual environment
virtualenv envname
--> Activate the virtual environment :
envname\scripts\activate
--> Install the requirements :
pip install -r requirements.txt
--> To run the App, we use :
python manage.py runserver
The development server will be started at http://127.0.0.1:8000/