Documentation

Services

Services are containerized software or API specifications. Written in any programming language, services are designed to preform a variety of actions or event-driven behaviors.

Services should encompass the full domain of it's scope. For example, the Twitter microservice should be the entire Twitter API, the GitHub microservice includes the REST API, GraphQL, webhook server and login server.

Create

There are three ways to create services for Storyscript Cloud.

  1. Containerized Services (e.g., Docker containers)
  2. Coming soon OpenAPI
  3. Coming soon AsyncAPI

Containerized Services

Containerized services is software wrapped in a Docker container. Commonly called microservices, but this could be your monolith codebase too.

  1. Follow the Open Microservice Guide - Spec and tools for building microservices rapidly.
  2. Submit your service to the Storyscript Hub.
  3. Access your service via Storyscript, like this:
output = myTeam/myFirstMicroservice foobar key:value

OpenAPI

Coming soon

Looking forward to this feature? Click here to share your feedback.

The OpenAPI spec (aka SwaggerAPI) is an API description format for REST APIs.

Soon Storyscript Hub will support uploading your OpenAPI spec enabling developers to rapidly communicate with the service.

  1. Upload spec to Storyscript Hub.
  2. Interact with your OpenAPI REST API in the following way:
output = myTeam/myOpenAPI endpoint arg:value

AsyncAPI

Coming soon

Looking forward to this feature? Click here to share your feedback.

The AsyncAPI spec is an API description format for event-driven services.

Soon Storyscript Hub will support uploading your AsyncAPI spec enabling developers to rapidly communicate with the service.

  1. Upload spec to Storyscript Hub.
  2. Interact with your AsyncAPI event-driven service in the following way:
when myTeam/myOpenAPI action eventName arg:value as event
    ...

Discover

Much like a traditional software library, the Storyscript Hub is your registry of services and functions to share between applications and developers.

Next, discover services and functions on the Storyscript Hub

Using services

Sharing and reusing services is easy. Discover services in the Storyscript Hub and follow the directions in the Hub to use public or your private collection of services cross application.

Submitting services

Head over to Storyscript Hub to publish your services privately or publicly.

Deploy

Zero-devops deployments with Storyscript.

Storysript abstracts away the unnecessary complexities in orchestrating, communicating and managing microservices, including:

  1. Container deployment
  2. Version management
  3. AB Testing
  4. Scaling
  5. Monitoring
  6. Health checks
  7. Protocols
  8. Error handling
  9. Retry-logic
  10. Fail-over
  11. Event-throttling
  12. Rate-limiting

✨🍰✨ Our mission is to make all the above no longer the responsibility of a human, so they can focus exclusively on business-logic.

Blog, deploying your first Story on Asyncy

Write your own story.

PASSIONATELY BUILT WITH IN AMSTERDAM

2019. Asyncy, Inc.