dolearning (Kevin Cunningham)
dolearning (Kevin Cunningham)
  • 40
  • 22 471
Secure Your API: Role Based Access Control with JWTs
In this short video, we’re building on our JWT plugin from the last session to add Role-Based Access Control (RBAC) to our Node.js application. We’ll walk through the process of extending our JWT authentication to allow fine-grained access based on user roles, using Fastify in a CommonJS setup. You’ll learn how to secure routes based on user roles, ensuring only authorized users have access to critical endpoints. Whether you’re building a simple API or a complex application, adding RBAC will elevate your security. Watch now to strengthen your authentication strategy with RBAC!
มุมมอง: 108

วีดีโอ

4 Architectural Fundamentals Developers Can’t Ignore
มุมมอง 75หลายเดือนก่อน
Are you a developer who’s ever wondered how architecture really impacts your code? In this video, we’ll explore the 4 key aspects of software architecture that every developer should understand to write better, more scalable, and maintainable code. Here’s what we’ll cover: - Architectural Characteristics - The hidden qualities of a system that impact everything from performance to scalability. ...
Master Fastify Auth: Protect with JWTs
มุมมอง 4683 หลายเดือนก่อน
In this video, we talk about the various auth strategies we've explored - x-api-key and username/password - and how JWTs differ. We then dive into implementing JWTs and using them to protect our routes. All the code can be found in the accompanying repo - github.com/doingandlearning/building-an-api
Vue Forms #1: Building Forms without Libraries
มุมมอง 1687 หลายเดือนก่อน
Welcome to the first video in a small series on mastering forms in Vue! 🚀 In this episode, we dive into the fundamentals of building forms in Vue.js, but with a twist - we're doing it without any external libraries. Whether you're a beginner or a seasoned Vue developer, this video is your step-by-step guide to understanding the essentials of form handling in Vue, purely with native Vue techniqu...
Discover Your Perfect Api Client: Which One Is Right For You?
มุมมอง 18010 หลายเดือนก่อน
I hate how API testing tools gradually add more and more features. Postman got bloated, so I moved to Insomnia which then felt the need to get all/most of the Postman features. In this video, I tried out the following: - Just using the browser - Using a VS Code plugin: marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client - Bruno: usebruno.com - Firecamp: firecamp.dev - Hopps...
I built an AI Powered Google Extension in 15 minutes (so you don't have to)
มุมมอง 85ปีที่แล้ว
Ever wondered how to make a Google extension? Join me, Kevin, as I build "Super Summarizer", a Chrome extension that taps into the power of Chat GPT to condense web pages into three main points with a readability score. Get hands-on insights into creating files, setting up permissions, working with APIs, and much more! 🔗 Grab the code here: github.com/doingandlearning/super-summarizer-extension...
Modules in Node: CommonJS and ESM
มุมมอง 1Kปีที่แล้ว
NodeJS has two ways to be able to import and export modules - by default Node executes in CommonJS but with one line in the package.json you can execute in ESM. Working in ESM allows us to use the same syntax on the frontend as the backend.
🤖 Robots Don't Get Bored: AUTOMATE Tasks Endlessly with JavaScript ⚙️
มุมมอง 474ปีที่แล้ว
In a world where efficiency is king, learn how to harness the power of JavaScript to make your digital bots work tirelessly for you. Discover the potent capabilities of While True loops and setInterval for running tasks indefinitely, coupled with the precision of Node-Cron for scheduling at regular intervals
Unlocking the Power of Email Automation with Node.js
มุมมอง 360ปีที่แล้ว
In this tutorial video, we will take a deep dive into how you can leverage the power of the NodeMailer package to send emails in Node.js. From installation to sending your first basic email, to targeting multiple recipients and even adding attachments and images - this tutorial has got you covered! 🔵 What You Will Learn 🔵 1️⃣ How to install the NodeMailer package in your Node.js project. 2️⃣ Se...
Web Data Extraction Techniques: Node.js and Puppeteer in Focus
มุมมอง 127ปีที่แล้ว
Interested in web scraping? This video tutorial introduces you to the art of data extraction from JavaScript-structured websites using Node.js and Puppeteer. Beyond extraction, you'll also learn how to effectively store and utilize this data within your file system.
Dive into the Data Pool: Web Scraping with Node.js and Cheerio like a Pro!
มุมมอง 404ปีที่แล้ว
In this in-depth tutorial, we delve into the exciting world of web scraping using Node.js, leveraging the power of the Cheerio library. With the unique advantage of using only a single external library, we guide you through the journey of fetching, parsing, and persisting data from the web. The video covers scraping individual items, handling pagination, and scraping multiple items of a specifi...
Securing API Routes: Basic Authentication Explained
มุมมอง 984ปีที่แล้ว
Securing API Routes: Basic Authentication Explained
Master Fastify Authorization: Protect Your API Routes
มุมมอง 9Kปีที่แล้ว
Master Fastify Authorization: Protect Your API Routes
Building a CRUD API with Fastify and MongoDB: Part 2 - Handling Related Data
มุมมอง 1.1Kปีที่แล้ว
Building a CRUD API with Fastify and MongoDB: Part 2 - Handling Related Data
Building a RESTful API with Node.js, Fastify, MongoDB and Mongoose: Part 1
มุมมอง 4.8Kปีที่แล้ว
Building a RESTful API with Node.js, Fastify, MongoDB and Mongoose: Part 1
Handling Errors in JavaScript
มุมมอง 97ปีที่แล้ว
Handling Errors in JavaScript
Exploring Node Globals: Abort Controller
มุมมอง 262ปีที่แล้ว
Exploring Node Globals: Abort Controller
Stream: Building a Node CLI Tool
มุมมอง 1232 ปีที่แล้ว
Stream: Building a Node CLI Tool
Start and deploy a NextJS project with now
มุมมอง 344 ปีที่แล้ว
Start and deploy a NextJS project with now
Use dynamic routes in NextJS
มุมมอง 9094 ปีที่แล้ว
Use dynamic routes in NextJS
A few basic commands in MySQL and PostgreSQL
มุมมอง 134 ปีที่แล้ว
A few basic commands in MySQL and PostgreSQL
F is ma and Crazy
มุมมอง 24612 ปีที่แล้ว
F is ma and Crazy