<?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: Ibrahim Moustafa</title>
    <description>The latest articles on DEV Community by Ibrahim Moustafa (@ibrahim_moustafa_0b93eaa8).</description>
    <link>https://dev.to/ibrahim_moustafa_0b93eaa8</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4273073%2F62a4c072-ad28-4501-be91-ce5b17967f98.jpg</url>
      <title>DEV Community: Ibrahim Moustafa</title>
      <link>https://dev.to/ibrahim_moustafa_0b93eaa8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ibrahim_moustafa_0b93eaa8"/>
    <language>en</language>
    <item>
      <title>Git and GitHub for Beginners: Version Control Without Fear</title>
      <dc:creator>Ibrahim Moustafa</dc:creator>
      <pubDate>Sun, 29 Nov 2026 23:44:04 +0000</pubDate>
      <link>https://dev.to/ibrahim_moustafa_0b93eaa8/git-and-github-for-beginners-version-control-without-fear-49jb</link>
      <guid>https://dev.to/ibrahim_moustafa_0b93eaa8/git-and-github-for-beginners-version-control-without-fear-49jb</guid>
      <description>&lt;p&gt;Git tracks the history of your code so you can rewind, branch, and collaborate without losing anything. GitHub hosts that history online so teams can work together. Confusing the two is normal: Git is the tool, GitHub is a place that stores Git repositories.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mental model: snapshots, not diffs
&lt;/h2&gt;

&lt;p&gt;Think of each commit as a labeled snapshot of your entire project. The repository is the album of snapshots. You can return to any snapshot, compare any two, or start a parallel timeline (a branch) to try an idea without endangering the main one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The daily loop
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git status              &lt;span class="c"&gt;# what changed&lt;/span&gt;
git add file.py         &lt;span class="c"&gt;# stage a change&lt;/span&gt;
git commit -m &lt;span class="s2"&gt;"Fix login redirect"&lt;/span&gt;   &lt;span class="c"&gt;# snapshot it&lt;/span&gt;
git push                &lt;span class="c"&gt;# send snapshots to GitHub&lt;/span&gt;
git pull                &lt;span class="c"&gt;# fetch teammates' snapshots&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ninety percent of professional Git use is this loop. The remaining ten percent is branches, and they are simpler than they look.&lt;/p&gt;

&lt;h2&gt;
  
  
  Branches and pull requests
&lt;/h2&gt;

&lt;p&gt;A branch is a movable label pointing at a snapshot. Create one per feature, commit freely, and when it works, open a pull request on GitHub: a proposal to merge your timeline into the main one, with a review conversation attached. This is how nearly every software team on earth works, from two-person startups to the Linux kernel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mistakes every beginner makes (and recovers from)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Committing directly to main: fine alone, chaos in a team&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Vague messages like "fix stuff": your future self begs for specifics&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fearing merge conflicts: a conflict is just Git asking you to choose, not an error&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Committing secrets: API keys in a repo are effectively public, rotate them immediately&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Learn by doing
&lt;/h2&gt;

&lt;p&gt;Create a repository for anything, even your notes. Commit daily for two weeks and the model clicks. &lt;a href="https://docs.github.com/en/get-started" rel="noopener noreferrer"&gt;GitHub's own getting-started docs&lt;/a&gt; walk through the mechanics well. And when your team needs workflows, code review culture or CI pipelines built around Git, our &lt;a href="https://ai-gs.net/en/services" rel="noopener noreferrer"&gt;engineering team&lt;/a&gt; sets that up routinely.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://ai-gs.net/en/blog/git-github-beginners-guide-version-control" rel="noopener noreferrer"&gt;ai-gs.net&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>git</category>
      <category>programming</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>What Is an API? A Beginner's Guide With Real Examples</title>
      <dc:creator>Ibrahim Moustafa</dc:creator>
      <pubDate>Sun, 29 Nov 2026 23:43:57 +0000</pubDate>
      <link>https://dev.to/ibrahim_moustafa_0b93eaa8/what-is-an-api-a-beginners-guide-with-real-examples-1933</link>
      <guid>https://dev.to/ibrahim_moustafa_0b93eaa8/what-is-an-api-a-beginners-guide-with-real-examples-1933</guid>
      <description>&lt;p&gt;Every time an app shows you the weather, processes a payment or logs you in with Google, an API did the work. API stands for Application Programming Interface: a defined way for one piece of software to ask another to do something and get a structured answer back.&lt;/p&gt;

&lt;h2&gt;
  
  
  The restaurant analogy that actually helps
&lt;/h2&gt;

&lt;p&gt;Think of a restaurant. You do not walk into the kitchen; you read a menu, place an order in a defined format, and the kitchen returns a dish. An API is the menu: it lists what you can request, what format to use, and what you will get back. The kitchen (the server) can be rebuilt completely and your ordering experience never changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  How a REST API call works
&lt;/h2&gt;

