https://github.com/threepointone/tug-o-war
Realtime game of tug-o-war with Remix, PartyKit, and MSW.
https://github.com/threepointone/tug-o-war
Last synced: 2 months ago
JSON representation
Realtime game of tug-o-war with Remix, PartyKit, and MSW.
- Host: GitHub
- URL: https://github.com/threepointone/tug-o-war
- Owner: threepointone
- Created: 2024-03-01T14:30:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-01T14:31:26.000Z (over 1 year ago)
- Last Synced: 2025-01-25T08:11:32.235Z (4 months ago)
- Language: TypeScript
- Homepage: https://partymix-tug-o-war.kettanaito.partykit.dev/
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to ๐ PartyKit โคซ Remix ๐ฟ!
This is a starter template for [Remix](https://remix.run) and [PartyKit](https://partykit.io). You can create a new project based on this template with the Remix CLI:
```sh
npx create-remix@latest --template partykit/remix-starter
```- [Remix Docs](https://remix.run/docs)
- [PartyKit Docs](https://docs.partykit.io/)_NB: This is a **beta** release, so expect some rough edges. Please file issues or feedback at https://github.com/partykit/remix-starter!_
## Development
You will be running two processes during development:
- The Remix development server
- The PartyKit serverBoth are started with one command:
```sh
npm run dev
```Open up [http://127.0.0.1:1999](http://127.0.0.1:1999) and you should be ready to go!
If you want to check the production build, you can stop the dev server and run following commands:
```sh
npm run build
npm start
```Then refresh the same URL in your browser (no live reload for production builds).
## Deployment
```sh
npm run deploy
```If you don't already have a PartyKit account, you'll be prompted to create one during the deploy process.
## Thanks
_(This starter based on the original template for [Cloudflare Workers](https://github.com/remix-run/remix/tree/main/templates/cloudflare-workers))_