From 70bc689ad53410720617060f6d84c13f8bdb1b45 Mon Sep 17 00:00:00 2001 From: magoeke Date: Sun, 23 Apr 2023 22:09:00 +0200 Subject: [PATCH] Added task description --- task05/Readme.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 task05/Readme.md diff --git a/task05/Readme.md b/task05/Readme.md new file mode 100644 index 0000000..c91d3ec --- /dev/null +++ b/task05/Readme.md @@ -0,0 +1,23 @@ +# Getting Started + +This task might seem familiar for you ;) The project contains everything to get started with a grpc service. +Don't worry if it shows errors. Try to run `maven compile`. It should fix those errors. Restarting IntelliJ +afterwards also helps. + +Right now the project only provides a Hello World example for grpc. + +# Task 05 + +Let's develop a simple blog service. It's possible to create, update and delete posts. Not every post is +published. You also need to provide a way to lock posts so that an author can edit them. +Users can comment posts. A post contains the text itself, a state and the +id of the author. A comment consist of the text and the user id. Authors are also users. +Users won't be manged by this service, so we only deal with the ids. + +1. Define your `*.proto` file +3. Generate all necessary files (`maven compile`) +4. Implement a simple client and server (you don't need to store any data - static return are valid) + + + +