Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 983 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 983 Bytes

A gRPC-based API in Golang to manage blog posts for a hypothetical blogging platform. The API supports CRUD operations for blog posts, and each post have the following attributes:

PostID (unique identifier) Title Content Author Publication Date Tags (multiple tags per post)

The API should support the following operations:

Create Post Input: Post details (Title, Content, Author, Publication Date, Tags) Output: The Post (PostID, Title, Content, Author, Publication Date, Tags). Error message, if creation fails.

Read Post Input: PostID of the post to retrieve Output: Post details (PostID, Title, Content, Author, Publication Date, Tags) or an error message if the post is not found.

Update Post Input: PostID of the post to update and new details (Title, Content, Author, Tags) Output: Post details (PostID, Title, Content, Author, Publication Date, Tags) or error message if the update failed

Delete Post Input: PostID of the post to delete Output: Success/Failure message