Making the most boring website ever with TypeScript, NestJs, React and others. Part 9.

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 ther…


This content originally appeared on DEV Community and was authored by NordicBeaver

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.

In this episode:

User Roles

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.

Deployment to Dokku

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.

Since the project is now officially online (even though very unfinished), here are the links: Website, Admin Panel (you can use guest/guest to login)


This content originally appeared on DEV Community and was authored by NordicBeaver


Print Share Comment Cite Upload Translate Updates
APA

NordicBeaver | Sciencx (2021-12-02T12:47:55+00:00) Making the most boring website ever with TypeScript, NestJs, React and others. Part 9.. Retrieved from https://www.scien.cx/2021/12/02/making-the-most-boring-website-ever-with-typescript-nestjs-react-and-others-part-9/

MLA
" » Making the most boring website ever with TypeScript, NestJs, React and others. Part 9.." NordicBeaver | Sciencx - Thursday December 2, 2021, https://www.scien.cx/2021/12/02/making-the-most-boring-website-ever-with-typescript-nestjs-react-and-others-part-9/
HARVARD
NordicBeaver | Sciencx Thursday December 2, 2021 » Making the most boring website ever with TypeScript, NestJs, React and others. Part 9.., viewed ,<https://www.scien.cx/2021/12/02/making-the-most-boring-website-ever-with-typescript-nestjs-react-and-others-part-9/>
VANCOUVER
NordicBeaver | Sciencx - » Making the most boring website ever with TypeScript, NestJs, React and others. Part 9.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/12/02/making-the-most-boring-website-ever-with-typescript-nestjs-react-and-others-part-9/
CHICAGO
" » Making the most boring website ever with TypeScript, NestJs, React and others. Part 9.." NordicBeaver | Sciencx - Accessed . https://www.scien.cx/2021/12/02/making-the-most-boring-website-ever-with-typescript-nestjs-react-and-others-part-9/
IEEE
" » Making the most boring website ever with TypeScript, NestJs, React and others. Part 9.." NordicBeaver | Sciencx [Online]. Available: https://www.scien.cx/2021/12/02/making-the-most-boring-website-ever-with-typescript-nestjs-react-and-others-part-9/. [Accessed: ]
rf:citation
» Making the most boring website ever with TypeScript, NestJs, React and others. Part 9. | NordicBeaver | Sciencx | https://www.scien.cx/2021/12/02/making-the-most-boring-website-ever-with-typescript-nestjs-react-and-others-part-9/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.