Jamorham
Nightscout용 xDrip+ 버전
요양원용 구독형 활동 라이브러리, 퍼즐·게임·퀴즈·노래·회상 뉴스레터·소통 보드 제공
A subscription library of ready-to-use engagement activities for care homes: puzzles and games, quizzes, sing-alongs, reminiscence newsletters and talking communication boards, ready to print or play
건강TypeScript · PythonGitHub @Memory-Line온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기A subscription library of ready-to-use engagement activities for care homes: puzzles and games, quizzes, sing-alongs, reminiscence newsletters and talking communication boards, ready to print or play on screen.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A subscription platform for care home activity teams: a library of dementia engagement templates (Reminiscence, Sensory, Music & Movement, Arts & Crafts, Conversation & Games) plus a Professional Services directory, gated behind a monthly Stripe subscription.
This is a real, deployable Next.js app — accounts, login, Stripe Checkout + billing portal, and a Postgres/SQLite-backed database. It does not yet include your actual template PDF files or your final 2,000-item catalog — see "What's stubbed" below.
npm install
cp .env.example .env
Fill in:
DATABASE_URL — leave as the SQLite default for local devNEXTAUTH_SECRET — generate with openssl rand -base64 32STRIPE_SECRET_KEY / NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY — from your
Stripe dashboard (use test keys first)STRIPE_PRICE_STANDARD / STRIPE_PRICE_PREMIUM — create two recurring
monthly Prices in Stripe (Products → Add product → Recurring), one for
Standard (£18) and one for Premium (£28), then paste each Price ID hereSTRIPE_WEBHOOK_SECRET — see step 4 belownpx prisma generate
npx prisma migrate dev --name init
This creates dev.db (SQLite) locally with the User and Download tables.
Subscription status only updates when Stripe sends a webhook. For local dev, use the Stripe CLI:
stripe listen --forward-to localhost:3000/api/stripe/webhook
Copy the whsec_... it prints into STRIPE_WEBHOOK_SECRET in .env.
npm run dev
Visit http://localhost:3000. Sign up → you'll land on /pricing → Stripe
Checkout (use Stripe's test card 4242 4242 4242 4242, any future date/CVC)
→ webhook flips your subscription to active → /dashboard unlocks.
app/page.tsx — public marketing/landing pageapp/signup, app/login — account creation & sign-in (NextAuth credentials)app/pricing — shown to signed-in users without an active subscription;
triggers Stripe Checkoutapp/api/stripe/checkout — creates the Stripe Checkout sessionapp/api/stripe/webhook — Stripe calls this on payment/subscription events;
this is the only place subscription status is written, so it stays in
sync even if a user closes the tab mid-checkoutapp/api/stripe/portal — "Manage subscription" button opens Stripe's
hosted billing portal (update card, cancel, view invoices)middleware.ts + app/dashboard/layout.tsx — require login and an
active/trialing subscription before any /dashboard/* page renderslib/data.ts — the category/template/services content (currently sample
data standing in for your real catalog — see below)lib/data.ts has ~30 sample templates across
5 categories, matching your format. Swap this for your real ~2,000, ideally
loaded from a database table or CMS rather than hardcoded once the catalog
is that large./api/downloads currently just logs a download
event. Wire it up to serve/redirect to your actual PDF files (e.g. signed
URLs from S3, Vercel Blob, or Cloudflare R2) once you have the real assets.DATABASE_URL at Postgres (Vercel Postgres, Supabase, Neon, Railway all
work) and change provider = "sqlite" to provider = "postgresql" in
prisma/schema.prisma.Not tied to a specific host. The straightforward path:
.env variables in your host's environment variable settingsDATABASE_URL at a real Postgres instancehttps://yourdomain.com/api/stripe/webhook, and use the webhook secret
it gives you (this is different from your local Stripe CLI secret)sk_test_...) to live (sk_live_...) once
you're ready to accept real payments