turbo-expo-nextjs-clerk-convex-monorepo

(β˜… 393)

Monorepo template with Turborepo, Next.js, Expo, Clerk, Convex

  • .gitignore
  • .prettierrc
  • LICENSE
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • README.md
  • renovate.json
  • turbo.json

# Installation Guide

1. Get the code
git clone https://github.com/get-convex/turbo-expo-nextjs-clerk-convex-monorepo

Downloads the entire project code from GitHub to your computer.

cd turbo-expo-nextjs-clerk-convex-monorepo

Moves into the project folder you just downloaded.

2. Node.js

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
pnpm install

Downloads and installs the libraries listed in package.json.

pnpm --filter @packages/backend setup

Type this command into your terminal and run it.

pnpm dev

Starts the development/run server.

cd ../../packages/backend && pnpm exec convex deploy --cmd 'cd ../../apps/web && pnpm build' --cmd-url-env-var-name NEXT_PUBLIC_CONVEX_URL

Moves into the project folder you just downloaded.

pnpm --filter web-app add mypackage@latest

Type this command into your terminal and run it.

βœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

// repository documentation