API Transaction.
- Laravel 8
- Requires PHP 7.3+
- Postgres
Step 1: Clone the project, run the following commands:
Step 2: Create file .env
- cp .env.example .env
- Set APP_URL in .env: APP_URL=localhost:8081/api/
- Set database settings:
DB_CONNECTION=pgsql
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=db_apitransaction
DB_USERNAME=postgres
DB_PASSWORD=postgres
Step 3: Run docker
- docker-composer up -d
Step 4: Install dependences:
- docker-compose exec app composer install
Step 5: Generate key in .env
- docker-compose exec app php artisan key:generate
Step 6: Generate tables
- docker-compose exec app php artisan migrate
** Documentation API **
** Dashboard RabbitMQ **
- http://container_id:15672