This is a project that demonstrates using Sign-In With Ethereum with tRPC using a monorepo setup with lerna.
Here is the entire YouTube walkthrough:
tRPC & Sign-In With Ethereum w/ Monorepos
- NVM or node v18.12.1
- pnpm v7.15.0
Environment variables need to be setup.
# From ./ (root directory)
# React Frontend
cp ./packages/react/.env.local.example ./packages/react/.env.local;
# tRPC Backend
cp ./packages/trpc/.env.example ./packages/trpc/.env;Install & start entire application:
pnpm install;
pnpm run dev;
# Expected Output:
# [nodemon] 2.0.20
# [nodemon] to restart at any time, enter `rs`
# [nodemon] watching path(s): *.*
# [nodemon] watching extensions: ts,json
# [nodemon] starting `ts-node --files src/server.ts`
# VITE v3.2.4 ready in 307 ms
# ➜ Local: http://localhost:5173/
# ➜ Network: use --host to expose
# Listening on port 5001.
