Next.js Admin Portal Upgrade

Job ID: 39901049

Budget: $30 – $250 USD

I already have a running Next.js application backed by PostgreSQL and a set of dashboards in place. Now I need to extend it with a small but solid admin section and tighten the analytics flow.

Scope
• Build a basic /admin portal.
• Implement email-and-password login (NextAuth or similar is fine).
• Inside the portal, add:
– User creation, editing, disabling and deletion
– Role-based access control (at minimum : admin vs. viewer)
– A simple audit log that records who did what and when

Dashboards
My current dashboards work, but they need to respect the new roles and, where helpful, surface role-filtered metrics. If you can slot in an extra chart or KPI tile while you are there, great—but keep the first pass lean so we stay within scope.

Tech notes
• Next.js (latest) front-end, Prisma already wired to PostgreSQL.
• GitHub repo access will be provided; please branch, commit clearly and open a PR for review.
• Vercel is our preferred preview environment—deploy previews should work end-to-end before hand-off.

Deliverables
1. Updated codebase with the admin portal and role checks merged to main.
2. SQL migration scripts for any new tables (roles, audit log, etc.).
3. A concise README explaining local setup, env vars and how to promote the migration.

I value clean, readable code and prompt communication. If this initial slice goes smoothly, there’s more dashboard work waiting.
Related categories: JavaScript PostgreSQL GitHub API Development Next.js