- Create account and log in
- Create a parcel delivery order
- Change the destination of the parcel through editing
- View the made parcel orders details
- Delete a made parcel order
- View all parcel orders created
| EndPoint | Functionality | Actual routes |
|---|---|---|
| GET /parcel order | Get all available orders | /api/v1/orders/ |
| GET /parcel order/ | Fetch a single order details | /api/v1/orders/ |
| Edit /parcel order/ | Changin the details of the order | /api/v1/orders/ |
| PUT /parcel order/ | Cancel a single parcel order | /api/v1/orders/ |
| POST /parcel order | Create a parcel order | /api/v1/orders/ |
| POST /users | User log in | /api/v1/users/login |
| POST /users | User registration | /api/v1/users/register |
- Admin can be able to add another admin
- Install python then using pip install .. install flask
- clone the repo
- Ensure that postman is installed
- From your terminal locate the repo and run: python run.py
- open postman and test the endpoints
- Use unittest to run the the tests
- Install python then using pip instal .. install flask
- clone the repo
- From your terminal Ensure that the virtual environment is activated
- From the terminal locate the repo and run: python run.py
- Python 3.6
- Flask framework
- Unittest for testing
Published POSTMAN documentation Documentation