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:
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, ...