Skip to content

Kodriboh-Brothers/react-blog-posts-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posts Service

The post 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:4000/posts

Response


    {
        "id": "3333af60",
        "title": "Dragons vs Magicians"
    }

POST


    localhost:4000/posts

Body


    {
        "title": "Dragons vs Magicians"
    }

Response


    {
        "3333af60": {
            "id": "3333af60",
            "title": "Dragons vs Magicians"
        }
    }

About

Posts service for the React-Blog-Microservices application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published