..Order-Api is a simple REST API used to upload customers orders.
..User Stories
Users authenticates via OAUTH2 and OpenidCOnnect(GOogleOAuth 2.0 )
Customer creates order
Customers gets message after order created sucessfully(Asynchronous Task)
- Django
- DjangoRest
- Travis(CI/CD)
- Heroku-Deployment
- AfricaisTalking-(SMSGATEWAY)
- Coverage
- Celery
- Redis
- Pytest
- Docker
- Docker-Compose
API Endpoint | Description | Methods |
---|---|---|
/oidc/authenticate/ | Authentication | GET |
/api/v1/customer | create customer | POST |
/api/v1/order | Get all orders | GET |
/api/v1/order | Customer posts order | POST |
To get started: Git clone the repository using https://github.com/EUGINELETHAL/Backend-challenge For the API to run smoothly you will need the following:
1. Python 3.6 or higher installed.
2. Pip3
3. Pipenv or virtualenv installed.
Local Development Guide.
- Git clone the repository using
- Through your terminal, navigate to the location with the cloned repository.
- Open the cloned repo folder using your terminal.
- You're currently on the
main
branch.
pytest
PEP 8
Heroku
- Django and Django Rest Framework
- Ochung Eugine.