Skip to content

Files

expressjs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 13, 2023
Apr 13, 2023
Jul 10, 2023
May 18, 2023
Apr 13, 2023
Mar 3, 2023
Apr 13, 2023
Jan 19, 2023
May 18, 2023
Jan 19, 2023
Apr 14, 2023
Apr 13, 2023
May 18, 2023
May 18, 2023
May 18, 2023

Knative Showcase for JS

This project uses Express.JS framework to showcase the Knative features.

Prerequisites

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

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

npm start

Testing

To run tests, in watch mode, run:

npm test

Packaging and running the application

The application can be build with:

npm run build

and can be packaged as OCI image using:

npm run build:image

Learning

If you want to learn more about Express.JS, please visit its website: https://expressjs.com/.