Multiplayer.Astro
Multiplayer experience inspired by Supabase realtime signup preview page (multiplayer.dev) but with the use of Astro SSR and GunJS.
🧞 Commands
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install | Installs dependencies |
npm start | Starts local dev server at localhost:3000 |
npm run build | Build your production site to ./dist/ |
npm run server | Run ssr of built client alongside gunjs peer |
💡 Thoughts
This is an interesting combo of GunJS and mobx to have networked synced reactive components that could have many uses beyond this multiplayer demo.