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. - Open your IDE (vs code, etc)
- Open the folder
src
. - Inside the folder, open the
DominoOAuth
folder in your IDE. - Edit the
package.json
- on the scripts type in the"start": "node app.js"
-
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 you must know what are the needed fields to be modify in order 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
- Official Domino REST API documentation
- Discord discussion
- Check out the source code.
Last update:
November 25, 2023