## Client Side

A frontend-only app that lets users Sign in with Farcaster and shows them their profile picture and username.

### Farcaster AuthKit + Vite Demo

This example app shows how to use [Farcaster AuthKit](https://docs.farcaster.xyz/auth-kit/introduction) and [Vite](https://vitejs.dev/).

Click the "Sign in with Farcaster" button above, then scan the QR code to sign in.

## Run this demo:

```
git clone https://github.com/farcasterxyz/auth-monorepo.git &&
cd auth-monorepo/examples/frontend-only &&
yarn install &&
yarn dev
```

[Try Demo](https://farcaster-auth-kit-vite-demo.replit.app/) | [View Source](https://github.com/farcasterxyz/connect-monorepo/tree/main/examples/frontend-only)

## Server Side

A Next.js app that lets users Sign in with Farcaster and handles sessions server-side.

[Try Demo](https://farcaster-auth-kit-next-auth-demo.replit.app/) | [View Source](https://github.com/farcasterxyz/connect-monorepo/tree/main/examples/with-next-auth)

### Related topics

- [Specification](https://docs.neynar.com/miniapps/specification)
- [Verify Webhooks with HMAC Signatures](https://docs.neynar.com/docs/how-to-verify-the-incoming-webhooks-using-signatures)
- [Example Apps](https://docs.neynar.com/external-link-4)
- [Generate a chronological feed for a user](https://docs.neynar.com/farcaster/developers/guides/apps/feed)
- [Deploy a Token with 1 API Call](https://docs.neynar.com/docs/deploy-token-on-base-with-api-call)
