Skip to content

Instantly share code, notes, and snippets.



Last active Apr 20, 2018
What would you like to do?

The easiest way to create a microservice

mkdir micro-demo
cd micro-demo
yarn add micro
echo 'module.exports = () => "Welcome to Micro"' > index.js
yarn micro

Now browse to http://localhost:3000

curl localhost:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.