Follow these steps to set up and run Project.
Use Specification Pattern for Order filtering in this test case but there is another options like
- Chain of responsibility pattern
- Using Laravel's scope functions
Or for Mocking SMS and Mail Services we can Provide mock mail or sms driver rather than Mock services that I provide
Before you begin, ensure you have the following software installed on your system:
git clone https://github.com/meysam1717/technopay-test-challenge
cd technopay-test-challenge
cp .env.example .env
cp .env.testing.example .env.testing
Start the development environment using Docker Sail:
./vendor/bin/sail up -d
Generate a unique application key:
./vendor/bin/sail artisan key:generate
Migrate the database tables:
./vendor/bin/sail artisan migrate
Migrate the database tables:
./vendor/bin/sail artisan db:seed
This project is open-source and available under the MIT License.