Car Hire Management System API. A Python microservice implemented using Flask microframework that is connected to MySQL DB.
Entity Relationship Diagram (ERD)
-
Clone the repository
$ git clone https://github.com/kfrawee/car-hire-management-system-api.git
-
Navigate to the directory:
$ cd .\car-hire-management-system-api\
-
Create a Virtual environment and activate it:
$ python -m venv .venv
-
Install the required dependencies:
(.venv) $ pip install -r requirements.txt
-
Run the flask server:
(.venv) $ python api.py
-
Navigate to the Swagger file (OpenAPI Specification) and load the file to Postman:
Below are sample requests and responses using Postman with the attached swagger file.