Generate all types of coupons for your application.
Make a new folder at your local machine. Inside that folder open CLI or Git Bash and run following git command.
git clone https://github.com/DareGr/coupon-project.git
In your CLI or Git Bash, enter the root of folder where your project has been created.
Run following command.
composer install
After successfully composer installation run following command.
composer update
Before you run project you must edit env variables inside .env file.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=YOUR DB NAME
DB_USERNAME=YOUR DB USERNAME
DB_PASSWORD=YOUR DB PASSWORD
If you don't have npm, you must install it.
npm install
And after that, inside your project folder you must run following command.
npm run dev
Finally to start project run:
php artisan serve
Project should be serverd on http://localhost:8000
To run migrations and seeders for you database, run following command.
php artisan migrate:refresh --seed
email: [email protected]
password: admintest
If you want to register more users, you must uncomment register code inside app/config/fortify.php
// Features::registration(),