Uploaded March 2021 | Updated December 2026, 3 hours ago
When front-end developers are learning the full-stack, they often stumble on which backend to use. If they hear Redis, they think of in-memory caching. That's what I thought, at least. After doing more research, I was surprised to find Redis excels at hashmaps, counters, sorted lists, and even queues. It's possible to use Redis for your entire database!
This video will explore using Redis with Next.js in Serverless environments.
0:00 – Introduction
0:35 – Demo of Application
1:27 – Serverless Redis (Upstash)
2:17 – Deploying to Vercel
3:25 – Running Locally
3:44 – Connecting to Redis
4:08 – Fetching Data from Redis
4:51 – Explaining SSR (getServerSideProps)
5:09 – Explaining SWR (Client-side fetching)
5:46 — Adding Data to Redis
8:04 — Email Form and HTML Validation
9:05 – Conclusion
Links
–––––
Blog: leerob.io/blog/serverless-redis-nextjs
Demo: https://roadmap-redis.vercel.app/
Deploy your own: vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-redis&project-name=redis-roadmap&repository-name=redis-roadmap&demo-title=Redis%20Roadmap&demo-description=Create%20and%20upvote%20features%20for%20your%20product.&demo-url=https%3A%2F%2Froadmap-redis.vercel.app%2F&integration-ids=oac_V3R1GIpkoJorr6fqyiwdhl17
Serverless Redis: upstash.com
–––––
Blog: leerob.io
Twitter: twitter.com/leeerob
GitHub: github.com/leerob
Course: react2025.com
When front-end developers are learning the full-stack, they often stumble on which backend to use. If they hear Redis, they think of in-memory caching. That's what I thought, at least. After doing more research, I was surprised to find Redis excels at hashmaps, counters, sorted lists, and even queues. It's possible to use Redis for your entire database!
This video will explore using Redis with Next.js in Serverless environments.
0:00 – Introduction
0:35 – Demo of Application
1:27 – Serverless Redis (Upstash)
2:17 – Deploying to Vercel
3:25 – Running Locally
3:44 – Connecting to Redis
4:08 – Fetching Data from Redis
4:51 – Explaining SSR (getServerSideProps)
5:09 – Explaining SWR (Client-side fetching)
5:46 — Adding Data to Redis
8:04 — Email Form and HTML Validation
9:05 – Conclusion
Links
–––––
Blog: leerob.io/blog/serverless-redis-nextjs
Demo: https://roadmap-redis.vercel.app/
Deploy your own: vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-redis&project-name=redis-roadmap&repository-name=redis-roadmap&demo-title=Redis%20Roadmap&demo-description=Create%20and%20upvote%20features%20for%20your%20product.&demo-url=https%3A%2F%2Froadmap-redis.vercel.app%2F&integration-ids=oac_V3R1GIpkoJorr6fqyiwdhl17
Serverless Redis: upstash.com
–––––
Blog: leerob.io
Twitter: twitter.com/leeerob
GitHub: github.com/leerob
Course: react2025.com










