- Authentication with multiple sessions
- List of users
- List of clients
- List of client orders
- List of client transactions
- PHP 8.0
- Composer
- MySQL 8.0
- Create User on MySQL
- Create Database on MySQL
- Copy .env.example to .env
- Configure .env file
- Enjoy :)
- Run
composer install
command - Run
php artisan migrate --seed
command - Run
php artisan serve
command - Enjoy ;)
METHOD | URI |
---|---|
POST | auth/login |
POST | auth/logout |
GET | users |
GET | users/{user} |
GET | clients |
GET | clients/{client} |
GET | clients/{client}/orders |
GET | clients/{client}/transactions |
GET | profile |
GET | profile/sessions |
DELETE | profile/sessions/delete/{token} |
DELETE | profile/sessions/delete-all |