Skip to content

Example of reactive data using mysql-live-select with Express, SockJS, and React

Notifications You must be signed in to change notification settings

numtel/reactive-mysql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactive MySQL example application

A reactive scoreboard built using the following Javascript components:

Click on a player to select and then click on the arrow to increment their score.

Demo action GIF

Insert, increment and delete operations are latency-compensated.

Installation

Installation requires configuring a MySQL server to output a binary log. See the mysql-live-select Readme for more information.

$ git clone https://github.com/numtel/reactive-mysql-example.git
$ cd reactive-mysql-example
$ npm install
# Update MySQL configuration
$ vim settings.js
# Add example data to MySQL server
$ mysql < example.sql
# Start server on port 5000
$ node index.js

License

Unlicense

About

Example of reactive data using mysql-live-select with Express, SockJS, and React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published