Skip to content

dixmod/test1

Repository files navigation

Загрузка фикстур

bin/console doctrine:fixtures:load

Создание автора

POST http://127.0.0.1/author/create
Accept: application/json
Content-Type: application/json
Cache-Control: no-cache

{
  "name": "test"
}

Поиск книги

POST http://127.0.0.1/book/search
Accept: application/json
Content-Type: application/json
Cache-Control: no-cache

{
   "title": "test"
}

Создание книги

POST http://127.0.0.1/book/create
Accept: application/json
Content-Type: application/json
Cache-Control: no-cache
{
   "title": "test",
   "author": [ 
       "test1", "test2", 
   ] 
}

Локальное окружение

docker-compose -f environments/local/docker-compose.yaml up -d --build

docker-compose -f environments/local/docker-compose.yaml stop

docker exec -it local_php_1 bash

composer install --ignore-platform-reqs

About

test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published