Skip to content

montukv/CommentAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommentAPI

MIT License LinkedIn


Codingal : backend assessment

threaded comments application.

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact

About The Project

This is a threaded comment application .As per codingal backend assesment task requirement .

I have made a django webapp for implementing threaded comment functionality . I have choosen a theam of open form discussion and implemented accordingly .The user can see the multiple open discussion form where people can comment their opnion and discuss things with the world .

User can read everyones comments and login to write comment or reply to others comments . Admin can delete any single or whole thread of comments by deleting the parent comment or by deleting the form/page itself.Admin can delete all comment by deleting the page itself. Admin can also edit comments .

Built With

These are the tech stack i have used to build this

Getting Started

Follow the below instruction to run the project in your system

Installation and setup

  1. Clone the repo

    git clone https://github.com/montukv/CommentAPI.git
  2. CommentAPI folder

    cd commentAPI
  3. Install packages

    pip install -r requirements.txt
  4. configure database

    python manage.py makemigrations
    python manage.py migrate
  5. Run django application

    python manage.py runserver
  6. Login to admin '/admin'

    ID :- montu
    Pass :- 1234

    NOTE:- User can't comment if now logged in but can read the comments .

  7. Now you can comment on pages Go to '/'

Usage

Home Page home discussion form user can reply to other API call to get comment list Parent comment in database with parent field as null Child comment in database as parent field pointing to parent comment

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Name-Montukeshwar Vaishnaw - Montukeshwar@gmail.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors