Skip to content

Latest commit

 

History

History
 
 

client

moshi-client

Frontend for the demo.

Run the client

  • Node is required, I recommend using NVM to help you manage your node version and make sure you're on the recommended version for this project. If you do so run nvm use.
  • Generate a public/private key pair, cert.pem and key.pem and copy it to the at the root of this package
  • Create an env.local file and add your an entry for VITE_QUEUE_API_PATH (default should be /api)
  • Before running the project for the time or after dependencies update use npm install
  • To run the project use npm run dev
  • To build the project use npm run build

Skipping the queue

To skip the queue for standalone use, once the project is running go to /?worker_addr={WORKER_ADDR} where WORKER_ADDR is your worker instance address. For example : https://localhost:5173/?worker_addr=0.0.0.0:8088

License

The present code is provided under the MIT license.