Novacare blog

Personvernvennlig bildeopplasting

Den siste tiden har det vært mye fokus på personvern. Google Analytics er muligens ulovlig, cookies bør ikke brukes uten samtykke, og ting som GDPR og Schrems II har nærmest blitt en del av dagligtalen. Man bør generelt være varsom i sin omgang med personopplysninger!…

Use NVM to handle different Node versions

If you're like me, and switch a lot between different projects, you've most likely run across problems with Node.js versions when building the frontend. That's a problem we can solve rather easily with NVM. But first things first, what is NVM? NVM (Node…

Filtering an array for specific types with GROQ

In Sanity, you can have arrays that contain different objects. But what if we want to filter out the specific types inside the array when we run a query? A problem I came across was how to map the different Sanity objects to .NET objects based on their type. Disclaimer:…

Optimizely Content Delivery API - getting started smoothly!

The Optimizely Content Delivery API [https://world.optimizely.com/documentation/developer-guides/content-delivery-api/] adds headless capabilities to your traditional Optimizely Content Cloud CMS, making it a hybrid CMS. The best of both worlds, you might say. The documentation [https://world.optimizely.com/documentation/developer-guides/content-delivery-api/] is quite good, so I just…