Skip to content

avkosme/experience-JustWork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experience-JustWork

Тестовое задание django

Запуск проекта

$ docker‐compose up runserver

Доступен по адресу: http://0.0.0.0 8000

Запуск тестирования

$ docker‐compose up autotests

Примеры запросов API

Список всех страниц

$ curl -X GET \
  http://0.0.0.0:8000/api/v1/pages/ \
  -H 'Cache-Control: no-cache'

Список страниц с параметрами пагинации

$ curl -X GET \
  'http://0.0.0.0:8000/api/v1/pages/?limit=2&offset=1' \
  -H 'Cache-Control: no-cache' 

Детальная информация о странице

$ curl -X GET \
  http://0.0.0.0:8000/api/v1/page/test/ \
  -H 'Cache-Control: no-cache'

About

Test experience for JustWork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published