The story of Storyscript begins with you — the developer. We seek to amplify your ability to build and deploy applications, enabling you to doing so at lightning speed.
Your mission — if you choose to accept it — is to make your development lifecycle 10-100x easier. How? By significantly reducing the boilerplate neccessary when working with microservices in a Bash–esque paradim.
We remove the unnecessary complexity in order to allow you to focus on what matters most: the story of your data.
Let's get started.
First, install our CLI:
Next, login with your GitHub account:
All done! You're all set to create and deploy apps written in Storyscript.
If you're having trouble logging in via GitHub, please reach out to us.
Write your first Story
Let's create your first application, to be able to check out the samples which are bundled.
mkdir first_app && cd first_app
story apps create
Doing so will create
story.ymlin the current directory. This file contains metadata about your new app.
We have created a few examples that can help you bootstrap your project: Let's start you off with a simple hello world serverless http endpoint:
story write http > http.story
Let's take a look:
when http server listen method: 'get' path: '/' as request request write content: 'Hello world!'
Now, let's deploy your story:
Compiling Stories... Deploying app competent-nash-82.storyscriptapp.com... | √ Version 1 of your app has been queued for deployment Waiting for deployment to complete... | √ Deployed successfully! If your story listens to HTTP requests, visit https://competent-nash-82.storyscriptapp.com
Congratulations! You have just deployed your first Story! ✨🍰✨
story deploy will deploy all the stories in your project, at once.
See it live!
Check the deployment output. It will indicate where your story was deployed.
Next Checkout our extensive documentation about Storyscript to build powerful applications.
Ready to redeploy your application? Simply run the same
deploy command again:
Your application is now live! ✨🍰✨