Skip to content

Simple example of how to use clerk to authorize a react app, and a tRPC API

Notifications You must be signed in to change notification settings

Carson-JG/clerk-react-trpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clerk-react-trpc

About

Quick POC for Clerk-React-tRPC integration. It's got a client and server. Client's built with Create React App. Server's an Express app. Client and server both use Clerk for auth. tRPC glues them together.

Structure

  • client/: React app
  • server/: Express app

Pre-reqs

  • Node 14+
  • npm

Setup

  1. Clone this repo

  2. Client Setup & Run

    1. cd client
    2. npm install
    3. npm start
  3. Server Setup & Run

    1. cd server
    2. npm install
    3. npm run dev

Features

  • Google Login
  • tRPC Call with Clerk Auth

About

Simple example of how to use clerk to authorize a react app, and a tRPC API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published