This project uses Express.JS framework to showcase the Knative features.
This application requires the React frontend application webjar to be built and deployed to a local maven repository. To do it, run the following command from the root of the project:
make frontend
Also, as for every npm module you should install deps, before starting or testing the app:
npm install
You can run your application in dev mode that enables live coding using:
npm start
To run tests, in watch mode, run:
npm test
The application can be build with:
npm run build
and can be packaged as OCI image using:
npm run build:image
If you want to learn more about Express.JS, please visit its website: https://expressjs.com/.