Skip to content

trK54Ylmz/blog-microservice-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example blog application

A microservice application consists of a collection of small two services.

Please note that, this application is just example.

Prerequisites

  • Go
  • Python 3
  • MongoDB
  • Protocol buffers

Architecture

Example

Create user account
$ curl -XGET -G http://localhost:8003/user/sign-up \
    -d user=test -d pass=test
Sign in
$ curl -XGET -G http://localhost:8003/user/sign-in \
    -d user=test -d pass=test
Create article
$ curl -XGET -G localhost:8003/article/create \
    -d id=62ab199221328dc789c58a7a -d user_id=1 \
    -d title=Test -d description=Test+content 
List articles
$ curl -XGET http://localhost:8003/article/list

About

Example microservice with Go, Python, Flask and GRPC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published