&lt;p&gt;Most modern web APIs follow REST conventions over HTTP. You send a request to an endpoint (a URL) with a method: GET to read, POST to create, PUT/PATCH to update, DELETE to remove. The server responds with a status code and usually JSON data. A GET to a weather API might return:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"city"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Cairo"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"temp_c"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"condition"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sunny"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;JSON is the lingua franca because every programming language parses it. If you want to inspect real JSON payloads, our &lt;a href="https://ai-gs.net/en/tools/json-mock-generator" rel="noopener noreferrer"&gt;JSON mock generator&lt;/a&gt; and &lt;a href="https://ai-gs.net/en/tools/jwt-decoder" rel="noopener noreferrer"&gt;JWT decoder&lt;/a&gt; are handy learning tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Authentication: keys and tokens
&lt;/h2&gt;

&lt;p&gt;APIs need to know who is calling. The common patterns are API keys (a long secret string sent with each request) and OAuth tokens (short-lived credentials issued after a login flow). Treat keys like passwords: never commit them to public repositories.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why businesses should care
&lt;/h2&gt;

&lt;p&gt;APIs are how systems stop being islands. Your store talks to your payment gateway, your CRM, your shipping provider and your WhatsApp line through APIs. When we design &lt;a href="https://ai-gs.net/en/services" rel="noopener noreferrer"&gt;custom software&lt;/a&gt; at AIGS, the API layer is what lets a client's tools grow without being rebuilt. Even non-developers benefit from understanding the concept: it turns "can our system do X?" into a concrete, answerable question.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;Public APIs like &lt;a href="https://openweathermap.org/api" rel="noopener noreferrer"&gt;OpenWeather&lt;/a&gt; offer free tiers. One afternoon of experimenting teaches more than a week of reading.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://ai-gs.net/en/blog/what-is-an-api-beginners-guide-2026" rel="noopener noreferrer"&gt;ai-gs.net&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>programming</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Docker for Beginners: Containers Explained Without the Jargon</title>
      <dc:creator>Ibrahim Moustafa</dc:creator>
      <pubDate>Sun, 29 Nov 2026 23:35:30 +0000</pubDate>
      <link>https://dev.to/ibrahim_moustafa_0b93eaa8/docker-for-beginners-containers-explained-without-the-jargon-8al</link>
      <guid>https://dev.to/ibrahim_moustafa_0b93eaa8/docker-for-beginners-containers-explained-without-the-jargon-8al</guid>
      <description>&lt;p&gt;"It works on my machine" has ended more deployments than any bug. Docker's answer: package the application together with everything it needs (runtime, libraries, configuration) into a container that runs identically on a laptop, a server, or a cloud VM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Containers vs virtual machines
&lt;/h2&gt;

&lt;p&gt;A virtual machine emulates an entire computer, including its own operating system kernel: heavy, gigabytes, minutes to start. A container shares the host's kernel and isolates only the application and its dependencies: megabytes, starts in milliseconds. Same isolation idea, fraction of the cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Images and containers
&lt;/h2&gt;

&lt;p&gt;An image is the blueprint; a container is a running instance of it. You build an image once (defined by a Dockerfile, a short recipe of steps) and run it anywhere Docker exists. Docker Hub hosts millions of ready images: databases, caches, language runtimes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The commands you will actually use
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run -d -p 8080:80 nginx        &lt;span class="c"&gt;# start a web server&lt;/span&gt;
docker ps                             &lt;span class="c"&gt;# what is running&lt;/span&gt;
docker logs -f container_name         &lt;span class="c"&gt;# watch its output&lt;/span&gt;
docker &lt;span class="nb"&gt;exec&lt;/span&gt; -it container_name bash   &lt;span class="c"&gt;# shell inside it&lt;/span&gt;
docker stop container_name            &lt;span class="c"&gt;# stop it&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That handful covers daily work. Everything else is refinement.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why businesses adopted it so fast
&lt;/h2&gt;

&lt;p&gt;Containers made environments reproducible: the same artifact that passed testing is the one that runs in production. They also made scaling cheap, since a container is a standard unit any orchestrator (like Kubernetes) can replicate. The official &lt;a href="https://docs.docker.com/get-started/" rel="noopener noreferrer"&gt;Docker getting-started guide&lt;/a&gt; is genuinely good once you want depth.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Docker Compose enters
&lt;/h2&gt;

&lt;p&gt;Real apps need several containers talking to each other: app, database, cache. Docker Compose describes the whole set in one YAML file and starts it with one command. That is usually the moment Docker stops being a toy and becomes your development environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical first project
&lt;/h2&gt;

&lt;p&gt;Containerize something small: a static site behind nginx, or a script with its dependencies. The goal is not the app; it is feeling the build-run-ship loop once. After that, the tutorials make sense. And if your team needs production-grade container infrastructure, that is core to our &lt;a href="https://ai-gs.net/en/services" rel="noopener noreferrer"&gt;engineering work&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://ai-gs.net/en/blog/docker-for-beginners-containers-explained-2026" rel="noopener noreferrer"&gt;ai-gs.net&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>docker</category>
      <category>programming</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
