emoji reactions anywhere! demo
<div data-remoji-id="demo"></div>
<script type="module">
import { remoji } from "https://www.unpkg.com/@jshawl/remoji@latest/remoji.js";
remoji.init();
</script>
remoji.init({
apiUrl: "https://my-emoji-reaction-server.com", // default: https://remoji.jshawl.workers.dev
emojis: ["👍", "👎"], // default: ["👍", "😄", "❤️", "🚀", "👀"]
orgId: "acme corp, inc.", // default: window.location.host
userId: "jesse@jesse.sh", // default: crypto.randomUUID()
});
Start the client:
cd client && npm start
Start the server:
cd server && npm start
Open the development page:
open http://127.0.0.1:8080/examples/development.html