<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: fredlag</title>
    <description>The latest articles on DEV Community by fredlag (@fredlag).</description>
    <link>https://dev.to/fredlag</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F110543%2F10bce029-8a94-402c-9cce-0e88bd9f4dab.jpg</url>
      <title>DEV Community: fredlag</title>
      <link>https://dev.to/fredlag</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fredlag"/>
    <language>en</language>
    <item>
      <title>Have you dealt with API security in static sites?</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Tue, 10 Feb 2026 13:00:00 +0000</pubDate>
      <link>https://dev.to/fredlag/have-you-dealt-with-api-security-in-static-sites-l78</link>
      <guid>https://dev.to/fredlag/have-you-dealt-with-api-security-in-static-sites-l78</guid>
      <description>&lt;p&gt;A few years ago, I built a static website to showcase my portfolio and added a weather API integration (because I love cycling and hate getting wet 🚴‍♂️).&lt;/p&gt;

&lt;p&gt;Everything worked great... until my cybersecurity training revealed something alarming: &lt;strong&gt;my API token was publicly accessible&lt;/strong&gt; in my JavaScript code. 😱&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Static sites can't keep secrets.&lt;/strong&gt; Any API key in your client-side code is visible to anyone who opens the developer console.&lt;/p&gt;

&lt;p&gt;I needed a solution. Fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Solution Journey
&lt;/h2&gt;

&lt;p&gt;I explored three different approaches:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;❌ &lt;strong&gt;Custom backend&lt;/strong&gt; - Didn't want extra hosting costs&lt;/li&gt;
&lt;li&gt;❌ &lt;strong&gt;Netlify Functions&lt;/strong&gt; - Required hosting entire site on Netlify
&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;WordPress REST API&lt;/strong&gt; - Already had it running on my server!&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Surprising Winner
&lt;/h2&gt;

&lt;p&gt;Turns out, WordPress isn't just for blogging. It can act as a secure API proxy for your static sites, keeping your API keys safe on the server side.&lt;/p&gt;

&lt;p&gt;And the implementation? Surprisingly simple.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;Through this journey, I discovered:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why static sites fundamentally can't hide secrets&lt;/li&gt;
&lt;li&gt;How to use WordPress as a lightweight backend&lt;/li&gt;
&lt;li&gt;Adding caching and rate limiting for optimization&lt;/li&gt;
&lt;li&gt;When to consider alternative solutions&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Read the Full Story
&lt;/h2&gt;

&lt;p&gt;I've written a complete guide with step-by-step implementation, code examples, and security best practices.&lt;/p&gt;

&lt;p&gt;👉 **&lt;a href="https://fredlagage.fr/static-site-security-api-key-protection-wordpress-rest-api-secure-api-integration-weather-api-static-website-backend/" rel="noopener noreferrer"&gt;Read the full article: &lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>security</category>
      <category>saas</category>
    </item>
    <item>
      <title>Coding On the beach</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Fri, 23 Aug 2024 07:00:00 +0000</pubDate>
      <link>https://dev.to/fredlag/coding-on-the-beach-3h58</link>
      <guid>https://dev.to/fredlag/coding-on-the-beach-3h58</guid>
      <description>&lt;p&gt;Hello everyone! It’s summer holiday time here, and if you’re lucky enough to be traveling or heading to the beach, there’s no need to stop coding. I’ve set up my coding environment on my Android tablet, so I can code from anywhere.&lt;br&gt;
Let’s take a look at how I configured it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://fredlagage.fr/how-to-code-with-an-android-tablette/" rel="noopener noreferrer"&gt;https://fredlagage.fr/how-to-code-with-an-android-tablette/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;See you.&lt;/p&gt;

</description>
      <category>android</category>
      <category>vscode</category>
      <category>python</category>
    </item>
    <item>
      <title>Succed in migration code base from svn to git</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Fri, 16 Feb 2024 11:00:00 +0000</pubDate>
      <link>https://dev.to/fredlag/succed-in-migration-code-base-from-svn-to-git-590p</link>
      <guid>https://dev.to/fredlag/succed-in-migration-code-base-from-svn-to-git-590p</guid>
      <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;For the first post of the year, I'd like to share my feedback on migrating a large code base from SVN to Git. A while back, I asked a question about this migration &lt;a href="https://dev.to/fredlag/what-are-your-tips-to-success-in-migration-from-svn-to-git--42l6"&gt;migration&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Despite not receiving many comments, I'm excited to share my recommendations now:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No Technical Challenges:&lt;/strong&gt;&lt;br&gt;
