YoVDO

How to Hide API Keys with Node JS - Hiding API Keys with dotenv Environment Variables

Offered By: Dave Gray via YouTube

Tags

Node.Js Courses Web Development Courses GitHub Courses Rate Limiting Courses

Course Description

Overview

Learn how to hide API keys using Node.js and dotenv environment variables in this comprehensive tutorial. Discover how to set up a Node.js API key relay to securely access API data while protecting sensitive information. Follow along as the instructor guides you through installing Node.js, setting up package dependencies, creating an API, implementing weather routes, and adding environment variables. Explore techniques for testing routes, implementing rate limiting, and protecting your application. Gain insights into proper use of .gitignore files and deploying your code to platforms like Glitch. By the end of this tutorial, you'll have the knowledge to create secure server-side applications that safeguard API keys while maintaining functionality.

Syllabus

Intro
Install NodeJS
Install Package Dependencies
Create the API
Test a Route
Create the Weather API Route
Add an environment variable with dotenv
Create GET and POST Weather Routes
Test the GET and POST Dev Routes
Add a Rate Limiter
Protecting Your Routes
Your .gitignore file
Pulling the code from GitHub to Glitch
Testing the Live Glitch Routes


Taught by

Dave Gray

Related Courses

Introduction to Agile Software Development: Tools & Techniques
University of California, Berkeley via edX
Advanced Topics and Techniques in Agile Software Development
University of California, Berkeley via edX
The Data Scientist’s Toolbox
Johns Hopkins University via Coursera
How to Use Git and GitHub
Udacity
Desarrollo de Videojuegos 3D en Unity: Una Introducción
Universidad de los Andes via Coursera