Skip to content

DevOchu/backendchallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

..User Stories

Users authenticates via OAUTH2 and OpenidCOnnect(GOogleOAuth 2.0 )
Customer creates order
Customers gets message after order created sucessfully(Asynchronous Task)

Tools and Technologies

  1. Django
  2. DjangoRest
  3. Travis(CI/CD)
  4. Heroku-Deployment
  5. AfricaisTalking-(SMSGATEWAY)
  6. Coverage
  7. Celery
  8. Redis
  9. Pytest
  10. Docker
  11. Google OR-tools
  12. Docker-Compose
    12.Google OR-tools
    13

API ENDPOINTS

Run in Postman

Question Endpoints.

Endpoints:

Get all Deliveries

GET api/v1/delivery

Example request body:

{
  "user":{
    "email": "[email protected]",
    "password": "jakejake"
  }
}

No authentication required, returns a User

Required fields: emailpassword

https://developers.google.com/maps/documentation/javascript/examples/polyline-simple

Getting Started

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.

Installing

Local Development Guide.

  1. Git clone the repository using
  2. Through your terminal, navigate to the location with the cloned repository.
  3. Open the cloned repo folder using your terminal.
  4. You're currently on the main branch.

Running the tests

pytest

Style Guide.

PEP 8

Deployment

Heroku

Built With

  • Django and Django Rest Framework

Authors

  • Ochung Eugine.