Skip to content

Commit

Permalink
Update readme for swagger documentation. Not accessing resource
Browse files Browse the repository at this point in the history
  • Loading branch information
kiokovincent12 committed Nov 15, 2024
1 parent d19d0ec commit 13775d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ Access the server at localhost:800 by default
## SWAGGER DOCUMENTATION
All the api endpoints are documented using swagger. Check it on ```{your_endpoint}/documentation/```
To get the deployed swagger docs, check out:
![API Swagger Documentation](https://onlineshopapi-ctyo.onrender.com/documentation/)
[API Swagger Documentation](https://onlineshopapi-ctyo.onrender.com/documentation/)


## TESTS
To run tests using coverage
```bash
pip install coverage
pip install coverage pytest
coverage run -m pytest
coverage report -m
```
Expand Down Expand Up @@ -91,8 +91,8 @@ To call resources, add basic token authentication
![Access resources](/Screenshot%202024-11-14%20at%2009.52.52.png)

### Message service
For use of Messaging the customer
Login to Africas talking sandbox site, and get the credentials for the sandbox; When you place an order, a message should appear as below:
For Alerting the customer of the orders
Login to Africa's Talking sandbox, and get the credentials for the sandbox; When you place an order, a message should appear as below:
![AFRICA'S TALKING SCREEN](/Screenshot%202024-11-14%20at%2021.32.33.png)

## API ENDPOINTS
Expand Down

0 comments on commit 13775d1

Please sign in to comment.