Skip to content

pedrohenriquebrandao/rest-api-challenge

Repository files navigation

Desafio API de venda de ingressos

O projeto foi desenvolvido utilizando as tecnologias:

Como executar o projeto

Clone o repositório:

git clone https://github.com/pedrohenriquebrandao/rest-api-challenge

Acesse a pasta do projeto e inicialize o container do Docker:

./vendor/bin/sail composer install
./vendor/bin/sail up -d

O projeto poderá ser acessado na rota localhost

Execute as migrations:

./vendor/bin/sail php artisan migrate

Execute as seeds:

php artisan db:seed --class=RolesSeeder  
php artisan db:seed --class=AdminSeeder  
php artisan db:seed --class=ClienteSeeder  
php artisan db:seed --class=ProducersSeeder  

Para acessar o ambiente do phpmyadmin, acesse a rota localhost:8080 e utilize as credenciais:

user: sail
password: password 

Os endpoints da API podem ser utilizados a partir da rota localhost/api/, e podem ser acessados pelo Postman

https://warped-shadow-705823.postman.co/workspace/Team-Workspace~f2555b64-cc12-4607-821c-27b80e35aa3e/collection/12508106-3b624e27-fbce-44fd-bc23-592ea4916253?action=share&creator=12508106

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published