A simple project with Laravel and Dog CEO API
Step by Step guide to run LaraBreeds
Install Docker and Docker Desktop if you're using windows or mac for run the project.
Or you can run the project if use Composer directly.
Clone the repo here.
Set the enviroment variables with the access to DB copying the .env.example and rename with .env
If you're using Docker and you want to use sail, you can run the command ./vendor/bin/sail up
to create the containers and set up the development enviroment.
If you're using only composer, you can use the command to get PHP dependencies with php composer.phar install
and run php artisan serve
Run the migrations with the command php artisan migrate
(If you're using docker, you need to run this command into the running container with larabreeds service.)
Run the seeds with the command php artisan db:seed
(If you're using docker, you need to run this command into the running container with larabreeds service.)
Give me a star on Github .
That's it all! Your server is working. ( :