Build an API Proxy Server - Hide Your API Keys, Rate Limiting & Caching @TraversyMedia
Build an API Proxy Server - Hide Your API Keys, Rate Limiting & Caching  @TraversyMedia
Uploaded October 2021 | Updated September 2026, 2 weeks ago
We will use Node.js & Express to create a server in order to hide public API keys, add rate limiting and caching

💻 Code:
github.com/bradtraversy/node-api-proxy-server

Demo App:
traversy-weather-app.herokuapp.com

Node.js API Masterclass Course: (promo code: OCTOBER2021)
udemy.com/course/nodejs-api-masterclass/?referralCode=F95A0D3B9CA1DB648F55

👇 Website & Courses:
traversymedia.com

💖 Show Support
Patreon: patreon.com/traversymedia
PayPal: paypal.me/traversymedia

👇 Follow Me On Social Media:
Twitter: twitter.com/traversymedia
Instagram: instagram.com/traversymedia
Linkedin: linkedin.com/in/bradtraversy

Timestamps:
0:00 - Intro
2:48 - Dependencies & scripts
4:45 - Basic Express server
6:15 - Environment variables
8:00 - Create the route
10:40 - Request from server
15:50 - Forwarding query params
19:55 - Rate limiting
22:40 - API caching
24:28 - Use server with the client app
26:50 - Deploy to Heroku
30:20 - Environment variables on Heroku
Build an API Proxy Server - Hide Your API Keys, Rate Limiting & CachingBuild a Shopping Cart With React JS & StripeDo All Devs End Up Being Content Creators?20 Essential VS Code ExtensionsReact Native Crash Course+ | Build a Mobile App In 3 HoursDo You Need To Learn Data Structures & Algorithms As A Developer?I Tried Vibe Coding - Here Are My Thoughts10 Ways to Make Money as a DeveloperBuild A Digital Resume & Host For FreeTailwind Crash Course | Project From ScratchRemix Crash Course | Full Stack ReactAmbient Sound Mixer - JavaScript OOP Project - 3.5+ Hours
Traversy Media |

Build an API Proxy Server - Hide Your API Keys, Rate Limiting & Caching

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER