Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 736 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 736 Bytes

Atlassian product updates tracking app

A simple app built with Fast API.

Preconditions:

  • Docker

Build

$ docker build -t atlasian-release-tracking .

Run

$ docker run --rm -ti -v data:/data -p 8000:8000 atlasian-release-tracking

Run tests

$ docker run --rm -ti -p 8000:8000 atlasian-release-tracking bash -c "alembic upgrade head && pytest tests/test.py"

Example request

From cli

$ curl -X POST http://127.0.0.1:8000/ \
   -H 'Content-Type: application/json' \
   -d '{"product":"jira-core","url":"https://raw.githubusercontent.com/ganievs/atlasian-release-tracking/main/data/jira-core.json"}'

From swagger ui

http://127.0.0.1:8000/docs Swagger