Skip to content

Instantly share code, notes, and snippets.

@olivermrbl
olivermrbl / workflow-sdk.md
Last active November 2, 2023 15:11
Proposal: Workflow SDK

Workflow SDK

An SDK on top of our existing workflow and orchestration tooling, simplifying and improving the developer experience of managing workflows.

Basic Example

In the example below, we define a simple workflow with two steps.

import { createWorkflow, createWorkflowHandler, createTransformer } from "@medusajs/workflows"

const myHandler1 = createWorkflowHandler("first", myHandler1Invoke, myHandler1Compensate)
@olivermrbl
olivermrbl / strapi-medusa.md
Last active February 6, 2022 17:51
Guide on how to use Strapi with Medusa

Medusa Medusa

Medusa Strapi Plugin

@olivermrbl
olivermrbl / www.md
Last active August 22, 2021 07:52
How we handle two projects in a monorepo hosted on one site and one url in Netlify

Two projects in a monorepo hosted on one site and one url in Netlify

Netlify helps you build your sites or applications in a very easy manner. In most cases, you would have a simple project (e.g. Gatsby) in a repository, that you simply connect via some Git provider. Within a couple of minutes, your site is built and live on a domain.

But some cases are more complex than that. Luckily enough, Netlify supports more advanced setup through their Build & deploy configurations. The purpose of this article is to show you how we hosted two web projects (Gatsby and Docusaurus) from within a monorepo as a single site in Netilfy under the same domain.

Folder structure

It's important to have a look at our folder structure for the monorepo, to understand our build configuration in Netlify.