Coffee is good and i like it, if i helped you by some way:
![](https://camo.githubusercontent.com/67ebbadcba94dbf4a563683851c8338490126edde23bc9b325a7ed7cdf140be5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d6275795f6d655f61254332254130636f666665652d677261793f6c6f676f3d6275792d6d652d612d636f66666565)
Business System Shell - Multiplatform Monolith Backend
This project includes:
Production and Development profile
Spring Security Endpoints Protection:
Public Registration and login
Customer protected endpoint by authentication
Cloudflare DNS protection filter
Junit 4 Unit Tests
Mockito for mocking
JWT Bearer Token
Default treatments for exception handling (with http status codes)
Swagger UI / Spring DOC.
1 - Change the default private token in Auth for multiple instances.
2 - Protect your FrontEnd with Cloudflare DNS.
3 - Follow the Structures folder and add your business logic.
4 - Feel free to use this version for personal use or open source projects and contribute for this project.
5 - Remember to set up the users Role for your business logic.
For (FrontEnd / Mobile) Developers:
So we have this flux to implementation:
1 - Customer (Register / Login) ==> Get JWT TOKEN
2 - Simulate the sessions storing this token until receive unauthorized
3 - If unauthorized => FORCE LOGIN AGAIN => SAVE THE JWT
1 - Run the tests and give a look at Postman Collection.
2 - SWAGGER DOCUMENTATION (run the project): https://localhost:8080/swagger-ui/index.html .