Here is a simple way to JOI-fully protect your API from bad data! (Or ensure some good data)
Command(s) used:
npm install joi (It comes with it's own type definitions)
nodemon
Joi Docs: https://joi.dev/api/?v=17.5.0
Github: https://github.com/joeythelantern/Typ...
Video Info
Music by Tesko / prod. THXMOS:
/ @prod.thxmos6970
Support
Like this video? You can show your support by buying me a coffee ☕❤️: https://www.buymeacoffee.com/nerdycanuck
Socials
Github: https://github.com/joeythelantern
Twitter: / thenerdycanuck
About The Channel
The knowledge that I share here is mostly from my personal experiences. I wouldn't say I'm a 20 year professional, rather I am just a DevOps / Software Engineer with a lot of experience who enjoys teaching what I know in my spare time. I believe that sharing some of my basic knowledge on this platform can help others get started. There are many ways to program something and the videos you see here are my take on the NodeJS / Typescript / and sometimes Unity world. If this channel helps you learn, or helps you think differently then my job is done 😊.
#express #typescript #joi
Смотрите видео RESTful API data Validation #1 - Joi [2022] онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Nerdy Canuck 16 Январь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,15 раз и оно понравилось 6 людям.