Giter Site home page Giter Site logo

eliezerjg / business-system-shell Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 123 KB

An entire Java / Spring start for your project with User, Login, Spring Security, OpenAPI documentation and Cloudflare Protection.

License: MIT License

Java 100.00%
junit4 springdoc-openapi springsecurity6 java17 springboot3-x architecture design-patterns cloudflare openapi3

business-system-shell's Introduction

In First Place

Coffee is good and i like it, if i helped you by some way:

Business System Shell - Multiplatform Monolith Backend

This project includes:

Properties:

  • Production and Development profile

  • Spring Security Endpoints Protection:

  • Public Registration and login
  • Customer protected endpoint by authentication
  • Cloudflare DNS protection filter

  • Tests:

  • Junit 4 Unit Tests
  • Mockito for mocking

  • Authentication:

  • JWT Bearer Token

  • Exception Handling:

  • Default treatments for exception handling (with http status codes)

  • Documentation:

  • Swagger UI / Spring DOC.

  • Steps to get started:

  • 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


    For better use:

  • 1 - Run the tests and give a look at Postman Collection.
  • 2 - SWAGGER DOCUMENTATION (run the project): https://localhost:8080/swagger-ui/index.html .
  • business-system-shell's People

    Contributors

    eliezerjg avatar

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     avatar

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google โค๏ธ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.