Главная
Study mode:
on
1
Intro
2
Install NodeJS
3
Install Package Dependencies
4
Create the API
5
Test a Route
6
Create the Weather API Route
7
Add an environment variable with dotenv
8
Create GET and POST Weather Routes
9
Test the GET and POST Dev Routes
10
Add a Rate Limiter
11
Protecting Your Routes
12
Your .gitignore file
13
Pulling the code from GitHub to Glitch
14
Testing the Live Glitch Routes
Description:
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.

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

Dave Gray
Add to list