Skip to content

Find the optimal content on YouTube based on highest Upvotes.

Notifications You must be signed in to change notification settings

karthikkashyap98/Artifex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artifex

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Cloning

To clone the project onto your local machine, do:

git clone https://github.com/karthikkashyap98/ph4youtube

Installing

  • Create a virtual environment:
    mkvirtualenv name-of-env
    
  • Navigate to the project folder in the terminal and do:
    pip install -r requirements.txt
    
  • This project uses a postgreSQL database, which can be downloaded here.

End Points

/discovery/

GET request to this endpoint will provide JSON of catalog or list view of all discoveries as shown below:

POST request to this endpoint with the following JSON, will create a new Discovery:

/discovery/id/

GET request to this endpoint will provide JSON of Discovery with that 'id'.

/category/

GET request to this endpoint will provide JSON list of all the categories.

POST request to this endpoint with the following JSON, will create a new Category.

(detail page can be found at /category/id/).

/comments/

POST request to this endpoint with the following JSON can add a new comment.

/upvote/id/

GET request to this endpoint will add a vote to the Discovery with that 'id'.

/downvote/id/

GET request to this endpoint will remove a vote in the Discovery with that 'id'.

About

Find the optimal content on YouTube based on highest Upvotes.

Topics

Resources

Stars

Watchers

Forks