Wie erstelle ich einen RPC Backend mit Googles Protocol Buffers, NodeJS und NestJS? Teil I: Protocol Buffers 0 (0)

Teil I: Protocol Buffers

Du hast eine neue Idee für eine App. Diese soll stark mit einem Webserver kommunizieren? Viele würden nun anfangen eine RESTfulApi zu schreiben. Schön altmodisch. Vielleicht etwas aufgefrischt durch Swagger. Doch letzten Endes eine JSON Ausgabe der Datenbankabfrage. Lesbar für Mensch wie Maschine. Wozu was ändern?

(mehr …)

How do I create an RPC backend with Google’s Protocol Buffers, NodeJS and NestJS? Part I: Protocol Buffers 0 (0)

Part I: Protocol Buffers

You have a new idea for an app. This should communicate strongly with a web server? Many would now start to write a RESTful-Api. Nice and old-fashioned. Maybe a little refreshed by Swagger. But in the end a JSON output of the database query. Readable for both man and machine. Why change anything?

(mehr …)