Coffee is good and i like it, if i helped you by some way:
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 .