Protobuff project structure

36 views
Skip to first unread message

Stefan Larie

unread,
Apr 25, 2021, 6:50:07 AM4/25/21
to Protocol Buffers
Hello all   I want to build a project using Java as server and Angular(ts) for client side 

I need to do something like a DTO project to define the structure of my enteties  And seems like protobuff is a good way to do this ,

but I need to to have all protos in din different folders/subfolders/subsubfolders etc....just like packages in java   then build all protos(from different subfolders  but one root folder) in a single .jar file  and add it top my server as a dependency   then   build as a ts interface (or something similar)  and added in my cliend as a dependency 

My goal is to have the same structured data on client and server side without manual changeing  ( just extend the profo file  run a script and that`s it)

can you guys give me some advise about how to do that ? 

thank you
Reply all
Reply to author
Forward
0 new messages