I didn't face any significant technical challenges, except in cases where the initial SVN project didn't adhere to standard recommendations. In such instances, it's essential to modify the SVN project to ensure it aligns with standard practices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Communication and Planning are Key:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;1. Team Training:&lt;/u&gt;&lt;br&gt;
Conduct workshops or training sessions to familiarize the team with Git concepts. Providing resources and documentation to support the learning process is crucial.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;2. Continuous Communication:&lt;/u&gt;&lt;br&gt;
Maintain an open line of communication throughout the migration process. Address concerns and feedback promptly to keep the team engaged and informed.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;3. Feedback Loops:&lt;/u&gt;&lt;br&gt;
Establish feedback loops to gather insights during and after the migration. Iterate on processes based on team feedback to enhance collaboration and efficiency.&lt;/p&gt;

&lt;p&gt;By focusing on effective communication, thorough planning, and incorporating feedback loops, the migration from SVN to Git can be smooth and successful.&lt;/p&gt;

&lt;p&gt;I hope these insights are helpful for anyone undertaking a similar migration journey.&lt;/p&gt;

&lt;p&gt;You can find more detail &lt;a href="https://fredlagage.fr/succed-in-a-migrating-from-svn-to-git-in-a-production-environment/"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy coding!&lt;/p&gt;

</description>
      <category>git</category>
      <category>svn</category>
      <category>discuss</category>
    </item>
    <item>
      <title>My Weekly markdown template</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Thu, 18 May 2023 06:38:45 +0000</pubDate>
      <link>https://dev.to/fredlag/my-weekly-markdown-template-n76</link>
      <guid>https://dev.to/fredlag/my-weekly-markdown-template-n76</guid>
      <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Today, I will share with you my weekly productivity template.&lt;/p&gt;

&lt;p&gt;In a productivity routine, consistency is key. To help me become better organized and more efficient in my work, I have started using markdown.&lt;/p&gt;

&lt;p&gt;After a few years of using this method, I am now able to share with you my markdown weekly template.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/flagage/Productivity/blob/771ce0a8d4dc0a312badc8e057e55391b6279567/weekly/Weekly.md"&gt;https://github.com/flagage/Productivity/blob/771ce0a8d4dc0a312badc8e057e55391b6279567/weekly/Weekly.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I detail my choice of tools, and if you would like more information on how I use this template, i will provide it in this post.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://fredlagage.fr/my-production-markdown-template/"&gt;https://fredlagage.fr/my-production-markdown-template/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>career</category>
      <category>development</category>
      <category>markdown</category>
    </item>
    <item>
      <title>Are you traveling for work ?</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Thu, 23 Mar 2023 07:03:13 +0000</pubDate>
      <link>https://dev.to/fredlag/are-you-traveling-for-work--2p06</link>
      <guid>https://dev.to/fredlag/are-you-traveling-for-work--2p06</guid>
      <description>&lt;p&gt;Last month i had to travel for my work. It's not the first time for me but it's not usual.&lt;/p&gt;

&lt;p&gt;So i launch the debate here :&lt;/p&gt;

&lt;p&gt;Are you often traveling for your work as a developer?&lt;/p&gt;

&lt;p&gt;And what is the absolute things you need to take for working during your travel ?&lt;/p&gt;

&lt;p&gt;for me i have tested screen sharing app&lt;/p&gt;

&lt;p&gt;&lt;a href="https://fredlagage.fr/year-2023-start-at-full-speed/"&gt;Fred Travel&lt;/a&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>travel</category>
    </item>
    <item>
      <title>My 2022 Retrospective</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Thu, 29 Dec 2022 09:36:22 +0000</pubDate>
      <link>https://dev.to/fredlag/my-2022-retrospective-56</link>
      <guid>https://dev.to/fredlag/my-2022-retrospective-56</guid>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I really enjoy working with agile method and on of the most important rituals for me is the retrospective.&lt;br&gt;
The agile methodology can also be apply in your every day life so i start a new exercise make my 2022 retrospective. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://fredlagage.fr/my-2022-retrospective/" rel="noopener noreferrer"&gt;https://fredlagage.fr/my-2022-retrospective/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And you what are your 2022 achievement ?&lt;/p&gt;

&lt;p&gt;Thanks for reading and happy end of the year. &lt;/p&gt;

</description>
      <category>learning</category>
      <category>career</category>
      <category>webdev</category>
    </item>
    <item>
      <title>My first Hacktoberfest</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Thu, 03 Nov 2022 08:20:32 +0000</pubDate>
      <link>https://dev.to/fredlag/my-first-hacktoberfest-3o0l</link>
      <guid>https://dev.to/fredlag/my-first-hacktoberfest-3o0l</guid>
      <description>&lt;p&gt;Hello all,&lt;/p&gt;

&lt;p&gt;Do you know &lt;a href="https://hacktoberfest.com/"&gt;hacktoberfest&lt;/a&gt; ? &lt;/p&gt;

&lt;p&gt;For me i discovert this event last month and i try to participe but spoiler alert i don't succes to achive my 4 pull request my excuse for this i didn't have lot of time to do this.&lt;/p&gt;

