This is the backend part of my Pizza Shop project written with Laravel 7 framework.
This is a typical Laravel application. So, you can just follow to official instruction.
You need to create a database specific for your project, and a user to access it. You may create a separate user, granting only specific privileges.
- Copy the
.env.example
file to a new file named.env
. - Run
php artisan key:generate
. - Edit your
.env
file. - Run
composer install
. - Run
php artisan migrate
. - Optional. Run
php artisan db:seed
if you want scaffold database with test data.
To run tests use php artisan test
command.