Skip to content

Implement JSONPlaceholder REST APIs gRPC Methods#57

Open
Excellencedev wants to merge 2 commits intotailcallhq:mainfrom
Excellencedev:fix-40
Open

Implement JSONPlaceholder REST APIs gRPC Methods#57
Excellencedev wants to merge 2 commits intotailcallhq:mainfrom
Excellencedev:fix-40

Conversation

@Excellencedev
Copy link

@Excellencedev Excellencedev commented Jan 15, 2026

This PR implements the gRPC versions of the JSONPlaceholder REST APIs for Posts and Users as specified in #40

Changes Made

  • Proto Definitions: Created proto/posts.proto and proto/users.proto to define PostService and UserService.
  • Build Configuration: Updated build.rs to compile all proto files from the proto directory.
  • Service Implementation:
    • Implemented PostService with ListPosts, GetPost, CreatePost, UpdatePost, and DeletePost.
    • Implemented UserService with ListUsers, GetUser, CreateUser, PatchUser, and DeleteUser.
  • Server Registration: Updated the main server to register and serve the new gRPC services.
  • Tests: Added tests that verify all functionlity

/fixes #40
/claim #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement JSONPlaceholder REST APIs gRPC Methods

1 participant