# Fishcity

Admin web app for Fish City, a fishing trip-report product. Reporters create trip reports with a list of fish and photos, admins review them as accepted, pending or rejected, and team members are invited by email with a role. What a user sees depends on the role, and a reporter sees only their own reports.

- **Facts:** 2025, Built for a client, Completed, role: Sole developer
- **What I did:** I built the admin web app alone.
- **Scope:** fullstack
- **Domain:** lifestyle
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Supabase, TanStack Table, Zod, React Hook Form, next-safe-action, Radix UI, Supabase Auth, T3 Env, nuqs, React Compiler, dotenvx, ESLint, Prettier, GitHub Actions, pnpm, date-fns, shadcn/ui, Docker
- **Page:** https://sergey-petrinich.vercel.app/work/fishcity

Capabilities:

- Reports table with status tabs, search, sorting, paging, column visibility and created and updated date ranges
- Report detail with trip data, a star rating of conditions, a fish table and pictures
- Create and edit form with a dynamic list of fish, a photo per fish and up to 3 trip pictures, sent as one multipart request
- Status change and delete from the row menu, for owners and admins
- Invite by email with the role Admin or Reporter, resend, role change and delete, with Active, Invited and Deleted tabs
- Preset city, boat, landing, trip length and booking link per reporter, locked in the report form
- One permission table of role by resource by action for routes, menu and server actions
- Reporters limited to their own reports
- Passwordless, invite-only sign-in by email link
- Generic data table that keeps its state in the URL, with the same parsers on the server
- Server actions with Zod-parsed input and API responses, and light and dark themes

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
