Skip to content

The hands-on lab content for the lab on working with Node.js SODA APIs and ATP.

Notifications You must be signed in to change notification settings

dmcghan/soda-hol

Repository files navigation

Node.js SODA APIs on Oracle Autonomous Database

This hands-on lab will introduce you to the Simple Oracle Document Access (SODA) APIs for Node.js and Oracle Autonomous Transaction Processing (ATP) database service. SODA is a set of NoSQL-style APIs that let you manage collections of documents (in particular JSON) in Oracle Database without needing to know Structured Query Language (SQL). ATP delivers a self-driving, self-securing, self-repairing database service that can instantly scale to meet demands of mission critical transaction processing and mixed workload applications. 

You will work to complete a three-tier todo tracking application. The front-end app is based on TodoMVC (a simple demo app for learning front-end frameworks). The mid-tier will be a Node.js based REST API that uses the SODA APIs included with node-oracledb (the database driver for Oracle Database) to work with data. For the application's persistence layer, you will use an instance of the ATP service.

Lab Objectives

  • Create an ATP instance
  • Securely connect to ATP from SQL Developer Web and Node.js
  • Use SODA APIs in Node.js to fetch and persist data in ATP
  • Use JSON functions in SQL to work with JSON data

Lab Modules

# Module Est. Time
1 Create an ATP instance 5 min
2 Create a DB user with SODA privileges 5 min
3 Package the Todo App to Run Locally 20 min
4 Use SODA APIs for CRUD operations 30 min
5 Use SQL features for JSON 15 min

Parts

Part 1: Acquire an Oracle Cloud trial account

  1. If you already have an Oracle Cloud trial account (or regular account), you may skip to the next part.

  2. Please click this link to create your free account. When you complete the registration process you'll receive an account with a $300 credit that will enable you to complete the lab for free. You can then use any remaining credit to continue to explore the Oracle Cloud.

  3. Soon after requesting your trial you will receive the following email. Once you receive this email you can proceed to Part 2.

Part 2: Navigate to Module 1

  1. Click here to navigate to Module 1. Alternatively, you can click the navigation menu icon in the upper-left corner of the browser window to see a list of modules in the lab.

  2. Click Module 1: Create an ATP instance.

About

The hands-on lab content for the lab on working with Node.js SODA APIs and ATP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published