Jump To Close Expand all Collapse all Table of contents Node.js Runtime Guide Preface 1. What is Node.js 2. Supported Architectures by Node.js 3. Introduction to example applications 4. Available examples for Node.js Expand section "4. Available examples for Node.js" Collapse section "4. Available examples for Node.js" 4.1. REST API Level 0 example for Node.js Expand section "4.1. REST API Level 0 example for Node.js" Collapse section "4.1. REST API Level 0 example for Node.js" 4.1.1. REST API Level 0 design tradeoffs 4.1.2. Deploying the REST API Level 0 example application to OpenShift Online Expand section "4.1.2. Deploying the REST API Level 0 example application to OpenShift Online" Collapse section "4.1.2. Deploying the REST API Level 0 example application to OpenShift Online" 4.1.2.1. Deploying the example application using developers.redhat.com/launch 4.1.2.2. Authenticating the oc CLI client 4.1.2.3. Deploying the REST API Level 0 example application using the oc CLI client 4.1.3. Deploying the REST API Level 0 example application to Minishift or CDK Expand section "4.1.3. Deploying the REST API Level 0 example application to Minishift or CDK" Collapse section "4.1.3. Deploying the REST API Level 0 example application to Minishift or CDK" 4.1.3.1. Getting the Fabric8 Launcher tool URL and credentials 4.1.3.2. Deploying the example application using the Fabric8 Launcher tool 4.1.3.3. Authenticating the oc CLI client 4.1.3.4. Deploying the REST API Level 0 example application using the oc CLI client 4.1.4. Deploying the REST API Level 0 example application to OpenShift Container Platform 4.1.5. Interacting with the unmodified REST API Level 0 example application for Node.js 4.1.6. REST resources 4.2. Externalized Configuration example for Node.js Expand section "4.2. Externalized Configuration example for Node.js" Collapse section "4.2. Externalized Configuration example for Node.js" 4.2.1. The externalized configuration design pattern 4.2.2. Externalized Configuration design tradeoffs 4.2.3. Deploying the Externalized Configuration example application to OpenShift Online Expand section "4.2.3. Deploying the Externalized Configuration example application to OpenShift Online" Collapse section "4.2.3. Deploying the Externalized Configuration example application to OpenShift Online" 4.2.3.1. Deploying the example application using developers.redhat.com/launch 4.2.3.2. Authenticating the oc CLI client 4.2.3.3. Deploying the Externalized Configuration example application using the oc CLI client 4.2.4. Deploying the Externalized Configuration example application to Minishift or CDK Expand section "4.2.4. Deploying the Externalized Configuration example application to Minishift or CDK" Collapse section "4.2.4. Deploying the Externalized Configuration example application to Minishift or CDK" 4.2.4.1. Getting the Fabric8 Launcher tool URL and credentials 4.2.4.2. Deploying the example application using the Fabric8 Launcher tool 4.2.4.3. Authenticating the oc CLI client 4.2.4.4. Deploying the Externalized Configuration example application using the oc CLI client 4.2.5. Deploying the Externalized Configuration example application to OpenShift Container Platform 4.2.6. Interacting with the unmodified Externalized Configuration example application for Node.js 4.2.7. Externalized Configuration resources 4.3. Relational Database Backend example for Node.js Expand section "4.3. Relational Database Backend example for Node.js" Collapse section "4.3. Relational Database Backend example for Node.js" 4.3.1. Relational Database Backend design tradeoffs 4.3.2. Deploying the Relational Database Backend example application to OpenShift Online Expand section "4.3.2. Deploying the Relational Database Backend example application to OpenShift Online" Collapse section "4.3.2. Deploying the Relational Database Backend example application to OpenShift Online" 4.3.2.1. Deploying the example application using developers.redhat.com/launch 4.3.2.2. Authenticating the oc CLI client 4.3.2.3. Deploying the Relational Database Backend example application using the oc CLI client 4.3.3. Deploying the Relational Database Backend example application to Minishift or CDK Expand section "4.3.3. Deploying the Relational Database Backend example application to Minishift or CDK" Collapse section "4.3.3. Deploying the Relational Database Backend example application to Minishift or CDK" 4.3.3.1. Getting the Fabric8 Launcher tool URL and credentials 4.3.3.2. Deploying the example application using the Fabric8 Launcher tool 4.3.3.3. Authenticating the oc CLI client 4.3.3.4. Deploying the Relational Database Backend example application using the oc CLI client 4.3.4. Deploying the Relational Database Backend example application to OpenShift Container Platform 4.3.5. Interacting with the Relational Database Backend API on Node.js 4.3.6. Relational database resources 4.4. Health Check example for Node.js Expand section "4.4. Health Check example for Node.js" Collapse section "4.4. Health Check example for Node.js" 4.4.1. Health check concepts 4.4.2. Deploying the Health Check example application to OpenShift Online Expand section "4.4.2. Deploying the Health Check example application to OpenShift Online" Collapse section "4.4.2. Deploying the Health Check example application to OpenShift Online" 4.4.2.1. Deploying the example application using developers.redhat.com/launch 4.4.2.2. Authenticating the oc CLI client 4.4.2.3. Deploying the Health Check example application using the oc CLI client 4.4.3. Deploying the Health Check example application to Minishift or CDK Expand section "4.4.3. Deploying the Health Check example application to Minishift or CDK" Collapse section "4.4.3. Deploying the Health Check example application to Minishift or CDK" 4.4.3.1. Getting the Fabric8 Launcher tool URL and credentials 4.4.3.2. Deploying the example application using the Fabric8 Launcher tool 4.4.3.3. Authenticating the oc CLI client 4.4.3.4. Deploying the Health Check example application using the oc CLI client 4.4.4. Deploying the Health Check example application to OpenShift Container Platform 4.4.5. Interacting with the unmodified Health Check example application 4.4.6. Health check resources 4.5. Circuit Breaker example for Node.js Expand section "4.5. Circuit Breaker example for Node.js" Collapse section "4.5. Circuit Breaker example for Node.js" 4.5.1. The circuit breaker design pattern 4.5.2. Circuit Breaker design tradeoffs 4.5.3. Deploying the Circuit Breaker example application to OpenShift Online Expand section "4.5.3. Deploying the Circuit Breaker example application to OpenShift Online" Collapse section "4.5.3. Deploying the Circuit Breaker example application to OpenShift Online" 4.5.3.1. Deploying the example application using developers.redhat.com/launch 4.5.3.2. Authenticating the oc CLI client 4.5.3.3. Deploying the Circuit Breaker example application using the oc CLI client 4.5.4. Deploying the Circuit Breaker example application to Minishift or CDK Expand section "4.5.4. Deploying the Circuit Breaker example application to Minishift or CDK" Collapse section "4.5.4. Deploying the Circuit Breaker example application to Minishift or CDK" 4.5.4.1. Getting the Fabric8 Launcher tool URL and credentials 4.5.4.2. Deploying the example application using the Fabric8 Launcher tool 4.5.4.3. Authenticating the oc CLI client 4.5.4.4. Deploying the Circuit Breaker example application using the oc CLI client 4.5.5. Deploying the Circuit Breaker example application to OpenShift Container Platform 4.5.6. Interacting with the unmodified Node.js Circuit Breaker example application 4.5.7. Circuit breaker resources 4.6. Secured example application for Node.js Expand section "4.6. Secured example application for Node.js" Collapse section "4.6. Secured example application for Node.js" 4.6.1. The Secured project structure 4.6.2. Red Hat SSO deployment configuration 4.6.3. Red Hat SSO realm model Expand section "4.6.3. Red Hat SSO realm model" Collapse section "4.6.3. Red Hat SSO realm model" 4.6.3.1. Red Hat SSO users 4.6.3.2. The application clients 4.6.4. Node.js SSO adapter configuration 4.6.5. Deploying the Secured example application to Minishift or CDK Expand section "4.6.5. Deploying the Secured example application to Minishift or CDK" Collapse section "4.6.5. Deploying the Secured example application to Minishift or CDK" 4.6.5.1. Getting the Fabric8 Launcher tool URL and credentials 4.6.5.2. Creating the Secured example application using Fabric8 Launcher 4.6.5.3. Authenticating the oc CLI client 4.6.5.4. Deploying the Secured example application using the oc CLI client 4.6.6. Deploying the Secured example application to OpenShift Container Platform Expand section "4.6.6. Deploying the Secured example application to OpenShift Container Platform" Collapse section "4.6.6. Deploying the Secured example application to OpenShift Container Platform" 4.6.6.1. Authenticating the oc CLI client 4.6.6.2. Deploying the Secured example application using the oc CLI client 4.6.7. Authenticating to the Secured example application API endpoint Expand section "4.6.7. Authenticating to the Secured example application API endpoint" Collapse section "4.6.7. Authenticating to the Secured example application API endpoint" 4.6.7.1. Getting the Secured example application API endpoint 4.6.7.2. Authenticating HTTP requests using the command line 4.6.7.3. Authenticating HTTP requests using the web interface 4.6.8. Secured SSO resources 4.7. Cache example for Node.js Expand section "4.7. Cache example for Node.js" Collapse section "4.7. Cache example for Node.js" 4.7.1. How caching works and when you need it 4.7.2. Deploying the Cache example application to OpenShift Online Expand section "4.7.2. Deploying the Cache example application to OpenShift Online" Collapse section "4.7.2. Deploying the Cache example application to OpenShift Online" 4.7.2.1. Deploying the example application using developers.redhat.com/launch 4.7.2.2. Authenticating the oc CLI client 4.7.2.3. Deploying the Cache example application using the oc CLI client 4.7.3. Deploying the Cache example application to Minishift or CDK Expand section "4.7.3. Deploying the Cache example application to Minishift or CDK" Collapse section "4.7.3. Deploying the Cache example application to Minishift or CDK" 4.7.3.1. Getting the Fabric8 Launcher tool URL and credentials 4.7.3.2. Deploying the example application using the Fabric8 Launcher tool 4.7.3.3. Authenticating the oc CLI client 4.7.3.4. Deploying the Cache example application using the oc CLI client 4.7.4. Deploying the Cache example application to OpenShift Container Platform 4.7.5. Interacting with the unmodified Cache example application 4.7.6. Caching resources 5. Debugging your Node.js based application Expand section "5. Debugging your Node.js based application" Collapse section "5. Debugging your Node.js based application" 5.1. Remote debugging Expand section "5.1. Remote debugging" Collapse section "5.1. Remote debugging" 5.1.1. Starting your application locally and attaching the native debugger 5.1.2. Starting your application locally and attaching the V8 inspector 5.1.3. Starting your application on OpenShift in debugging mode 5.2. Debug logging Expand section "5.2. Debug logging" Collapse section "5.2. Debug logging" 5.2.1. Add debug logging 5.2.2. Accessing debug logs on localhost 5.2.3. Accessing Node.js debug logs on OpenShift 6. Developing and deploying a Node.js application Expand section "6. Developing and deploying a Node.js application" Collapse section "6. Developing and deploying a Node.js application" 6.1. Developing a Node.js application 6.2. Deploying a Node.js application to Openshift Expand section "6.2. Deploying a Node.js application to Openshift" Collapse section "6.2. Deploying a Node.js application to Openshift" 6.2.1. Preparing Node.js application for OpenShift deployment 6.2.2. Deploying a Node.js application to OpenShift 6.3. Deploying a Node.js application to stand-alone Red Hat Enterprise Linux A. About Nodeshift B. Updating the deployment configuration of an example application C. Configuring a Jenkins freestyle project to deploy your Node.js application with nodeshift D. Breakdown of package.json properties E. Additional Node.js resources F. Application development resources G. The Source-to-Image (S2I) build process H. Proficiency levels I. Glossary Expand section "I. Glossary" Collapse section "I. Glossary" I.1. Product and project names I.2. Terms specific to Developer Launcher Legal Notice Settings Close Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Appendix E. Additional Node.js resources Node.js Home Page npm Home Page Previous Next