Ambitiont109 / Dukka-test-project

Receipt API with Swagger, Celery, Docker, Docker-Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run the project on the local machine

-run script

sudo docker-compose up -d

API DETAIL

  • Receipt API
  1. /api/receipt/create/
    Generate the celery task and returns the task_id. We will use this in task detail API. It is using Token Authentication of Django Rest Framework and only Admin User can call this api
  2. /api/receipt/detail/<task_id>
    Get the state of certain task. if task state is "PROGRESS", it returns the current id of PDF. It is using Token Authentication of Django Rest Framework and only Admin User can call this api
  • User API
  1. GET /api/users/ List the Users
  2. POST /api/users Create the User

Swagger UI

  • You can browse API with swagger UI on http://<domain_name>/swagger-ui/

About

Receipt API with Swagger, Celery, Docker, Docker-Compose


Languages

Language:Python 88.1%Language:HTML 8.0%Language:Dockerfile 4.0%