simple online nosql database database with REST API and MongoDB queries
  • Features
  • Docs
  • Blog
  • Templates
  • Pricing
  • Contact
  • Sign Up
  • Log In

Blog

 The latest news and articles about restdb.io  

Database templates!
Don't forget to visit our template catalog! It's the fastest way to get up and running with a restdb.io database. View templates »

Database Driven Web sites and Pages

by Jon Erik Solheim
|
User|Howto|
  • Share on Facebook
  • Tweet
  • Add to Pocket
  • Share on LinkedIn
  • Send email
Pages let you create dynamic HTML (and other) content inside restdb.io. This is a great way to develop unique user experiences driven by data from your database.
This blog post shows you how to get started. We will create a simple web page and publish it to the world.
Pages are useful for:
  • creating custom reports
  • develop dynamic content used by other web applications
  • complete dynamic web sites
You create Pages with html code and connect to your database through server side script templates (Handlebars) or with Javascript client code. 
Pages can also act as components in other Pages by including one in another. 

Start by switching to developer mode and click the "Add Page" button.


We'll call our page "Topsellers" and pick an icon for navigation,


And now our page is ready for us to create our magic.


Clicking on the link to the page opens the code editor for the Page.


Lets just enter something really simple first, print out "Hello world!". Save the file and select the Preview tab reveals our new page.
It works, but not very impressive.


Lets enter something more elaborate, here is the html code for our fancy product landing page.


The result looks like a good start for a product landing page.


Now we can publish our page by selecting the Settings tab and checking the public access option.


The page is now public and can be accessed from anyone on the web.
See for yourself here: https://rdb-simpledb.restdb.io/views/public/Topsellers


Pages puts you in control and makes it dead simple to connect your data to your HTML5 application.

Read more about pages at the doc pages here.


  • Share on Facebook
  • Tweet
  • Add to Pocket
  • Share on LinkedIn
  • Send email

All Posts


Search

Topics

  • API
  • Authentication
  • Case study
  • Features
  • Howto
  • Integrations
  • Newsletter
  • Productivity
  • Prototyping
  • Tutorials
  • User

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. It is easy to get started with the free development plan.

Start Building »

  • Site Links
  • Home Page
  • About Us
  • Contact
  • Blog
  • Templates Catalog
  • Cloud Service
  • Features
  • Pricing
  • Terms & Conditions
  • Privacy Policy
  • Sign Up »
  • Documentation
  • Overview
  • Getting Started
  • Coding against the API
  • Utils
  • Security and Admin
© 2025 restdb.io