POST /api/vehicle/register
#request
{
vehicleType: "CAR",
licencePlate: "ABC-2323"
}
#response
{
"registered": true
}
POST /api/fuel/request
#request
{
"licencePlate": "ABC-2323",
"amount": 10,
"date": "2023-04-23"
}
#response
{
"used" : 10,
"remaining": 10
}
DELETE /api/fuel/reset
GET /api/vehicle/types
#response
[
{
id: 1,
name: "CAR",
quota: 23
},
{
id: 1,
name: "BUS",
quota: 23
}
]
-
Notifications
You must be signed in to change notification settings - Fork 9
Hackflash Starter
License
bistecglobal/hack-flash-starter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Hackflash Starter
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published