Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

В рамках тестового задания созданно приложение REST-full для создания банковских счетов, с возможностью пополнять, снимать и делать переводы между счетами.

Тестовое задание:

Backend Developer Practical Test Design and implement a RESTful API, backing service and data model to create bank accounts and transfer money between them. Interaction with API will be using HTTP requests. Requirements • Accounts are created by supplying a beneficiary name and four-digit PIN code. • Account number is automatically created. A single beneficiary may have multiple accounts. • Once account is created one can Deposit, Withdraw or Transfer money between accounts. • Any operation which deducts funds from the account needs to include the correct PIN code. • A transaction history must be kept for all balance changes. • A specific call will fetch all the accounts, the beneficiary name and their current balance. Another will fetch all transactions for a particular account. • APIs will use JSON payloads when applicable. Appropriate error codes need to be returned when operations do not succeed. • Use in-memory database as a backing store. • Application needs to be built using Kotlin (preferred) or Java. Use Maven for dependency management. • Include unit testing for your service layer. • Include README file with instructions on how to use the API and any decisions taken while designing and implementing the application. Recommendations • Use any technologies you feel comfortable with, but it is recommended you set up your project using Spring Boot. • Make use of best practices when implementing your code to ensure a high-quality result. Use dependency injection, avoid statics, immutable types, etc… • However, keep it simple and to the point. Do not over-engineer. e.g. there is no need to add authorization layers. • It may be helpful to include scripts or other mechanisms to seed your database with initial data. • Swagger docs help users discover and use your API. • Use common sense to validate inputs to the API, explain your decisions in your README file. Deliverable • Your source code committed to Github, Gitlab or Bitbucket.

Минимальные требования для запуска проекта: JAVA 17 Maven 3.8.4 GIT

https://github.com/ADiBog/BankSystem

Для хранения данных используется встроенная база данных H2, которая запускается вместе с приложением Для тестирования и ознакомлением с API приложения, подключен и настроен свагер, перейти на который можно после запуска приложения по ссылке: http://localhost:9091/swagger-ui/index.html#/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages