PHP Classes

File: readme.md

Recommend this page to a friend!
  Classes of Edward Paul  >  Flexible PHP Coupon System  >  readme.md  >  Download  
File: readme.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Flexible PHP Coupon System
E-commerce system that supports discount coupons
Author: By
Last change:
Date: 1 year ago
Size: 1,709 bytes
 

Contents

Class file image Download

<p align="center">A flexible Coupon System with various rules and discount .</p> <p align="center"><a href="https://medium.com/@infinitypaul">Creator</a> | <a href="https://coupon-infinitypaul.herokuapp.com/">Demo</a></p>

<p>&nbsp;</p>

Download Instruction

  1. Clone the project.
git clone https://github.com/infinitypaul/coupons.git projectname

  1. Install dependencies via composer.
composer install 

  1. Migrate and seed the Database.
php artisan migrate --seed

  1. Run php server.
php artisan serve

> You can also install the Application via Docker:

Pre-requisites

  • Docker running on the host machine.
  • Docker compose running on the host machine.
  1. Clone the project.
git clone https://github.com/infinitypaul/coupons.git projectname

  1. Run the testrig.sh file on the Project Root Folder on your terminal/Command Prompt, This script does everything you need to run your this project. It starts up the servers, ensures the database is booted, installs dependencies, runs database migrations, and runs database seeds. These services are exposed to your computer on the standard ports, then you can access your website on http:localhost

Note

Sample Coupon Code With Different Rules and Discount

>> FIXED10   PERCENT10, MIXED10, REJECTED100, ABC, ABCDE

Troubleshooting

  • Port number might be already in use, change from `80` to another number in your `docker-compose.yml` file.
  • If you have any other issues, report them.

Enjoy!

License

The Find Your Service App is open-sourced software licensed under the MIT license

For more information send a message to info at phpclasses dot org.