Socket
Socket
Sign inDemoInstall

expresscion

Package Overview
Dependencies
310
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    expresscion

Express.js middleware implementing the state machine as a service (SMaaS) protocol.


Version published
Weekly downloads
5
decreased by-58.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Tests

Expresscion is an open, cloud-friendly SCXML orchestration server.

Expresscion (formerly SCXMLD) provides Node.js express middleware which implements the State Machines as a Service (SMaaS) REST protocol.

Installation

Install PostgreSQL and Redis and set POSTGRES_URL and REDIS_URL in your environment.

You can clone this project boilerplate and run npm install; or follow the instructions.

Init a new Node.js project with npm init.

Create a new index.scxml file in the project root.

Install expresscion as package dependency: npm install --save expresscion

Add to package.json:

  "scripts": {
    "start": "node_modules/expresscion/bin/www index.scxml"
  },

Then run npm start, and visit http://localhost:8002/ in your web browser.

Optionally, install command-line tools: https://github.com/JacobeanRnD/smaas-cli

Deploy to the cloud

Expresscion is designed to work well with existing devops tools. Here is how to deploy to heroku:

heroku create my-app
heroku git:remote -a my-app
heroku addons:create heroku-postgresql
heroku addons:create heroku-redis
heroku config:set POSTGRES_URL=`heroku config:get DATABASE_URL`
heroku config:set HOST_URL=https://my-app.herokuapp.com
git push heroku master

FAQs

Last updated on 10 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc