Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 900 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 900 Bytes

JavaScript PowerSync + MySQL Self Hosted Demo

This demo contains a NodeJS + MySQL backend and React frontend which are linked to a self hosted PowerSync instance.

Backend code can be found here

Running

The .env file contains default configuration for the services. Reference this to connect to any services locally.

This demo can be started by running the following in this demo directory

docker compose up

or in the root directory run

docker compose -f demos/nodejs-mysql/docker-compose.yaml up

The frontend can be accessed at http://localhost:3035 in a browser.

Configuration

See MySQL Configuration for MySQL server configuration. The MySQL server is initialized with the init script.