Skip to content

AnchalPuri/cloudbees-coding-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages