On this page of the Node.js Bookshelf tutorial, you choose a database for storing structured data. The Bookshelf sample app uses a structured data model for storing information about books. You can explore the sample by using one of two different backing databases: Google Cloud SQL or Google Cloud Datastore.
This page is part of a multi-page tutorial. To start from the beginning and see instructions for setting up, go to Node.js Bookshelf App.
To get started with the Bookshelf tutorial, choose one of the following options:
|Database||Why use this?||Configuration|
Google Cloud Datastore
Managed NoSQL database
Use Cloud Datastore >
Choose this option if you want a zero-configuration, fully-managed, highly-scalable, non-relational database.
See the Google Cloud Datastore section for an overview video.
For data better represented by a relational schema, or in situations where you need more advanced query support, use Google Cloud SQL. Your optimal solution might be a hybrid between Cloud SQL and Cloud Datastore. For unstructured data that does not need to be queried, use Google Cloud Storage. You'll learn about Cloud Storage in an upcoming section of this tutorial series.... more
|No additional configuration needed.|
Google Cloud SQL
Use Cloud SQL >
Choose this option if you're familiar with MySQL or if you are interested in a managed relational database.
See the Google Cloud SQL section for an overview video.
If you have unstructured data or large files to store, use Google Cloud Storage. If you are looking for a solution for querying non-relational data, use Google Cloud Datastore.... more
|Create a Cloud SQL instance and configure access.|