Skip to content

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

Notifications You must be signed in to change notification settings

kfrawee/car-hire-management-system-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Languages