Skip to content

WHOIGit/template-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Stateless Service

An example template stateless service. Intended to be used as starter code for services.

  • POST /echo — Echoes the request content back to the user.

Run with Docker Compose

docker compose up --build

Request Example

curl -X POST http://localhost:8001/echo \
  -H "Content-Type: application/json" \
  -d '{
        "content": "hello service!"
      }'

About

A template for a stateless microservice.

Topics

Resources

Stars

Watchers

Forks