Your new API backend for the jamstack

Last month we talked about a new architecture pattern, Netlify for the frontend, Micro for the backend. As the frontend has evolved towards being dominated by the Jamstack, we believe the backend also requires a fundamental shift in it’s design and consumption model.

Netlify, while largely agnostic of framework usage, has promoted decomposition of the traditional stack to something more driven by microservices and APIs. Micro has long been an advocate for that, both as an open source project and now as a hosted platform called M3O.

Get Started

If you want to skip right to getting started head to the

Evolution of the Backend

But what’s more, we’re seeing a need from the backend to evolve beyond providing traditional infrastructure services. It’s no longer enough to just focus on authentication, configuration, storage, hosting, etc. What we really need is higher level APIs that provide business level value.

The most prime examples are Stripe, Twilio, Sengrid and Segment. Who focus on APIs for finance, communications and analytics. AWS, Google and others are providing coverage for infra level APIs.

What we really need is the next layer of abstraction. We need the building blocks for new types of APIs and services. Micro acts as a platform for these services and now we want to move into offering the next level of value add services.

Composition and Value Add

What’s clear when working with microservices is that there’s an ability to decompose systems into smaller domain specific reusable services and then aggregate back up into many forms as value add services, products and then businesses.

As you can see in this image and probably from common experience, most businesses are composed of the same generic building blocks from the infrastructure all the way up. It’s only when we get to the business specific requirements that we need our own services to handle that logic.

It’s insane that most of us continue to build the same systems on the backend over and over rather than reusing and building on the foundations of each others work. GitHub enabled this for open source at an accelerated pace but we’ve yet to see the same emerge for business logic, services and APIs.

It’s now our goal to facilitate this with a single unified platform and reusable services.

Introducing Micro Services

Today we’re unveiling Micro Services, a set of reusable building block services which can be used on the Micro Platform whether you’re self hosting the open source project or using our managed platform M3O.

Browse directly to if you want to read through the code or kick the tyres locally.

Services Included

We’re including 10 services from the get go (available in

  • Helloworld - The canonical helloworld to kick the tyres
  • Chat - Messaging as an api to embed anywhere
  • Posts - The foundation for a headless CMS
  • Comments - Add comments to posts or replies to your app
  • Tags - Categorise your posts for quick searching
  • Feeds - Crawl and index RSS feeds into your posts service
  • Location - Realtime gps point location tracking and search
  • Messages - An inbox for private messages and related
  • Notes - Simple todo notes, lists, etc
  • Users - User management and authentication

All of the above services are available to explore and deploy when logged in on

Getting Started on the Web

As part of this announcement we’re releasing our new Web UI to quickly get up and running.

Head to to get started.

Deploy Services

When logged in you can head to the new service page to explore and deploy any of the above plus any other Micro services you’ve built yourself directly from a public git url.

Explore API Endpoints

After selecting and running a service, an instance of it gets deployed to your namespace. Once the service deploys it’s API endpoints can be explored and called directly from the web UI along with its running status and logs.

Embed Services using Micro.JS

All the services running can also be called from Javascript easily (currently only a vanilla JS client is available, more is coming), using what we call micro.js. See the embed tab for the code.

Micro.js provides a simple way to call services running on the platform, including handling authentication using a popup for login/registration, making it easy to add your micro services anywhere on the web.

For those interested in a typescript implementation of login, signup, user read and token refreshing API calls, the relevant web dashboard code can be useful.

Build Your Own

While we’re providing some services out of the box, Micro is an all encompassing ecosystem that includes a platform and framework for development in Go. We want to encourage everyone to get involved, whether it’s writing services for your own consumption or contributing them back to for everyone else’s consumption too.

Learn More

To learn more about Micro itself head to open source website or join us in slack.