viniarck / github-searcher-py

github-searcher-py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-searcher-py

GitHub searcher API app in Python with FastAPI 🐍⚡

Demo

This demo project has been deployed on Heroku. This is a high level diagram of this project:

app_diagram

Development

To facilitate development, there's a Makefile with some frequently used commands.

Pre-requisites

Make sure you have installed these dependencies:

  • docker
  • docker-compose

Additionally, if you're going to contribute:

  • pre-commit install
  • pip install requirements-dev.txt to install pre-commit requirements
  • This project was initially built with Python 3.8

How to run

  • make compose-up

How to test

Once you have it running, to run both integration and unit tests:

  • make test

Unit tests

  • make test-unit

Integration tests

  • make test-integration

How to stop

  • make compose-down

About

github-searcher-py


Languages

Language:Python 98.1%Language:Makefile 0.9%Language:Dockerfile 0.7%Language:Shell 0.3%