Skip to content

SendIT is a courier service that helps users deliver parcels to different destinations. SendIT provides courier quotes based on weight categories.

License

Notifications You must be signed in to change notification settings

Mik3y-F/sendIT-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sendIT-api

SendIT is a courier service that helps users deliver parcels to different destinations. SendIT provides courier quotes based on weight categories.

How should this be manually tested?

  • Clone the repository
  • Initialize and activate a virtualenv
$ virtualenv --no-site-packages env
$ create db of your choice and edit the .env file to suite your needs
$ source .env
  • Install the dependencies
$ pip install -r requirements.txt
  • Run the development server
$ flask run

Endpoints

Here is a list of all endpoints

Endpoint Functionality
GET /api/v1/parcels Fetch all parcel delivery orders
GET /api/v1/parcels/parelId Fetch a specific parcel delivery order
POST /api/v1/parcels Create a parcel delivery order
GET /api/users/userId/parcels Fetch all parcel delivery orders by a specific user
PUT /api/v1parcels/parcelId/cancel Cancel the specific parcel delivery order

Screenshot demos from Postman

Alt text Alt text

About

SendIT is a courier service that helps users deliver parcels to different destinations. SendIT provides courier quotes based on weight categories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published