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.
Markdown supported · ⌘↵ to post
Adrian JS
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
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 . I couldn't find any of the next.js data fetch methods like getStaticProps. With these methods you can for example cache builded files.