Lab 07 - Create an SPA
What you will learn
How to create a browser-based Single Page Application (SPA) using just three files.
Before you begin
- You have completed Lab 06 - Create a NodeJS application.
- Your Domino server must be running.
- You have internet connection.
Procedure
- On your Domino server, create a new directory
[notesdata]/keepweb.d/approvalspa
. - Download SPA-source.zip
- Extract the contents of
SPA-source.zip
into theapprovalspa
folder. - Reload the Domino REST API landing page.
How to verify
- The aplication should work.
- The application shows up on the Domino REST API landing page.
Things to explore
-
Create a new directory in
keepweb.d
. Create amanifest.json
file, place it in the new directory inkeepweb.d
, and then check out the Domino REST API landing page. - Check the app source code. There are only 5 files.
Next step
Proceed to Lab 08 - Create a Java application.