-
Install dependencies
composer install
-
Copy
.env
variables from.env.example
cp .env.example .env
-
Setup your preferred database in
.env
variable such as:DB_CONNECTION
DB_DATABASE
DB_HOST
DB_USERNAME
DB_PASSWORD
-
Generate application key
php artisan key:generate
-
Running database migration
php artisan migrate
I created dummy database seeder to testing. The seeds contains:
- 1 Owner who has 3 Bays
- 2 Users with email
[email protected]
&[email protected]
php artisan db:seed --class=DummySeeder
php artisan test
Here is the link to the api documentation.
Notes: make sure to check the environment variable in postman app. Some env variables are:
api_url
ex: http://kerb.test/apiaccess_token
booking_id