Banking-api

The banking-api module contains the functionality exposed by the server that will later be consumed by different application clients; the functionality will be made available for RESTful web services. Let's review the project structure for this API:

The banking-api module

As mentioned previously, this module is implemented entirely using Groovy, and that's why all of the files have a .groovy extension. The project structure is more important here, as the project is separated into balance, config, and security packages, which makes it fairly simple to understand their purposes. It's always worth organizing the code in this way, ...

Get Software Architecture with Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.