NY State-Licensed Certificates in Design, Coding & AI — Online
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course shows how to build a server-side Node.js API relay that keeps API keys out of front-end code. It covers dotenv environment variables, GET and POST routes, rate limiting, route protection, and deploying and testing the relay on Glitch.
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