Feel free to fork this template to build your own multiplayer web-game.
This is a demonstration of the new
@colyseus/auth
package. (See documentation)
Backend
colyseus
→ Multiplayer Framework@colyseus/auth
→ Authentication (Email/Password, OAuth, Anonymous)- "Forgot password" emails are sent using Resend (See source-code)
@colyseus/database
→ (Experimental) Kysely-powered database module
See the authentication configuration: packages/backend/src/config/auth.ts
Frontend
react
→ UI libraryreact-router-dom
→ Navigationtailwindcss
→ CSS Frameworkvite
→ Build tool
Contributions for additions and improvements on this template are very welcome!
- The environment secrets are defined at
packages/backend/.env.development
- The
@colyseus/auth
callbacks are defined atpackages/backend/src/config/auth.ts
MIT