This repository has been archived on 2026-01-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2021-09-05 20:36:39 +02:00
2021-09-05 20:36:39 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 20:36:39 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 20:36:39 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:20:59 +02:00
2021-09-05 17:25:22 +02:00

Installation

Requirements:

  • PHP >= 7.3
  • MySQL
  • Composer

Installation (Mac):

Create a db and a user with write privileges:

  • mysql -uroot
  • create database coupon;
  • create user coupon_user identified with mysql_native_password by password;
  • grant all privileges on coupon.* to coupon_user;
  • quit;

Prepare project (run in project root folder):

  • [add the variables to .env]
  • composer install
  • php artisan migrate:fresh

Launch project (run in project root folder, different terminals):

  • php -S localhost:8000 public/index.php
  • php artisan queue:work —daemon

Swagger:

  • It is located at /api/documentation
Description
Service to generate coupon codes
Readme 76 KiB
Languages
PHP 100%