Implement e-wallet with REST API to create it, top it up, check its balance and withdraw funds using Spring (preferably Spring Boot). Funds on any wallet should not go below zero. The project should be built with Maven or Gradle
- Docker-Compose 1.28
- Gradle 6.8
- Java 11
Step 1: run docker-compose up
as a terminal command in the root of Project/repository
Step 2:
- run
gradle bootRun --args='--spring.profiles.active=dev' --stacktrace
in the root of repository
OR: - Open in IntelliJ, add 'dev' to active profiles and run ApiApplication
http://localhost:8284/swagger-ui.html
- Write Test Routines for the Application
- Build, test and run with Docker
- Error Logging for Administrator, Simple Error Message for Consumer
- Backend has support for more features those currently implemented in the UI
- Most of the endpoints are in Wallet Rest
- Not All service methods have end-points(useful for future additions)
- Not All end-points are currently being used, some will be used in future
- Current Configuration only for development Environment.
- Sometimes there is failure by the application or IntelliJ to create the correct Implementaion for mapper interfaces leading to DTO containing all fields as null