---
title: "Discussion on \"Building a streaming guide app with Next.js and Supabase\" | Hashnode"
description: "Discussion on \"Building a streaming guide app with Next.js and Supabase\". I like building side projects in my free time. So, when I heard about the Vercel and Hashnode hackathon, I knew it was the perfect chance for me to knock one out. In this article, I’ll guide you through how I built the Movie Hunt app using Next.js, S..."
url: "https://hashnode.com/posts/building-a-streaming-guide-app-with-nextjs-and-supabase/601d05dd1054fa16dadd71ad"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a streaming guide app with Next.js and Supabase](https://blog.samba-ndiaye.dev/building-a-streaming-guide-app-with-nextjs-and-supabase?utm_source=hashnode&utm_medium=feed)

I like building side projects in my free time. So, when I heard about the Vercel and Hashnode hackathon, I knew it was the perfect chance for me to knock one out. In this article, I’ll guide you through how I built the Movie Hunt app using Next.js, S...

Feb 5, 2021 · 5 min read · blog.samba-ndiaye.dev  
Updated Apr 20, 2021  
Read the article

-   [#vercelhashnode](https://hashnode.com/tag/vercelhashnode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Samba Ndiaye](https://hashnode.com/@juniornjay)

@juniornjay · Dakar - Senegal

  
[View profile](https://hashnode.com/@juniornjay)

zcoderboy

Samba Ndiaye (aka zcoderboy) is a passionate software developer living in Senegal (Africa) who loves building new things. He has a very good understanding of the web ecosystem and is all the time looking for new challenges Samba is not afraid to get out of his comfort zone and learn new things. On his free time he writes Medium articles and checkout open source projects. You and Samba can have a talk about : HTML, CSS, JS, PHP, Node, Angular, React.

## Responses 1

Markdown supported · ⌘↵ to post

[Adrian JS](https://hashnode.com/@AdrianJS)

[Feb 6, 2021](https://hashnode.com/posts/building-a-streaming-guide-app-with-nextjs-and-supabase/601d05dd1054fa16dadd71ad/comment/601e825c1054fa16dadd8be9)

Great Project, love it! I just inspected your code and I was able to find your supabase key. You have to be careful when you're flagging your env variables with public\_, just see [next.js env docs](https://nextjs.org/docs/basic-features/environment-variables)

```
By default all environment variables loaded through .env.local are only available in the Node.js environment, meaning they won't be exposed to the browser.
In order to expose a variable to the browser you have to prefix the variable with NEXT_PUBLIC_
```

Im relatively new to next.js but I think you would have to move all your critical code to the "backend" part of next.js, eg. in the api folder or in the data fetch options given [here](https://nextjs.org/docs/basic-features/data-fetching#getserversideprops-server-side-rendering) . I couldn't find any of the next.js data fetch methods like [getStaticProps](https://nextjs.org/docs/basic-features/data-fetching#getstaticprops-static-generation). With these methods you can for example cache builded files.

[Samba Ndiaye](https://hashnode.com/@juniornjay)

[Feb 6, 2021](https://hashnode.com/posts/building-a-streaming-guide-app-with-nextjs-and-supabase/601d05dd1054fa16dadd71ad/comment/601e825c1054fa16dadd8be9#reply-601e98521054fa16dadd8dd5)

Thank you [Jonas Stickel](https://hashnode.com/@AdrianJS), your feedback is gold. I'll update it ASAP.
