Go to file
dimitar 14d0b533af feat(auth): add admin authentication with HMAC session cookies
- Create admin-session lib with sign/verify helpers using HMAC-SHA256
- Add admin login API that checks hardcoded super/admin credentials
  and DB-stored admin users with bcrypt password comparison
- Add admin logout API to clear session cookie
- Add change-password API for admin self-service password changes
- Create admin login page with Macedonian UI
- Update middleware to protect /admin/* and /api/admin/* routes
  with admin session check, bypassing Clerk auth
2026-07-29 18:55:46 +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(auth): add admin authentication with HMAC session cookies 2026-07-29 18:55:46 +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.