Skip to content

About

No description, website, or topics provided.

Resources

Stars

29 stars

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

tRPC SIWE Monorepo

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

tRPC & Sign-In With Ethereum w/ Monorepos

Preview

tRPC SIWE App Preview

Requirements

  • NVM or node v18.12.1
  • pnpm v7.15.0

Setup

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.

About

No description, website, or topics provided.

Resources

Stars

29 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages