This repository consists of a REST API for bank account management.
IMPORTANT: This is a project used for personal study purposes!
For more details about requirements and business rules, see the project documentation.
- PHP 8.2+
- Composer 2
- Laravel 12
- MySQL 8
- PHPUnit
- PHP CS Fixer(via Laravel Pint)
- Docker (via Laravel Sail)
Follow these instructions to set up the development environment:
Make sure you have installed:
-
Configure the
.env
file:cp .env.example .env
-
Start Docker containers:
./sail up -d
-
Install Composer dependencies:
./sail composer install
-
Generate Laravel application key:
./sail artisan key:generate
-
Run migrations:
./sail artisan migrate
-
Restart containers:
./sail restart
The API will be available at http://localhost/api.
To run automated tests, execute:
./sail test --coverage
To check and fix syntax patterns, execute:
./sail pint