lfdubiela / transfer-api

An API that simulates a wallet, which is able to transfer money between accounts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install the Application

1 - Atualize/Installe as dependencias do composer

make update

2 - Rode a aplicação, o comando irá subir os tres dockers que a aplicação necessita para funcionar - wallet-mysql - wallet-php-fpm - wallet-webserver

make run

3 - Execute a migração, esse comando irá configurar as migrações contidas em resources/migrations/sql

make migrate

4 - Enjoy, a aplicação devera estar funcionando em localhost

xdebug port 9001.

List of users on database

  • user 1 = store, balance = 50
  • user 2 = comum, balance = 100

About

An API that simulates a wallet, which is able to transfer money between accounts


Languages

Language:PHP 96.5%Language:Makefile 2.9%Language:Dockerfile 0.6%