kfrawee / car-hire-management-system-api

Car Hire Management System API. A Python microservice implemented using Flask microframework that is connected to MySQL DB.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Car Hire Management System Api 🚗📅

Car Hire Management System API. A Python microservice implemented using Flask microframework that is connected to MySQL DB.

Entity Relationship Diagram (ERD)


Entity Relationship Diagram (ERD)
Entity Relationship Diagram (ERD)

View on Lucidchart


Workflow

  • 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.


    Create Customer
    Create Customer


    Get Customers
    Get Customers


    Get Customer
    Get Customer


    Update Customer
    Update Customer


    Delete Customer
    Delete Customer


About

Car Hire Management System API. A Python microservice implemented using Flask microframework that is connected to MySQL DB.


Languages

Language:Python 100.0%