cell_tower Broadcast Station
visibility 1.3K views schedule 3 years ago
CULCHR.TV Vintage Exclusive
Vintage Sneakers Streetwear +37

Location-Based Next.js Middleware With New Relic Synthetics

If your app needs to behave differently based on user location, Next.js Middleware gives you control. And New Relic Synthetics make testing easy. Observability Week Day 3 features Daniel Kim! 00:00:00 - Welcome 00:00:31 - Who is Daniel Kim? 00:04:13 - How can I test location based app settings? 00:06:51 - What do you get back from a synthetic test? 00:12:53 - How is this about food? 00:16:43 - How should we start with synthetics? 00:22:32 - Adding in middleware 00:32:48 - Testing a button as if you’re in France 00:39:29 - Using Vercel 00:56:14 - Using imgx under the hood of Unsplash 01:04:41 - Using conditionals 01:19:23 - Digging into Vercel logs 01:23:49 - Where can people learn more about synthetics? Repo: https://github.com/lazyplatypus/food-feuds/pull/2 Demo: https://food-feuds-eight.vercel.app/ Links https://twitter.com/learnwdaniel [6:52 AM] https://newrelic.com/ https://nextjs.org/docs/api-reference/next/server https://www.bloomberg.com/news/articles/2021-07-07/best-pizza-city-in-america-is-portland-oregon-say-modernist-experts https://snack.tips/portland https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/getting-started/get-started-synthetic-monitoring/ https://twitter.com/learnwdaniel Watch future episodes live at https://twitch.tv/jlengstorf This episode was sponsored by: - Netlify (https://lwj.dev/netlify) - Nx (https://lwj.dev/nx) - Backlight (https://lwj.dev/backlight) - Pluralsight (https://lwj.dev/pluralsight) Live transcription by White Coat Captioning (https://whitecoatcaptioning.com/) Credits: Local Elevator by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1300012 Artist: http://incompetech.com/ Busybody by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Artist: http://audionautix.com/ Additional sound effects obtained from https://www.zapsplat.com

0:00 / 0:00
visibility 1,272 views thumb_up 29 comment 1 schedule 1:25:56 2023 3 years ago
If your app needs to behave differently based on user location, Next.js Middleware gives you control. And New Relic Synthetics make testing easy. Observability Week Day 3 features Daniel Kim! 00:00:00 - Welcome 00:00:31 - Who is Daniel Kim? 00:04:13 - How can I test location based app settings? 00:06:51 - What do you get back from a synthetic test? 00:12:53 - How is this about food? 00:16:43 - How should we start with synthetics? 00:22:32 - Adding in middleware 00:32:48 - Testing a button as if you’re in France 00:39:29 - Using Vercel 00:56:14 - Using imgx under the hood of Unsplash 01:04:41 - Using conditionals 01:19:23 - Digging into Vercel logs 01:23:49 - Where can people learn more about synthetics? Repo: https://github.com/lazyplatypus/food-feuds/pull/2 Demo: https://food-feuds-eight.vercel.app/ Links https://twitter.com/learnwdaniel [6:52 AM] https://newrelic.com/ https://nextjs.org/docs/api-reference/next/server https://www.bloomberg.com/news/articles/2021-07-07/best-pizza-city-in-america-is-portland-oregon-say-modernist-experts https://snack.tips/portland https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/getting-started/get-started-synthetic-monitoring/ https://twitter.com/learnwdaniel Watch future episodes live at https://twitch.tv/jlengstorf This episode was sponsored by: - Netlify (https://lwj.dev/netlify) - Nx (https://lwj.dev/nx) - Backlight (https://lwj.dev/backlight) - Pluralsight (https://lwj.dev/pluralsight) Live transcription by White Coat Captioning (https://whitecoatcaptioning.com/) Credits: Local Elevator by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1300012 Artist: http://incompetech.com/ Busybody by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/) Artist: http://audionautix.com/ Additional sound effects obtained from https://www.zapsplat.com