Review spring boot project written in kotlin using mongodb with transactions

Job ID: 34602379

Budget: $25 – $50 USD

I need an expert to review and improve the code of the project.

This project is spring boot project written in Kotlin. Project's database is mongodb.

I need someone with experience in payments platforms based on MongoDB.

In the system, users are able to deposit money, transfer money between each other and withdraw money.
Currently we use mongodb transactions for these endpoints, also there are tests for users trying to abuse these endpoints.
Your job would be to check if these endpoints are secured and tests are written properly so no user can abuse them to get money out of air.

Also, it would be great to check other aspect of the project, but it's a lower priority.

To let me know that you read the job details and you aren't a bot please include in your proposal answers to the questions below:
1. What is double spending and how to prevent it with spring boot and mongodb?
2. How mongodb transactions would help solving issues with my project?
3. How to make mongodb resilient of database data lose?
We can't lose data about money transfers between users. Database backups won't help, because still always there is some data lost between the last backup.
4. Did you work with payment platforms based on mongodb before? We need to make sure there are no money leaks and bugs in the system.