Skip to content

Latest commit

 

History

History

vanilla

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Y-Sweet VanillaJS Demo

This demo shows how you can use Y-Sweet with a VanillaJS project.

This demo requires a connection string for a running Y-Sweet server. You can get one by creating a Y-Sweet service and generating a connection string at app.jamsocket.com, or by running the y-sweet server yourself.

How to run this demo

  1. npm install
  2. npm run dev
  3. In another terminal, CONNECTION_STRING=<your-connection-string> npm run server
  4. Open http://localhost:3000 in your browser.