This series is about making a generic website for a local business with TypeScript, NodeJs, NestJs, Prisma, React and NextJs. I'm trying to make my videos quite short, about 10 minutes each (except for the first one), while putting as much content there as I can. Here is the full playlist.
So first we will add some roles for the users. We'll only need 3 for now: ADMIN, MANAGER and GUEST.
To do that, we'll update our Prisma model and learn how to use guards in NestJs to protect different routes based on current user's role.
Then, I'll try to explain how to publish a web application for everyone to see. I use Dokku for my personal projects and I'll show you how simple it is to set it up and deploy to it.