https://github.com/clerk/clerk-react-demo
Example starter repo for Clerk and React
https://github.com/clerk/clerk-react-demo
authentication clerk react
Last synced: 11 months ago
JSON representation
Example starter repo for Clerk and React
- Host: GitHub
- URL: https://github.com/clerk/clerk-react-demo
- Owner: clerk
- Created: 2021-11-29T11:51:18.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T22:35:00.000Z (over 1 year ago)
- Last Synced: 2024-08-01T02:18:09.660Z (over 1 year ago)
- Topics: authentication, clerk, react
- Language: TypeScript
- Homepage:
- Size: 1.14 MB
- Stars: 26
- Watchers: 1
- Forks: 16
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clerk + React Starter
This repository shows how to use [Clerk](https://clerk.dev?utm_source=github&utm_medium=starter_repos&utm_campaign=react_starter) with React.
## Running the starter locally
1. Sign up for a Clerk account at https://clerk.dev
2. Fork and/or clone this repository
3. Install dependencies: `npm install`
4. Add your "Publishable Key" (found on [API Keys](https://dashboard.clerk.dev/last-active?path=/api-keys)) to a file called `.env.local`:
```sh
echo "VITE_CLERK_PUBLISHABLE_KEY=CLERK_PUBLISHABLE_KEY" >> .env.local
```
5. Run the app: `npm run dev`
## Contact
If you need support or have anything you would like to ask, please reach out in our [Discord channel](https://discord.com/invite/b5rXHjAg7A). We'd love to chat!