This is the SSE server which connects to the Crownstone Cloud via websocket (socket.io).
Users can connect to this service with an accessToken query parameter.
To install, run:
yarn
then
npm start
The shared secret is stored in an environmental variable called:
CROWNSTONE_CLOUD_SSE_TOKEN
The socket.io URL is stored in an environmental variable called:
CROWNSTONE_CLOUD_SOCKET_ENDPOINT
License
Open-source license
This software is provided under a noncontagious open-source license towards the open-source community. It's available under three open-source licenses:
- License: LGPL v3+, Apache, MIT
Commercial license
This software can also be provided under a commercial license. If you are not an open-source developer or are not planning to release adaptations to the code under one or multiple of the mentioned licenses, contact us to obtain a commercial license.
- License: Crownstone commercial license
Contact
For any question contact us at https://crownstone.rocks/contact/ or on our discord server through https://crownstone.rocks/forum/.