Industry-level applications can store the data layer and part of the persistence layer in one project, and another part of the persistence layer with the DTO layer in another project. Keeping them separated ensures that information correlating to the backend is secure and kept away from players. It is worth investigating if gRPC can be used here to send information back and forth between these channels to aid security whilst also keeping more logic server-side.
Industry-level applications can store the data layer and part of the persistence layer in one project, and another part of the persistence layer with the DTO layer in another project. Keeping them separated ensures that information correlating to the backend is secure and kept away from players. It is worth investigating if gRPC can be used here to send information back and forth between these channels to aid security whilst also keeping more logic server-side.