exoservice-jsdeprecated

Opitionated framework to create Exosphere micro-services in Node.js

Usage no npm install needed!

<script type="module">
  import exoserviceJs from 'https://cdn.skypack.dev/exoservice-js';
</script>

README

JavaScript Exoservice Framework

opinionated framework for creating simple Exosphere back-end microservices in Node.js

Circle CI

Installation

npm install -g exoservice-js

Creating a micro-service

Let's create the simplest possible microservice: when receiving the command "ping", it replies with the command "pong".

  1. create an empty service scaffold
  • yo exoservice ping
  1. start your server: exo-js run

Testing

Test a running service manually:

$ curl -d '{"requestId": "123" }' -H "Content-Type: application/json" -i http://localhost:3000/run/hello-world

Development

See your developer guidelines