Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 870 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 870 Bytes

skel-python-service

A Skeleton Python Service.

Introduction

This is the simplist microservice ever.

Pre-requisits

The application is run with docker and docker-compose. Please use the following links to install.

Runing the Application

First clone the repository with:

git clone https://github.com/diversemix/skel-python-service.git

Then change to the root folder then build and start with docker-compose:

cd skel-python-service
docker-compose build
docker-compose up -d

Testing

You can change the message in: config.json

curl localhost:5000/v1/status

Now for a POST

curl -X POST -H "Content-Type: application/json" --data "[1,2,3]" localhost:5000/v1/query