This my recreation of r/Place but it has virtually unlimited slots.
DB: Redis on localhost port 32770 (Docker Hub: redis/redis-stack-server) Server: Just a websocket server
- Host a local redis stack docker container on port 32770
- Then install dependencies using the command
bun i
in the foldersserver/
and/
- Change the
backendUrl
varible insrc/routes/+page.svelte
tolocalhost:3000
to develop using your DB & server, if you are planning on using the main DB and server you can also ignore steps 1 and 5 (You wont be able to change server-side stuff) - In a terminal (inside the project's root) run
bun dev --open
- Then in another terminal at the
/server
directory runbun run index.ts