Provide an API for the luminave frontend and everything that wants to use luminave
- Clone this repository
- Install the dev dependencies by executing
npm install
inside the repository - Start the server with
npm start
If you want to change the host
& port
of the luminave-server, you have to create a .env
file inside the luminave-server folder.
HOST=localhost
PORT=4000
- Start luminave-server with
npm start
- Start Thorium server with
npm start
- Start luminave-thorium with
npm start
- Create a flight in Thorium at http://localhost:3000
- Add the luminave-thorium as a client to the created flight
- This is only possible because luminave-thorium has the word
ECS
in it's Thorium-clientId (which is the default inluminave-thorium/src/constans/index.js
))
- This is only possible because luminave-thorium has the word
- In the Thorium interface: Go to Core
- On the left you can find a radar, the light controls are directly underneath
- Change a color an see it also changed in luminave in an auto-generated animation
- In the luminave interface: Open the navigation on the right
- Find the
luminave-server
headline - Set the URL using the
host
&port
configured for the luminave-server (default isws://localhost:4000/graphql
) - Click on the connect button
- The icon besides the URL input should show a ❤️ emoji, if not then it will display an error message
- More detailed error message will be visible in the dev console of the browser
- Find the