Skip to content

This repository serves as a central location for all documentation and wiki pages associated with Planthor's other code repositories.

Notifications You must be signed in to change notification settings

Planthor/planthor-documentation

Repository files navigation

Planthor flow and Infrastructure flow

Gitflow

CI/CD Pipeline. Reffer: link

Alt text here

Microservice deployment architecture

Reffer: link

Alt text here

USER flowchart

flowchart LR
  direction LR
  subgraph PLANTHOR
    subgraph UI
        Planthor_frontend
    end
    subgraph IDP
        direction LR
        Oauth --> user_db(Postgresql)
    end
    UI -- Verify --> IDP
    subgraph BE
      direction LR 
      Planthor_backend --> planthor_be_db(NoSQL)
    end
    direction LR
    UI --> BE
    IDP -- Login --> BE
  end
  
  USER --> PLANTHOR 
  
Loading

Authorization Code Flow with Proof Key for Code Exchange (PKCE)

sequenceDiagram
    User->>Frontend (Client): Initiate login
    Frontend (Client)->>Frontend (Client): Generate Code Verifier and Code Challenge
    Frontend (Client)->>Planthor Identity Server: Authorization Code Request + Code Challenge
    Planthor Identity Server-->>User: Redirect to the login page (login/authorization prompt)
    User-->>Planthor Identity Server: Authenticate and Consent
    Planthor Identity Server-->>Frontend (Client): Authorization code
    Frontend (Client)->>Planthor Identity Server: Token request + Code Verifier to /oauth/token
    Planthor Identity Server->>Planthor Identity Server: Validate Code Verifier and Challenge
    Planthor Identity Server->>Frontend (Client): Access token and ID token
    Frontend (Client)->>Planthor Resource Server: Access protected resource with Access token
    Planthor Resource Server-->>Frontend (Client): Protected resource
Loading

About

This repository serves as a central location for all documentation and wiki pages associated with Planthor's other code repositories.

Resources

Stars

Watchers

Forks

Releases

No releases published