Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/proafxin/bug-tracker

A set of asynchronous APIs to keep track of bugs under stories.
https://github.com/proafxin/bug-tracker

alembic api api-rest async async-await asynchronous asyncio backend codecov docker dockerfile fastapi mysql pydantic pytest pytest-asyncio python trunk

Last synced: 13 days ago
JSON representation

A set of asynchronous APIs to keep track of bugs under stories.

Awesome Lists containing this project

README

        

# Bug Tracker

[![Code check](https://github.com/proafxin/bug-tracker/actions/workflows/ci.yml/badge.svg)](https://github.com/proafxin/bug-tracker/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/proafxin/bug-tracker/graph/badge.svg?token=WAJ9M1BUL1)](https://codecov.io/gh/proafxin/bug-tracker)

A set of asynchronous APIs to keep track of bugs under stories.

## Setup

First ensure the following variables are present in your system: `MYSQL_DBNAME`, `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_HOST`, `MYSQL_PORT`. They should be self-explanatory. Also a database with name `MYSQL_DBNAME` should be available already. Install tox and poetry: `pip install tox poetry`. Run `tox` and see all the tests pass.

## API Docs

Install the project first: `poetry install`. Run migration with alembic: `alembic upgrade head`. Then run the command `uvicorn tracker.main:app --reload` and go to `http://127.0.0.1:8000/docs` to test the APIs. Rest should be self-explanatory.