Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 977 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 977 Bytes

Potions Mart

API Rest Potions Market, with Laravel 9 and mysql

Getting started

Run migrations and fill database with seed data.

$ php artisan migrate:fresh --seed

Principal Routes

  POST       api/buy ........................... Api\ClientController@buy
  GET|HEAD   api/clients ..................... Api\ClientController@index
  POST       api/login ......................... Api\AuthController@login
  GET|HEAD   api/potions ..................... Api\PotionController@index
  GET|HEAD   api/user ........................... Api\AuthController@user
  POST       api/register ................... Api\AuthController@register
Routes on Postman

Run in Postman

DatabaseModel

Database Model