finds.dev← search

// the find

mosh-hamedani/next-course

★ 225 · TypeScript · updated Oct 2023

Course companion repo for Mosh Hamedani's Next.js 13 course on codewithmosh.com. It covers the App Router basics: routing, Prisma, NextAuth, file uploads, and email. This is reference code for students, not a starter template or production app.

Covers the full surface area a Next.js beginner needs to touch — auth (OAuth + credentials), database via Prisma migrations, file uploads, and transactional email in one place. The App Router structure is clean and follows current conventions, so students aren't learning patterns that will immediately need unlearning. Prisma migrations are committed and sequential, which is the right habit to model. NextAuth is wired through a dedicated authOptions file rather than inlined, a small but good separation.

Last push is October 2023 — NextAuth v5 (Auth.js) has since changed the config API substantially, and the patterns here will diverge from what the current docs show. There's no test coverage at all, which is a real gap for a course that claims to teach best practices. The repo is essentially read-only reference material with no issues or PRs enabled, so students hit a wall when something doesn't work. Error handling in the API routes is minimal — the users route returns raw Prisma errors to the client, which would be a problem in any real app.

View on GitHub → Homepage ↗

// want more like this?

Every week we dig through GitHub and send you a few repos picked for what you're working on, each with an honest take like this one. Free. See a real issue →

// similar repos

Search the finds →