Django Rest Framework API
- Install all required packages:
pip install -r requirements.txt
- Run in your localhost server:
python manage.py runserver
- Create your account in /user/register/
- Do a POST request in /token/ to get your token
- /videos/?video_search=
- /categories/?categories_search=
Pagination
- /videos/?page=
- /categories/?page=
[
{
"title": "VIDEO",
"description": "SOME VIDEO",
"url": "https://github.com/DaviGGA"
}
]
[
"The video title alrealdy exist"
]
[
{
"title": "CATEGORY",
"color": "#ffffff"
}
]
[
"The category title alrealdy exist"
]