&lt;p&gt;Even if I don't succes to finish I learn a lot from this event. Dispide experience in development before this event, I have never participated in an open source project. &lt;/p&gt;

&lt;p&gt;So thanks to this event, I learn how to participate in that type of project. First technical with the fork and pull request and also to discover all the open source projects that can help in my daily work very impressive.&lt;/p&gt;

&lt;p&gt;So thanks a lot for this event that can help open source projects and hope next year i will succes to pull all the request needed and be more active in the open source world.&lt;/p&gt;

&lt;p&gt;And you what is your feedback on that event?&lt;/p&gt;

&lt;p&gt;ps: My contibutions lists:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SL5Sjj-X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/07mmttlcvrjaaagoxk9l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SL5Sjj-X--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/07mmttlcvrjaaagoxk9l.png" alt="My contributions" width="800" height="677"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>beginners</category>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>Yunohost 11 released</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Wed, 17 Aug 2022 07:17:59 +0000</pubDate>
      <link>https://dev.to/fredlag/yunohost-11-released-4ne</link>
      <guid>https://dev.to/fredlag/yunohost-11-released-4ne</guid>
      <description>&lt;p&gt;Hello a great news today yunohost released a new version. Based on debian 11. I have personally done the update on my raspberry pi3 installation and that's rock, thanks a lot to the yunohost teams.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/yunohost/status/1557423099603259392?t=lvEvdqnxAw2j4mrex5FsAg&amp;amp;s=19"&gt;https://twitter.com/yunohost/status/1557423099603259392?t=lvEvdqnxAw2j4mrex5FsAg&amp;amp;s=19&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A&lt;/p&gt;

</description>
      <category>news</category>
      <category>yunohost</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Linux interne communication</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Fri, 03 Jun 2022 06:32:50 +0000</pubDate>
      <link>https://dev.to/fredlag/name-pipe-linux-2785</link>
      <guid>https://dev.to/fredlag/name-pipe-linux-2785</guid>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;After a little break here my new article. This time we go a step deeper in linux functionality with the pipe concept. Most of the linux user know this command | But did you know you can use this concept to create an internal process communication?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://fredlagage.fr/pipe-linux-uname/"&gt;blog page here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>programming</category>
      <category>kernel</category>
      <category>architecture</category>
    </item>
    <item>
      <title>The language that boost my productivity</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Tue, 22 Mar 2022 07:52:10 +0000</pubDate>
      <link>https://dev.to/fredlag/the-language-that-boost-my-productivity-jld</link>
      <guid>https://dev.to/fredlag/the-language-that-boost-my-productivity-jld</guid>
      <description>&lt;p&gt;In my blog post of march i will share with you how i boost my productivity thanks to learning markdown language and using daily tools that help focusing my work. &lt;br&gt;
All is here.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://fredlagage.fr/writing-technical-documentation/"&gt;https://fredlagage.fr/writing-technical-documentation/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading&lt;br&gt;
Fred.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>markdown</category>
      <category>tooling</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Scrum usage Feedback</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Tue, 08 Feb 2022 07:43:09 +0000</pubDate>
      <link>https://dev.to/fredlag/scrum-usage-feedback-4bbn</link>
      <guid>https://dev.to/fredlag/scrum-usage-feedback-4bbn</guid>
      <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;For continuing my blog post series I propose to share with you my feedback on the scrum methodology.&lt;br&gt;
I work with this methodology for few years now and i really appreciate this method. In this post I will share my feedback and some improvement that I use in my daily work.&lt;/p&gt;

&lt;p&gt;I hope that you will appreciate this feedback.  &lt;/p&gt;

&lt;p&gt;The article is available here &lt;a href="https://fredlagage.fr/feedback-scrum/"&gt;feedback scrum&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agile</category>
      <category>productivity</category>
      <category>devjournal</category>
      <category>programming</category>
    </item>
    <item>
      <title>Do you know docker can slove ssl certificat issue</title>
      <dc:creator>fredlag</dc:creator>
      <pubDate>Tue, 18 Jan 2022 13:39:10 +0000</pubDate>
      <link>https://dev.to/fredlag/do-you-know-docker-can-slove-ssl-certificat-issue-3kln</link>
      <guid>https://dev.to/fredlag/do-you-know-docker-can-slove-ssl-certificat-issue-3kln</guid>
      <description>&lt;p&gt;Thanks to the cerbot team and there official docker image &lt;br&gt;
&lt;a href="https://hub.docker.com/r/certbot/certbot/"&gt;https://hub.docker.com/r/certbot/certbot/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We have been able to solve the let's encrypt root certificate change without changing anythings on our device. &lt;br&gt;
&lt;a href="https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/"&gt;https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;More info on my blog here&lt;/p&gt;

&lt;p&gt;&lt;a href="https://fredlagage.fr/certificat-ssl/"&gt;https://fredlagage.fr/certificat-ssl/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;thanks for reading.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>certbot</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
