Go to file
dimitar 9ca66fc753 feat(admin): add admin panel with dashboard, users, and codes management
- Add admin layout with sidebar navigation and session guard
- Create AdminSidebar client component with role-based nav links
- Add dashboard page showing stats (admin count, code counts)
- Add users management page (SuperAdmin only): list, create, delete,
  and reset passwords for admin users
- Add codes management page: list all codes, generate new codes,
  delete unused codes
- Add API routes for admin user CRUD (GET, POST, DELETE, PUT)
- Add API routes for code management (GET, POST, DELETE)
- All UI in Macedonian
2026-07-29 18:56:49 +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(admin): add admin panel with dashboard, users, and codes management 2026-07-29 18:56:49 +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.