Directories ¶
Path | Synopsis |
---|---|
application
|
|
security/jwt
Package jwt implements the JWT authentication
|
Package jwt implements the JWT authentication |
services
Package services provides external services connections
|
Package services provides external services connections |
usecases/auth
Package auth provides the use case for authentication
|
Package auth provides the use case for authentication |
usecases/medicine
Package medicine provides the use case for medicine
|
Package medicine provides the use case for medicine |
usecases/user
Package user provides the use case for user
|
Package user provides the use case for user |
errors
Package errors defines the domain errors used in the application.
|
Package errors defines the domain errors used in the application. |
medicine
Package medicine contains the business logic for the medicine entity
|
Package medicine contains the business logic for the medicine entity |
user
Package user contains the business logic for the user entity
|
Package user contains the business logic for the user entity |
infrastructure
|
|
repository/config
Package config provides the database connection
|
Package config provides the database connection |
repository/medicine
Package medicine contains the repository implementation for the medicine entity
|
Package medicine contains the repository implementation for the medicine entity |
repository/user
Package user contains the business logic for the user entity
|
Package user contains the business logic for the user entity |
rest/adapter
Package adapter is a layer that connects the infrastructure with the application layer
|
Package adapter is a layer that connects the infrastructure with the application layer |
rest/controllers
Package controllers contains the common functions and structures for the controllers
|
Package controllers contains the common functions and structures for the controllers |
rest/controllers/auth
Package auth contains the auth controller
|
Package auth contains the auth controller |
rest/controllers/errors
Package errors contains the error handler controller
|
Package errors contains the error handler controller |
rest/controllers/medicine
Package medicine contains the medicine controller
|
Package medicine contains the medicine controller |
rest/controllers/user
Package user contains the user controller
|
Package user contains the user controller |
rest/middlewares
Package middlewares contains the middlewares for the rest api
|
Package middlewares contains the middlewares for the rest api |
rest/routes
Package routes contains all routes of the application
|
Package routes contains all routes of the application |
Click to show internal directories.
Click to hide internal directories.