This simple api on the index page requests a token from the "Module Bank". An asynchronous transaction starts to be executed to save to the local database. Data to save: all companies on the account, all bank accounts for each company, all transactions on each bank account.
- Clone the repository:
git clone git@github.com:leabrun/api_bank.git
- Navigate to the project directory
cd api_bank
- Run the containers
docker-compose up -d --build
Explore the API using Postman.
To fully use the api, you need to log in. Use the command:
docker-compose exec web ./manage.py createsuperuser --username=admin --email=admin@admin.com
*Use the password "admin". In case of using other data, pay attention to the "Authorization" in Postman.