trpc-crdt
tRPC integrations for CRDTs: CRDT-native RPC calls
File Explorer
Download Latest Version (.zip)- config.json
- README.md
- utils.ts
- button.tsx
- form.tsx
- input.tsx
- label.tsx
- switch.tsx
- table.tsx
- _index.tsx
- context.tsx
- globals.css
- root.tsx
- trpc.ts
- postgres.conf
- .envrc
- docker-compose.yaml
- check-electric-is-running.js
- util.js
- 001-create-trpc-calls.sql
- 002-create-users-table.sql
- connect.js
- migrate.js
- util.js
- index.js
- trpc.ts
- index.ts
- migrations.ts
- util.js
- .gitignore
- auth.ts
- builder.js
- CHANGELOG.md
- check-electric-is-running.js
- components.json
- copy-wasm-files.js
- package.json
- postcss.config.js
- README.md
- remix.config.js
- remix.env.d.ts
- tailwind.config.js
- tsconfig.json
- utils.ts
- button.tsx
- form.tsx
- input.tsx
- label.tsx
- switch.tsx
- table.tsx
- _index.tsx
- context.tsx
- globals.css
- root.tsx
- use-yjs-data.ts
- index.js
- trpc.ts
- .eslintrc.js
- CHANGELOG.md
- components.json
- Dockerfile
- fly.toml
- package.json
- postcss.config.js
- README.md
- remix.config.js
- remix.env.d.ts
- tailwind.config.js
- tsconfig.json
- postgres.conf
- .envrc
- docker-compose.yaml
- check-electric-is-running.js
- util.js
- 001-create-trpc-calls.sql
- 002-create-users-table.sql
- connect.js
- migrate.js
- util.js
- index.ts
- migrations.ts
- adapter.ts
- link.ts
- util.js
- adapter.d.ts
- auth.ts
- builder.js
- CHANGELOG.md
- check-electric-is-running.js
- index.test.ts
- link.d.ts
- package.json
- pnpm-lock.yaml
- README.md
- tsconfig.json
- index.test.ts.snap
- adapter.ts
- link.ts
- adapter.d.ts
- CHANGELOG.md
- index.test.ts
- link.d.ts
- package.json
- pnpm-lock.yaml
- README.md
- tsconfig.json
- .dockerignore
- .eslintrc.js
- .gitignore
- .prettierrc
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/KyleAMathews/trpc-crdt
Downloads the entire project code from GitHub to your computer.
cd trpc-crdt
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker compose -f packages/electric-sql/backend/compose/docker-compose.yaml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
