EI API This is an assignment that contains listing of books from an external api and also CRUD operations for books. It uses mysql database
-
Download the project (make sure to have composer and php installed on device)
-
Within the project folder run
composer install
-
Create a database for your site (see the Laravel database documentation), copy or rename the
.env.example
file to.env
, edit the database configuration information, and runphp artisan key:generate
-
Run
php artisan migrate
-
Start the project with
php artisan serve
you will most likely be running on port 8000 http://127.0.0.1:8000/ -
Access the postman documentation here and change LOCAL_URL variable to whatever port your laravel project is running on
-
Or you can simply use the API_URL variable as the application is deployed on heroku Link
-
Run
php artisan test
to run tests.