-
Notifications
You must be signed in to change notification settings - Fork 4
2.Project Structure
In this topic, the structure of a gRPC API project created by Upper will be discussed.
This is the main project configuration file. It contains parameters used during operations such as build
and deploy
.
This is the configuration file for using Docker conatainers.
This is the folder that contains all the proto files of all services in the project.
This is the folder containing the monolithic application.
This folder contains the files necessary for the operation of the monolithic server. Are they:
Provide connection to the postgres database. You can change this file as you wish, as long as you preserve the getConnection
function by returning a valid PostgreSQLConnection
object.
This file implements the gRPC server with the services returned in the getServices
function.
This file fills a list with the micro services and returns to the gRPC server.
This folder contains a subfolder for each service. Each Service reflects a table in the database.