Skip to content

cusursuz/BookAPI

Repository files navigation

BooksAPI

BooksAPI is a PHP application based on the Symphony framework

Instalation

# ...Clone the code repository and install its dependencies
$ git clone https://github.com/cusursuz/BooksAPI.git my_project
# ...Change directory
$ cd my_project/
# ...Install all the dependencies
$ composer install

DB setup

Set up a connection to the Database in the .env file

Populate DB

$ php bin/console doctrine:fixtures:load

Start project

$ symfony serve

Enjoy

)

Autorization

For Create, Update or Delete use next credentials Username: test_user Password: test_password

Documentation

http://localhost:8000/api/doc