This application allows you to generate and manage vouchers.
Follow these steps to set up the application:
-
Navigate to the project directory:
cd vuocher-app
-
Install the dependencies:
composer install
-
Generate an application key:
php artisan key:generate
-
Copy the .env.example file to .env.
You can do this using the
copy
command on Windows orcp
command on Unix-like systems (Linux, MacOS):-
On Windows:
copy .env.example .env
-
On Unix-like systems:
cp .env.example .env
-
-
Set up your database connection
Open the
.env
file and set up your database connection parameters. -
Run the database migrations and seed the database:
php artisan migrate --seed
The application is seeded with the following user credentials:
-
Regular User:
- Email:
regular@example.com
- Password:
password
- Email:
-
Group Admin:
- Email:
groupadmin@example.com
- Password:
password
- Email:
-
Super Admin:
- Email:
superadmin@example.com
- Password:
password
- Email:
Please remember to change these default credentials in a production environment.