Web application for paying integration. In this project, we will use PlacetoPay
to
handle payment.
npm install && composer install
Run cp .env.example .env
Then configure:
PLACE2_PAY_LOGIN
PLACE2_PAY_TRANS_KEY
PLACE2_PAY_BASE_URL
DB_DATABASE
DB_USERNAME
DB_PASSWORD
Remember rename .env.example
to .env
if you want to avoid using your local Mysql or postgresql or any sql database, you could use docker-compose up -d
to
create a container with your database just for this project.
Learn more about docker compose
Then run php artisan migrate:install; php artisan migrate --seed
Finally in order to make work stored images
run php artisan storage:link
Admin
Email: admin@gmail.com
Password: password
Customer
Email: customer@gmail.com
Password: password