copy .env.example and name it .env
edit db config settings in .env file
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=pokemon DB_USERNAME=root DB_PASSWORD=
run this command to generate key for encryption's needed :
for local setup ...
run this command to run database migrations.
run this command to seed data from the excel which is in AnimalsSeederClass
command to run the localhost server for development stage.
for docker setup
run command :
routes list :
GET|HEAD api/Animals ................................... Animals.index › AnimalController@index
POST api/Animals ................................... Animals.store › AnimalController@store
GET|HEAD api/Animals/{Animal} .......................... Animals.show › AnimalController@show
PUT|PATCH api/Animals/{Animal} .......................... Animals.update › AnimalController@update
DELETE api/Animals/{Animal} .......................... Animals.destroy › AnimalController@destroy