Implement rough architecture
This commit is contained in:
35
docs/diagrams/components.puml
Normal file
35
docs/diagrams/components.puml
Normal file
@ -0,0 +1,35 @@
|
||||
@startuml
|
||||
package "Service" {
|
||||
component "API Service" as apiservice
|
||||
}
|
||||
|
||||
package "Mapping" {
|
||||
interface "Mapper Interface" as mapperint
|
||||
component "Mapper" as mapper
|
||||
}
|
||||
|
||||
package "DashAPI" {
|
||||
component "API Models" as apimodels
|
||||
}
|
||||
|
||||
package "Database" {
|
||||
interface "Database Interface" as dbint
|
||||
component "Database Implementation" as dbimp
|
||||
component "Database Model" as dbmodel
|
||||
}
|
||||
|
||||
apiservice --> apimodels
|
||||
apiservice --> dbint
|
||||
apiservice --> mapperint
|
||||
|
||||
dbimp .up.> dbint
|
||||
dbimp --> dbmodel
|
||||
|
||||
|
||||
mapper .up.> mapperint
|
||||
mapper --> apimodels
|
||||
mapper --> dbmodel
|
||||
|
||||
|
||||
|
||||
@enduml
|
||||
Reference in New Issue
Block a user