Lab 06 - Create a NodeJS application
Duration 15 min
What you will learn
Run a custom NodeJS application that interacts with the Domino Rest API
Prerequisites
- Lab 05 completed
- Domino running
- NodeJS installed
- Internet connection
Steps
-
Download and unzip the apps-src.zip from the
source for all apps
in a folder. Theapps-src.zip
contains 3 independent folder. In this activity will going to use theDominoOAuth
folder. -
Open your IDE (vs code, etc)
- Open the folder
src
→DominoOAuth
. - From the
DominoOAuth
folder,inside your IDE, selectpackage.json
- Edit the
package.json
. -
Edit the
setup.json
and add the values from Lab05-Create Application and also add values from the Lab-04-Scope.Note
As a user, you must know what are the needed fields to be modified to run the
setup.json
. -
On your Terminal in your IDE, run
npm install
- Run
npm start
. You must start your browser to check.
How to check
- navigate to http://localhost:3000 - UI should show
- retrieve data
Things to explore
-
Check out the source code.