Skip to main content

Demo App Overview

Demo Applications

The demo applications show how to integrate LunaSec into a modern web application. The frontend uses React with MaterialUi and the backend server demonstrates both Express and GraphQL.

demo screenshot

As you can see in the top right corner, the app can switch between several modes to test how LunaSec works with different systems.

Try it Live

Check out the live demo application here.

tip

LunaSec is meant to be invisible, but you can see it working by inspecting elements on the page and watching your network requests tab.

Running it

You can start the demo app on your machine easily using our CLI. First make sure you have docker, docker-compose, and node >= v14 installed.

Then install it(and the aws CDK) and run the CLI

npm i -g @lunasec/cli
lunasec start --env demo

Depending on your internet speed, this might take a minute. Once done, the demo app should now be running at http://localhost:3000.

Please see Code Walkthrough for an explanation of how the demo app code is structured.