Run composer install
Create .env
from .env.example
Run php artisan key:generate
Fill Database info:
DB_DATABASE=easypay
DB_USERNAME=root
DB_PASSWORD=
Run php artisan migrate --seed
It will import countries, currencies, rates.
For the project realization has been used following:
- Registration and Login of Users.
- Adding rates by the admin ( currently there is no any roles)
- User can create wallets for the currencies which has been filled into the platform ( currently by seeder)
- If user trying to add wallet for the same currency, his data just will be updated.
- If the rate for today already provided and user trying to add it again, it will be just updated.
- When user send money to another user, I am converting his currency to USD then converting USD to the currency of receiver and sum the amount in receivers wallet.
- From senders wallet we decreasing that amount.
- In Transactions we are showing all the transactions made by user, from creating wallet, filling wallet balance to sending and receiving money.
- In Transactions section you can see data filtered by date range.
- You can download your filtered results in CSV format.
- In the bottom of transactions we can see users each wallet currency spents and receivings in USD.