finds.dev

mosh-hamedani/next-course

View on GitHubHomepage ↗

★ 225TypeScriptupdated Oct 2023

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
225
Forks
115
Language
TypeScript
Last commit
5 Oct 2023

// nearby

If next-course isn't quite it.

All repos →