Running the application
In this section, you will learn how to run the sample application.
If you don’t already have Node.js installed on your workstation, go to https://nodejs.org/ for instructions on how to install it.
To run the frontend on Node.js, open a terminal and run the following commands:
$ cd Keycloak---Identity-and-Access-Management-for-Modern-Applications-2nd-Edition/ch2/frontend/
$ npm install
$ npm start
Next, open a new terminal to run the backend using the following commands:
$ cd Keycloak---Identity-and-Access-Management-for-Modern-Applications-2nd-Edition/ch2/backend/
$ npm install
$ npm start
Now that you have the sample application running with Node.js, you can register it with Keycloak, which we will cover in the next section.