A digital bank developed in Kotlin + Spring Boot
- Intellij IDEA
- Docker
- Start the containers, running on the project path
$ docker-compose up -d
- Access your API at http://localhost:8080
- You could find a Swagger with all the endpoints on http://localhost:8080/swagger-ui/
- Start the database containers, running on the project path (it could take a few minutes to build)
$ docker-compose -f docker-compose.development.yml up -d
- Open the project on your Intellij IDEA
- Import the gradle configuration
- Select BankAccountApplicationKt on
Edit run/debug configurations
dialog - Run the application
- Right-click at the root project tree and select
Run Tests in account
You could find examples of requests here: https://www.getpostman.com/collections/4cf8c62f9dda6a13a2a4
All the api requests except for POST /account
must be authenticated with Basic(accountId:cpf)