尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證All my video memes in one place (TanStack Start, Better Auth, Prisma, Shadcn UI ...)
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Meme management and sharing platform with video support, premium subscriptions, and a TikTok-style reels experience. Built as a full-stack React 19 application with server-side rendering.
Available in French and English.檢視完整 README ↗Meme management and sharing platform with video support, premium subscriptions, and a TikTok-style reels experience. Built as a full-stack React 19 application with server-side rendering.
Available in French and English.
| Category | Technology |
|---|---|
| Framework | TanStack Start (React 19, SSR, Nitro) |
| Routing | TanStack Router (file-based) |
| Data Fetching | TanStack Query |
| Forms | TanStack Form |
| Database | Prisma ORM + PostgreSQL |
| Auth | Better Auth |
| Payments | Stripe |
| Video | Bunny CDN + HLS.js |
| Search | Algolia |
| Resend + React Email | |
| Styling | Tailwind CSS 4 + shadcn/ui |
| Validation | Zod |
| State | Zustand |
| Analytics | Algolia Analytics |
| Service | Purpose |
|---|---|
| Vercel | Hosting (serverless, auto-deploy from main) |
| Neon | PostgreSQL database |
| Bunny CDN | Video storage and HLS delivery |
| Stripe | Payment processing and subscriptions |
| Algolia | Search indexing |
| Resend | Transactional emails |
| Algolia | Search and analytics |
git clone https://github.com/viclafouch/petit-meme
cd petit-meme
pnpm install
Copy the example file and fill in your values:
cp .env.example .env.development
Push the schema to your database:
pnpm exec prisma migrate dev
pnpm run dev
Prisma Migrate is used to manage schema changes safely across environments.
After modifying prisma/schema.prisma:
pnpm exec prisma migrate dev --name descriptive_name
This creates a migration file, applies it to the local database, and regenerates the Prisma Client.
Vercel auto-deploys on push to main. After a deploy that includes new migrations:
pnpm run prisma:migrate:prod
This uses .env.production (pulled via vercel env pull --environment=production .env.production, the flag is required or the CLI pulls the development scope) which contains the production DATABASE_URL. It applies only pending migrations and is safe and idempotent.
@default() valueprisma db push on productionStripe webhooks handle subscription lifecycle events (creation, renewal, cancellation).
Use the Stripe CLI to forward events to your local server:
stripe listen --forward-to localhost:3000/api/auth/stripe/webhook
The CLI outputs a webhook signing secret (whsec_...). Add it to your .env.development as STRIPE_WEBHOOK_SECRET.
https://yourdomain.com/api/auth/stripe/webhook| Command | Description |
|---|---|
pnpm run dev | Start development server |
pnpm run build | Build for production |
pnpm start | Start production server |
pnpm run check | Typecheck, lint, Knip, unit tests and format check, cached by Turbo |
pnpm run typecheck | TypeScript check |
pnpm run lint | oxlint |
pnpm run lint:fix | Auto-fix lint issues |
pnpm run knip | Find unused files, exports and dependencies |
pnpm run prisma:migrate:dev | Apply pending migrations (via .env.development) |
pnpm run prisma:migrate:prod | Apply pending migrations (via .env.production) |
pnpm run prisma:seed:dev | Seed database (via .env.development) |
pnpm run email:dev | Preview email templates on port 3001 |
src/
├── routes/ # Pages (TanStack Router file-based routing)
├── server/ # Server functions (auth, memes, admin, payments)
├── components/ # React components organized by domain
├── lib/ # Library integrations (auth, algolia, stripe, bunny)
├── constants/ # App constants, types, and env validation
├── helpers/ # Pure utility functions
├── utils/ # Business logic utilities
├── hooks/ # Custom React hooks
├── stores/ # Zustand stores
├── db/ # Prisma client and generated types
└── i18n/ # Internationalization
prisma/ # Schema and migrations
emails/ # React Email templates
crons/ # Scheduled jobs (Algolia sync, Bunny updates)
The app is deployed on Vercel with automatic deploys from the main branch.
Vercel automatically installs dependencies, builds the app, and deploys serverless functions. Database migrations must be applied separately after each deploy that includes schema changes.
Private - All rights reserved