This document describes the API for the Postal Package Tracking Service. This service allows for the creation, updating, and tracking of postal packages.
This API is built using Python's FastAPI framework. To get started, clone the repository and install the required dependencies.
Installation:
git clone <repository-url>
cd <repository-name>
pip install -r requirements.txt
Running the Application:
uvicorn app.main:app --reload
GET /status
Get the status of the API.
POST /packages/
Create a new package. Requires a unique package ID and an optional description.
GET /packages/{package_id}
Retrieve tracking information for a specific package.
The API uses standard HTTP response codes to indicate the success or failure of an API request. In case of an error, the response will include a JSON object with more information.
Refer to the Terraform configuration in the /terraform directory for deployment instructions.
Contributions to this project are welcome. Please follow the standard fork-and-pull-request workflow.
Specify the license under which your project is released.