Skip to content

[THIS IS A TEST PROJECT] A basic store, where a customer can only buy a single product with a fixed value. It has unit tests.

Notifications You must be signed in to change notification settings

stevensgsp/order-checkout-site

Repository files navigation

ORDER CHECKOUT SITE

Laravel 8.x project.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirements

This is a Laravel 8.x project, so you must meet its requirements.

Installing

Clone the project

git clone https://github.com/stevensgsp/order-checkout-site.git
cd order-checkout-site
composer install
cp .env.example .env
php artisan key:generate

Edit .env and put credentials, indicate environment, url and other settings.

DB_CONNECTION=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

PLACETOPAY_URL=
PLACETOPAY_LOGIN=
PLACETOPAY_TRANKEY=

Run migrations and seeders

php artisan migrate --seed

Running the tests

You may run them using phpunit:

./vendor/bin/phpunit

In addition to the phpunit command, you may use the test Artisan command to run your tests. The Artisan test runner provides verbose test reports in order to ease development and debugging:

php artisan test

If you want to generate a code coverage report in HTML format, you may pass the --coverage-html phpunit command-line option.

php artisan test --coverage-html ..\coverage

Current code coverage

Screenshots

About

[THIS IS A TEST PROJECT] A basic store, where a customer can only buy a single product with a fixed value. It has unit tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages