How to Hide API Keys with Node JS - Hiding API Keys with dotenv Environment Variables
Offered By: Dave Gray via YouTube
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
30 Days to Learn LaravelLaracasts 3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn A Beginner’s Guide to Web Development with HTML5
Packt via FutureLearn Accessibility Audit
Amazon Web Services via AWS Skill Builder Expanding Your JS Skills with Angular
A Cloud Guru