Python Financial Operation

Flask application to handle bank transaction

How to run application

Create an envfile with the follow key

DATABASE_URL=postgresql://admin:admin@py_db:5432/your_database

Run docker container

make docker-run
make migrate-up

Import Postman files

Env.postman_environment.json
financial_transaction.postman_collection.json

Makefile

Create python environment

make create-env
make activate-env

Install dependencies

make install

Running local app

make run

Docker containers

make docker-run
make docker-down

Pytest

make test

Coverage

make coverage

Database migration

make migrate-up

Linting

make lint

Format

make format