In this video we will use Cloudflare Workers and Upstash Redis to Allow/Deny requests based on the user's IP address. This assumes no knowledge of Cloudflare Workers or Redis, and we'll go from nothing to deployed.
---------- Course
Want to go deeper with Next.js? Join me in my Next Level Next.js course where over 29 videos and 8 hours of content we'll build a full application from start to finish. We use TypeScript, GraphQL, Prisma, Apollo, Mapbox, Firebase and lots more. https://courses.leighhalliday.com/next-level-next-js
---------- Links
Source Code - https://github.com/leighhalliday/cf-workers-redis
Cloudflare Workers - https://workers.cloudflare.com/
Worker Examples - https://developers.cloudflare.com/workers/examples
Upstash Redis - https://upstash.com/
Upstash Article - https://blog.upstash.com/edge-guard
---------- Connect
Join this channel - https://www.youtube.com/channel/UCWPY8W-FAZ2HdDiJp2RC_sQ/join
Join me on Discord - https://discord.gg/wcSNwfu
0 Comments