Pascal cfda014760 refactor(auth): simplify authorization checks to use membership only
- Remove explicit ADMIN role checks in API handlers
- Replace combined creator/member role checks with membership-only filters
- Update seed data roles to reflect changed authorization logic
- Add migration to insert hunt creators as members for consistent checks
- Prevent removal of hunt creator as a member with new explicit check
- Adjust related user role updates and queries accordingly
- Upgrade dependencies including nuxt and zod for compatibility
2026-07-30 21:59:36 +02:00
2025-08-21 00:17:01 +02:00
2026-06-29 21:02:24 +02:00
2025-09-14 18:46:23 +02:00
2025-09-15 00:13:57 +02:00
2025-08-01 01:14:34 +02:00
2025-09-14 18:46:23 +02:00
2025-08-02 01:18:37 +02:00
2025-09-14 18:46:23 +02:00
2025-07-31 21:31:11 +02:00
2025-07-31 21:31:11 +02:00
2025-07-31 21:31:11 +02:00
2025-08-05 23:30:13 +02:00
2025-09-15 00:13:57 +02:00
2025-08-20 23:41:14 +02:00
2025-08-02 01:18:37 +02:00
2025-10-06 12:19:07 +02:00
2025-08-05 22:41:00 +02:00
2025-09-15 16:08:53 +02:00
2025-07-31 21:31:11 +02:00

PicHunt

Create Quests and let others solve them by taking pictures!

Look at the Nuxt documentation to learn more.

Infra

This project depends on a PostgreSQL database and a S3-compliant storage bucket, that has public read enabled. Redis is not (yet) used, but may be used in the future for caching and/or synchronizing event streams for notifications.

Setup

Please use Jetbrains WebStorm and install the latest version of Bun.

Dev environment

First copy the example .env file and change the settings to your liking:

cp .env.example .env

Now start the necessary services using docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d or bun run dev:up.

Wait for a few seconds and then migrate the database:

bun install
bunx prisma migrate deploy

Now you can start the web dev server:

bun run dev

The development server listens on http://localhost:3080:

Production

Build the application for production:

# bun
bun run build -- --preset bun

Locally preview production build:

# bun
bun run preview

Check out the deployment documentation for more information.

S
Description
Create Quests and let others solve them by taking pictures!
https://pichunt.syma.dev/
Readme
2.7 MiB
Languages
Vue 51.4%
TypeScript 47.9%
JavaScript 0.4%
Dockerfile 0.3%