Go to file
dimitar 94ef7901e2 feat(code-gating): add code validation and enforce code usage for memorial creation
- Add /api/validate-code endpoint: validates code, marks it as used by
  the current Clerk user, prevents reuse
- Add 'Код' step to onboarding wizard (step 0): user must enter and
  validate a code before proceeding to fill memorial details
- Protect /api/publish: reject with 403 if user has not consumed a valid
  code
- Code input auto-capitalizes on the onboarding page
2026-07-29 18:58:18 +02:00
docs claudflare wildcard ssl migration docs 2026-06-23 00:54:08 +02:00
nginx/conf.d init 2026-06-20 18:17:30 +02:00
prisma feat(db): add AdminUser and Code models with migration 2026-07-29 18:54:40 +02:00
public init 2026-06-20 18:17:30 +02:00
scripts local dev setup 2026-07-29 16:52:54 +02:00
src feat(code-gating): add code validation and enforce code usage for memorial creation 2026-07-29 18:58:18 +02:00
.env.example init 2026-06-20 18:17:30 +02:00
.gitignore init 2026-06-20 18:17:30 +02:00
coolify.md template refinement 2026-06-20 19:28:05 +02:00
db.md deploy fix 2026-06-22 03:53:47 +02:00
deploy.md init 2026-06-20 18:17:30 +02:00
description.md init 2026-06-20 18:17:30 +02:00
docker-compose.dev.yaml local dev setup 2026-07-29 16:52:54 +02:00
docker-compose.yaml t v3 2026-06-22 23:28:41 +02:00
Dockerfile prisma fix 2026-06-22 05:14:47 +02:00
Dockerfile.dev local dev setup 2026-07-29 16:52:54 +02:00
eslint.config.mjs init 2026-06-20 18:17:30 +02:00
local.md init 2026-06-20 18:17:30 +02:00
next.config.ts init 2026-06-20 18:17:30 +02:00
package-lock.json feat(db): add AdminUser and Code models with migration 2026-07-29 18:54:40 +02:00
package.json feat(db): add AdminUser and Code models with migration 2026-07-29 18:54:40 +02:00
postcss.config.mjs init 2026-06-20 18:17:30 +02:00
README.md init 2026-06-20 18:17:30 +02:00
test.md yaml 2026-06-22 04:30:02 +02:00
tsconfig.json init 2026-06-20 18:17:30 +02:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.