This web app provides a simple, drag-n-drop interface to control SBrick bluetooth controller for Lego in NodeJS.
This project creates a drag-n-drop web user interface for the RESTful client of SBrick Drive, an library that simplifies the integration with SBrick (Bluetooth controller for Lego).
npm run start
starts the webapp.npm run start-stub-server
starts a stub server to simulate a running instance of the RESTful server of SBrick Drive.
The @types/react-beautiful-dnd">Typescript type definition for react-beautiful-dnd wasn’t up-to-date with react-beautiful-dnd (6.0.0) at the time of writing.
I manually copied up-to-date type definition file from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-beautiful-dnd/index.d.ts to node_modules/@types/react-beautiful-dnd/index.d.ts.
Also needed to add:
export type DraggableStyle = DraggingStyle | NotDraggingStyle;
ISC
Drop me a line at samli@samuelli.net