
In case you didn't know it, restdb.io is designed for use with the leading NoSQL database engine MongoDB.
restdb.io does not expose any of the details from the underlying database, hence the simplicity and speed of development that many developers love.
However, in many cases, there are good reasons for developers and data owners to control their own MongoDB instance.
We are therefore proud to announce support for external MongoDB databases.
This blog post shows how you can connect restdb.io to a MongoDB Atlas Cluster.
Compared to a traditional relational database (SQL), a document oriented (NoSQL) database has poor or non-existent support for relations between objects (data schema). A NoSQL datastore persists and retrieves documents (often in JSON format) and any relationships between your documents is something you must implement yourself.
Without any direct support for relations, you’re stuck with the logic and maintenance of objects / relations in your application layer.
This blog post shows how you can leave the job of maintaining object / relations to a database, effectively giving you time to pick from your backlog instead of adding :)
Engaging your audience is good for business. Whether your audience are users, subscribers, companies or hot leads, you should have an automated system for keeping them happy.
Sending personal emails based on user actions is an important tool in this aspect.
You can choose from a bunch of excellent email services (APIs) today, e.g. Sendgrid, Mailchimp, Mandrill, Mailgun, Amazon and Mailjet. But there are major challenges in first grasping, and then integrate and automate these services into your application.
This blog post shows how you can automate sending of transactional email directly from a restdb.io application. No need to setup or integrate anything. There is a link to an installable template at the end of the article to get you up to speed quickly.
In your career as developer you've probably at some time felt guilty when the project manager asked you where the documentation is. "It's a self-documenting system", you say, trying to be smart.
What if there was a fun and simple way to write and share those docs? For all your (development) projects?
In this blogpost we'll show you how the DocHUB database template was created. It provides an easy way to create dynamic project documentation with Markdown using a restdb.io database as the content engine and the amazing Flatdoc for displaying and navigating the docs with a little Javascript magic.
The template has been very popular and has been installed many times by our users. If you're not into coding, you can of course just install it and use it as is. Otherwise, read on (and learn).
Your database size is out of control, and collections are growing crazy fast.
You desperately need some automagical way to limit collection sizes to contain only relevant data, and chop off garbage data.
Relax, this is exactly what you can accomplish with a background JavaScript that caps collection data to a specific limit.
This blog post will show you how.
We'll soon be entering 2017. And Email is still around.
This blog post shows how you can use a "serverless" Javascript Codehook to send email to people from a web page.
In this example you’ll learn how to use:
Are you ready to learn some fun and useful stuff?
Boiler plates and HTML templates are very popular among developers. With restdb.io database/app templates, we want to take reuse to a completely new level.
A few months ago, we introduced the snapshot functionality for restdb.io databases. A simple click and a complete clone of a database with schema, REST API, HTML pages and setup would be created. Perfect for development staging, testing, reuse and sharing.
We are now introducing a template catalog where we are sharing various types of database applications you can install directly into your account. You can use these templates to learn from, as a starting point for a new solution or just use them right out of the “box”.
Crontab is a well known workhorse from the Unix and Linux world.
The crontab is a system that lets you run commands on a regular schedule. Crontab stands for “cron table”, because it uses the job scheduler cron to execute tasks; cron itself is named after “chronos,” the Greek word for time.
Using the Crontab system, restdb.io can invoke a Codehook. A Codehook is a JavaScript function that can access your database or any other network resource.
Combining Crontab and Codehooks puts you in control. It lets you build a more versatile and advanced data backend for your application.
This blog post shows how to get started creating your own Crontab jobs in restdb.io.
Native apps for IOS and Android provide developers with options, performance and styling beyond the capabilities of the browsers. Up until recently, however, this meant learning and dealing with bespoke programming languages and SDKs. Fortunately, react-native have come to the rescue, offering a familiar JavaScript programming and standardized components for the major platforms.
Building a fully functional react-native app with persistence and authentication is surprisingly easy. Using restdb.io for cloud hosted data and Auth0 for user authentication, you get lots of features right out of the box. Follow the steps in this post and you’ll be up and running in no time.
The new restdb.io feature, Codehooks, lets you execute JavaScripts directly in your database.
This feature opens up an array of cool scenarios for your application. One of them is to integrate your database with slack.com.
Slack seems to be every team’s favorite collaboration platform now. If you’re not using this great tool already, I would suggest you give it a try. It can practically eliminate the need for sending internal (non-important) emails, and introduces a more human touch to your team information flow.
That’s why it makes sense to let your database talk to Slack, instead of you logging on to your database admin, all the time, to see what’s going on.
This blog post shows you how you can create a JavaScript Codehook to feed your Slack with important stuff that happens inside your database.
There are plenty of excellent tools to monitor servers in real-time (New Relic, LogicMonitor). These products have tons of features and often costs more than you are (eagerly) willing to pay. Maybe you just need something simple or something custom that you want to keep an eye on in a dashboard. Perhaps the Dev in you is bigger than the Ops? In any of those cases, this article is for you.
We will show how you can use a pre-made restdb.io database template to create your own DevOps server monitoring dashboard with JavaScript, Google Charts and Bash shell scripts. The setup is simple and will only take you a few minutes to try out.
User authentication is an important ingredient in application development. It both protects important data (i.e. APIs) and enables development of a personalised user experience.
It can, however, be a complicated and time-consuming process if you want to roll your own and it often requires a skilled backend developer to do it right.
Restdb Pages lets you create any content from your database and deliver it on a custom route. However, sensitive content must be protected. That's why we made it simple to include user authentication in any Page. All you have to do is to add the #auth tag to the Page source code.
{{#auth}}
{"password": "secret", "user": "jane"}
{{/auth}}
My sensitive content here ...In this blogpost we'll demonstrate how you can use restdb.io as a Data Generator for your Framerjs prototype.
I am no expert in how to create prototypes in Framer Studio, and the example is probably amateurish. However, my main goal is to show you how easy it is to connect and work with restdb.io and Framer Studio, almost in real time.
Nowadays, most web services offers some form of API-keys to access and update data programmatically. But there's usually a little catch: API-keys are full access and thus only usable from server to server. Some services has started to offer OAuth-access, but that involves some sort of authentication first.
We are pleased to share some insights from a project that uses restdb.io as a backend to measure Air quality.
A parent/child-relation is a convenient way of organizing and viewing information in a one-to-many relationship. If you think about it, we use it all the time:

restdb.io is a fast and simple NoSQL cloud database service. With restdb.io you get schema, relations, REST API and an efficient multi-user admin UI for working with data.
Our customers use it for backends, business databases, API-first CMS, data collection and much more.
