Skip to content

jessecogollo/taller-microservices-micro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microservices-demo

A microservices demo using Zeit's micro

Install

First we will need to install micro in our Node installation as a global package

$ npm install -g micro

Run a microservice

$ micro name-of-microservice.js

Testing with curl

Upload an image

$ curl -F "file=@./image.jpg" http://localhost:3000/

Preview & Save

$ curl -X POST -d "{\"image\": \"xxxxxx-xxxx-xxxx-xxxx-xxxxxx.jpg\", \"filter\": \"sepia\"}" http://localhost:3000/

About

A demo using Zeit's micro

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%