Demo of simple banking system API. Built on top of python stack using Django, Gunicorn, PostgreSQL and Nginx
- Build docker image
$ make build
- Start banking system service
$ make start
- Stop banking system service
$ make stop
- Run tests for this project
$ make test
- make command usage details
$ make help
Pre-requisite:
- Python 3.6
- PostgreSQL
You can go through following below to start the project.
$ createdb --username=postgres simplebankdb
$ pip install -r requirements.txt
$ ./manage.py migrate
$ ./manage.py runserver
And you can run the project test using following command.
$ ./manage.py test --keepdb
Endpoints for this project are documented in <hostname>/docs/
But you can also import [postman collections](Simple BANK.postman_collection.json) within this project for more convenience.