Oracle MOOC: Introduction to NodeJS Using Oracle Cloud (2018) - Week 2

Lesson 2: Modules, Databases, and Promises

In this week you will learn about how to modularize your Node JS applications, implement databases, and the importance of using promises.

To understand more about the architecture of NodeJS applications, let’s begin the second week of our journey in this 3 week MOOC!

In this week you will learn:

  • How to modularize Node.JS applications
  • Create Multi-layered Node.JS Microservices
  • Connect Microservices to Oracle Database
  • Use promises to simplify asynchronous code

Video instructions along with homework guide you through the NodeJS Microservices concepts. The videos and tutorials are listed sequentially, and we recommend you use the instructional materials in that order. At the end of each lesson, don’t forget to take the quiz.

If you are logged in and as you progress through the materials, review the Progress tab to track your progress. Don’t hesitate to ask a question in the NodeJS MOOC community.

The code demonstrated in this week is available in the references section of this week or you may download directly from this link.


Instructional Materials

2.1 Introduction to Node Modules 7 min

2.2 Modularizing Applications (Modules 2) 9 min

2.3 REST standards and API 7 min

2.4 Twelve Factor Apps 4 min

2.5 Creating Databases in the Oracle VM 10 min

2.6 Connecting to an Oracle DB with NodeJS 12 min

2.7 Database Recap 10 min

2.8 Cross-Origin Resource Sharing 6 min

2.9 JavaScript Promises 7 min

2.10 Using Promises with Oracle DB 6 min

2.11 The REST API for the Movie App 5 min

2.12 Movie App Architecture and Tips 7 min

NodeJS MOOC - Homework 2 (PDF) (nodejs-homework-week-2.pdf)