Skip to content

Comments microservice for the rReact-Blog-Microservices application.

Notifications You must be signed in to change notification settings

Kodriboh-Brothers/react-blog-comments-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comments Service

The comment service is responsible for creating and retrieving posts. Anytime a post is created the post service emits an event to the Event Bus.

Running This Service

To run this service, execute npm start within the root directory of the service.

Routes

GET


    localhost:4001/posts/123/comments

Response


    [
        {
            "id": "1725f7be",
            "content": "Awesome Build!"
        }
    ]

POST


    localhost:4001/posts/123/comments

Body


    {
        "content": "Sweet build!"
    }

Response


    [
        {
            "id": "1725f7be",
            "content": "Sweet Build!"
        }
    ]

About

Comments microservice for the rReact-Blog-Microservices application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published