Contributed"> 5 Handy 'Serverless' APIs for Web Development - The New Stack
Modal Title
API Management / Serverless / Storage

5 Handy ‘Serverless’ APIs for Web Development

In this article, we’ll introduce five API service providers that address common features and take a look at how they work.
Jun 22nd, 2017 12:00pm by
Featued image for: 5 Handy ‘Serverless’ APIs for Web Development

Roger Jin
Roger Jin is a developer and technical writer at ButterCMS where he focuses on tools to make developers’ lives easier. Mixing his passion of programming and education, he writes articles focusing on serverless development, microservices, and much more. He develops mostly with React, Node.js, Elixir, and Ruby.

Why spend time building things that you can buy or rent?

For those who have never heard of the term “BaaS” before, it stands for “Backend as a Service” and refers to third-party API services that can be integrated into your applications to build out specific functionality quickly.

For example, imagine how much work it’d take your team to build a single sign-on service for your product along with an admin interface for provisioning and managing user permissions. Sound like a pain? Well good news, there are plenty of services that you can drop-in to achieve this without writing a single line of server code.

In fact, these days there are a number of successful companies who have been able to produce compelling products with barely any of their own server-side code.

In this article, we’ll introduce five API service providers that address common features and take a look at how they work.

1) Auth0 for Authentication

Imagine owning several server-rendered web apps, single page apps, APIs, and mobile apps that all need to authenticate and authorize a shared set of users?

Auth0 makes this easier with its authentication platform. Auth0 can be integrated a number of ways including hosted login pages and fully-integrated forms built using its software development kits (SDKs).

For example, the hosted login page can be launched with a tiny amount of JavaScript code:


Auth0 also provides an admin interface for managing users and permissions.

Auth0 even offers nice extras like multi-factor authentication and breached password detection.

2) ButterCMS for Blogs and Content Management

So you’ve built a website using your favorite tech stack (eg. Node.js, Rails, React), now you need to add a client-friendly blog and content management system your application — something as simple to use as WordPress.

Building a blog and CMS backend are probably the least exciting things you want to be working on. Luckily, ButterCMS makes this easy.

ButterCMS provides APIs and SDKs for integrating dynamic content into an application, along with a client-friendly admin interface for content editing and publishing.

For example, fetching your blog posts or page content as JSON can be done with this simple code using the ButterCMS JavaScript client:


ButterCMS’s admin interface is simple and intuitive so you don’t need to worry about your content editors bugging you about how to do things. (Disclosure: The author is a developer for ButterCMS).

3) FormKeep for Forms

You’ve built a simple static website, but now you need to add a custom designed contact form that can integrate with your CRM and send an auto-response email. Building a custom server application to handle the form’s POST requests sounds like a painful chore, right? FormKeep exists to save you from that trouble.

You use FormKeep by simply pointing your forms to their endpoint:


FormKeep lets you setup custom response emails and integrations with practically any CRM or backend using Zapier.

4) Moltin for E-commerce

If you’re looking to build an e-commerce website or app, take a look at Moltin, which offers a wide set of API’s that support everything from inventory, shopping carts, checkout, and payments. Moltin is incredibly useful for offering cross-platform shopping experiences, or if you want to build unique web experiences using your preferred tech stack.

Moltin’s API is extensive, but to get an idea of what it looks like, here’s an example request that adds a product to a user’s shopping cart:

5) SendBird for messaging and chat

How many times have you built messaging or chat functionality into an application? If your answer is more than once, chances are you know you’d prefer someone else take care of it the next time around.

SendBird offers SDKs that cover the whole package from front-end user interface to backend API’s, so you don’t have to worry about meticulously building chat interfaces or scaling the backend to millions of concurrent users.

For example, posting a message from a user in JavaScript is as simple as three lines of code:


SendBird supports various implementations including one-on-one messaging, group chat, and open channels. It also offers nice advanced features such as read receipts, spam flood protection, and moderation tools.

Wrap Up

We love hearing about new backend service providers, so let us know in the comments or submit them to our curated list on GitHub.

Feature image via Pixabay.

Group Created with Sketch.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.