A Django REST Api that simulates a paid parking lot.
https://rest-api-parking-lot.herokuapp.com/
git clone https://github.com/vuongdennis/parking-lot.git
cd parking-lot
- Mac: source env/bin/activate
- Windows: env\Scripts\activate
python manage.py runserver
https://rest-api-parking-lot.herokuapp.com/
GET
--> Spaces and History url endpoints
https://rest-api-parking-lot.herokuapp.com/spaces/
GET
--> Get Space ObjectsPOST
--> Post Space Objects ['space_number'] json field required
https://rest-api-parking-lot.herokuapp.com/spaces/<id>
GET
--> Get Detailed Space ObjectPUT
:Nothing
--> Update object with checkout time and costPaid
--> Update the paid attribute
DELETE
--> Delete the specific object
https://rest-api-parking-lot.herokuapp.com/spaces/history
GET
--> Get the list of all objects