PARKING SYSTEM BACKEND TEST
Parking system is made for testing for PT Xylo Solusi Indonesia. Using Laravel V7, MySQL
Install my-project with composer
Migrating Database and seeder
php artisan migrate:fresh --seed
Create New Token for Laravel Passport
php artisan passport:install
PS: Copy paste token after login to your Authorization API Test
Parameter |
Type |
Description |
Email |
string |
Required. [email protected] |
Password |
string |
Required. petugasParking |
Parameter |
Type |
Description |
Email |
string |
Required. [email protected] |
Password |
string |
Required. adminParking |
POST /api/petugas/gate/in
Parameter |
Type |
Description |
no_pol |
string |
Required |
POST /api/petugas/gate/out
Parameter |
Type |
Description |
unique_key |
string |
Required |
POST /api/petugas/gate/generate
Parameter |
Type |
Description |
no_pol |
string |
Required. |
tap_in |
datetime |
Required. Ex:22/07/2022 15:00:00 |
Parameter |
Type |
Description |
start_date |
datetime |
Ex:22/07/2022 |
end_date |
datetime |
Ex:22/07/2022 |