<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yuliia Kuts on Medium]]></title>
        <description><![CDATA[Stories by Yuliia Kuts on Medium]]></description>
        <link>https://medium.com/@yuliiakuts?source=rss-f7e91d7466f9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-fnfw3YgeXNEi1d4</url>
            <title>Stories by Yuliia Kuts on Medium</title>
            <link>https://medium.com/@yuliiakuts?source=rss-f7e91d7466f9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 22:30:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yuliiakuts/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I Set Up a Contact Form Without a Backend Using Netlify]]></title>
            <link>https://medium.com/@yuliiakuts/how-i-set-up-a-contact-form-without-a-backend-using-netlify-6aa9b9c6c864?source=rss-f7e91d7466f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6aa9b9c6c864</guid>
            <category><![CDATA[web-forms]]></category>
            <category><![CDATA[forms]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Yuliia Kuts]]></dc:creator>
            <pubDate>Wed, 14 May 2025 14:34:09 GMT</pubDate>
            <atom:updated>2025-05-14T14:34:09.788Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XuywsnSAyHo0wUOrdmqYAg.png" /></figure><p>When I was building a simple static website for a small project, I needed a working contact form — but I didn’t want to set up a full backend just for that. Thankfully, Netlify makes it super easy with its built-in form handling. Perfect for portfolios, landing pages, or any lightweight site!</p><p>Here’s how I did it.</p><h3>🚀 Live Demo</h3><p>👉 <a href="https://form-submit-netlify.netlify.app/">See the live version</a><br> 👉 <a href="https://github.com/ykuts/blog-code-examples/tree/main/form-submit-netlify">View the code on GitHub</a></p><h3>🛠 Tech Stack</h3><ul><li>HTML5</li><li>Bootstrap 5</li><li><a href="https://www.netlify.com/">Netlify</a> (for hosting and form handling)</li></ul><h3>💡 Why Netlify Forms?</h3><p>If you’re hosting a static site on Netlify, you can take advantage of its form handling feature — no server or extra setup needed. It’s perfect for small sites, portfolios, or quick MVPs.</p><h3>🛠️ Steps to Set It Up</h3><h4><strong>1. Create a form in your HTML:</strong></h4><pre>&lt;form name=&quot;contact&quot; method=&quot;POST&quot; data-netlify=&quot;true&quot;&gt;<br>  &lt;input type=&quot;hidden&quot; name=&quot;form-name&quot; value=&quot;contact&quot; /&gt;<br>  &lt;input type=&quot;text&quot; name=&quot;name&quot; placeholder=&quot;Your Name&quot; required /&gt;<br>  &lt;input type=&quot;email&quot; name=&quot;email&quot; placeholder=&quot;Your Email&quot; required /&gt;<br>  &lt;textarea name=&quot;message&quot; placeholder=&quot;Your Message&quot; required&gt;&lt;/textarea&gt;<br>  &lt;button type=&quot;submit&quot;&gt;Send&lt;/button&gt;<br>&lt;/form&gt;</pre><h3>⚠️ Don’t Forget These Two Key Attributes!</h3><p>Netlify won’t recognize your form unless you include:</p><ul><li>method=&quot;POST&quot; and data-netlify=&quot;true&quot; in your &lt;form&gt; tag:</li></ul><pre>&lt;form name=&quot;contact&quot; method=&quot;POST&quot; data-netlify=&quot;true&quot;&gt;</pre><ul><li>the hidden input to match the form name:</li></ul><pre>&lt;input type=&quot;hidden&quot; name=&quot;form-name&quot; value=&quot;contact&quot; /&gt;</pre><h4>2. Deploy your site on Netlify</h4><ul><li>Drag and drop your folder into Netlify Drop</li><li>Or connect your GitHub repo in the <strong>Netlify dashboard</strong></li></ul><h4>3. On Netlify, enable form detection</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jgd5QP-qAGMRI_em2WPg_Q.png" /></figure><h4><strong>4. Check the submissions.</strong></h4><p>Once someone submits the form, go to your Netlify dashboard → <strong>Forms</strong> tab to view submissions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EDWuBgJy_2pz-YMv39d5Uw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jroJtpS8AJLDJdOk-LiyfQ.png" /></figure><h4><strong>5. Set up email notifications (optional but recommended):</strong></h4><p>In the Forms tab, click on your form → <strong>Notifications</strong> → Add your email address to get notified when someone sends a message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BlDRyAJ1rOA8ozmw-YFl5A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90rsSiHUuvL8b50xvPpOQQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yH83uhtPYlcWJSjIbz-w7w.png" /></figure><h3>✅ That’s It!</h3><p>No backend, no external form service, and no complicated setup — just plain HTML and a helpful feature from Netlify.</p><h3>🔄 Bonus Tip: Want to style your form?</h3><p>You can easily customize your form using CSS or frameworks like Bootstrap or Tailwind. I used Bootstrap in my project for quick layout and styling.</p><p>If you want to make your form look better without writing custom CSS, add Bootstrap 5 like this:</p><pre>&lt;link href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot; /&gt;</pre><p>And use Bootstrap classes like form-control, form-label, and btn btn-primary to enhance the look.</p><p>Have any questions? Leave a comment or reach out. Happy building!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6aa9b9c6c864" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Tutor: Personalizing Teaching at Code Blossom]]></title>
            <link>https://medium.com/code-blossom/ai-tutor-personalizing-teaching-at-code-blossom-1f613e6a7d0e?source=rss-f7e91d7466f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f613e6a7d0e</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[education-technology]]></category>
            <category><![CDATA[ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Yuliia Kuts]]></dc:creator>
            <pubDate>Thu, 17 Apr 2025 08:57:15 GMT</pubDate>
            <atom:updated>2025-04-17T08:57:15.455Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Intro</strong></h3><p>Code Blossom is a non profit organisation providing free certification technical programs for women from developing countries, we strive to make technical education accessible and effective. We have a big vision: we want to change lives one career at a time. And we know that there’s only one way to do that — together.</p><p>If you are interested in learning more about our programs or just want to give back to the community, feel free to connect with us. You can find more information on <a href="http://www.code-blossom.com/">www.code-blossom.com</a></p><p><strong>What are we up to?</strong></p><p>The student group wanted to give back to the community and hence we have taken up an initiative to democratise learning through AI providing personalized learning, we are calling this project as AI Tutor ♥️</p><p>All projects follow a life cycle of continuous innovation and improvement, we are challenging ourselves to “build in public” so that many can learn from our journey. We hope you follow our journey and support us in building AI Tutor, our first open source project (<a href="https://github.com/simrathanspal/AITutor">GitHub link</a>).</p><p><strong>What to expect from this blog?</strong></p><p>We are creating a multi-part monthly blog series where we will be breaking down the different components of the AI Tutor product as we build it.</p><p>You can follow the multi-part blogs here</p><ol><li>Intro</li><li>[Future blogs]</li></ol><p>Let’s get started.</p><h3>About the Project</h3><p>AI Tutor will be an intelligent teaching system powered by artificial intelligence that will complement our existing 9-month full-stack developer training program.</p><p>While our current program already includes mentorship and personal support, AI Tutor will allow us to scale our individualized approach and make imparting education even more personalized.</p><p>AI Tutor will analyze student preferences, progress, and learning style, then dynamically adjust the curriculum, offering optimal materials and assignments for the technologies in our program. Unlike static courses, this smart tutor will “understand” each participant’s needs and adapt to them.</p><p>We will initially be focusing on text modality and later add other modalities like voice to make learning more interactive.</p><p>We are starting with two simple workflows and will continue to evolve as the complexities increase. There are two core workflows that we are focusing on -</p><p><strong>Workflow 1</strong>: Personalizing content based on student preference</p><ol><li>Start the course with an intro conversation with AI Tutor. Here we will collect a bunch of student signals by following through a questionnaire.</li><li>For every module, the content will be fetched from static store and student attributes from dynamic store and pass them to the LLM to personalize.</li><li>As the student engages with the content, the system will pick additional / update existing student attributes like preference, understanding level etc.</li></ol><p><strong>Workflow 2</strong>: Answer Student queries (can be focused to module or open ended)</p><ol><li>Ensure the student queries are in line with the expected guidelines.</li><li>Understand the query, if it is referring to existing content or requesting more information.</li><li>Based on the understanding of the student query, route the query to the right tool — module context or web search etc.</li><li>Pick relevant student signals from the conversation.</li></ol><h3>System Architecture</h3><p>Below is a simple high level structure of the system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*NmTHpNehDbiOXE9C8bne2Q.jpeg" /><figcaption>High level structure of the system</figcaption></figure><p><strong>Part 1</strong> is ingesting course material. Since our course is completely open source and collation of materials from different sources. The first step is to develop crawlers and ingest the data in the raw format.<br>Post ingestion of raw data we process the data like formatting and enriching with metadata</p><p><strong>Part 2</strong> is the embedding pipeline where we convert the textual data into embeddings for quick retrieval of context for the personalized teaching and question answering.</p><p><strong>Part 3</strong> is storage, which includes cleaned textual data, embedding of the text and multiple attributes or agent memory.</p><p><strong>Part 4</strong> are the retrievers. The retrievers are responsible for fetching relevant information to the workflow.</p><p><strong>Part 5</strong> are the tools. Some of the tools will be existing tools like web search and some will be our custom tools like motivation evaluator.</p><p><strong>Part 6</strong> is the LLM and agentic layer. The LLM is the hardware and the agentic layer is the software that will get the agentic program executed.</p><p><strong>Part 7</strong> is our guardrails to make sure the student is not going off track, if the student does we can catch it early and redirect conversation. Guardrails will also help us in making sure our responses are aligned to our principles.</p><p><strong>Part 8</strong> is our infra which is a cloud environment for hosting and monitoring setup.</p><p>This is the end of our intro blog post where we introduce our new initiative.</p><p>And that’s only the beginning.<br>Follow Code Blossom on Medium for more behind-the-scenes updates from the AI Tutor project and star our<a href="https://github.com/simrathanspal/AITutor"> GitHub repo</a>! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f613e6a7d0e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-blossom/ai-tutor-personalizing-teaching-at-code-blossom-1f613e6a7d0e">AI Tutor: Personalizing Teaching at Code Blossom</a> was originally published in <a href="https://medium.com/code-blossom">Code Blossom</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Full-Stack Application Deployment Guide]]></title>
            <link>https://medium.com/@yuliiakuts/full-stack-application-deployment-guide-4993bd9ab5c6?source=rss-f7e91d7466f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/4993bd9ab5c6</guid>
            <dc:creator><![CDATA[Yuliia Kuts]]></dc:creator>
            <pubDate>Tue, 18 Feb 2025 20:38:12 GMT</pubDate>
            <atom:updated>2025-05-10T20:11:14.067Z</atom:updated>
            <content:encoded><![CDATA[<p>Deploying MongoDB &amp; Backend (NodeJS) on Railway and Frontend (React) on Netlify</p><p>In this guide, I’ll show you how to deploy a full-stack application with a <strong>React frontend</strong> and a <strong>Node.js + Express backend</strong> using <strong>MongoDB</strong>.<br>The backend and database will be hosted on <a href="https://railway.app/">Railway</a>, and the frontend on <a href="https://www.netlify.com/">Netlify</a>.<br>This step-by-step guide is beginner-friendly and requires no advanced DevOps skills.</p><h3>Project Structure</h3><p>project-root/<br>├── client/ <em># React frontend</em><br>│ ├── public/<br>│ ├── src/<br>│ └── .env <em># Frontend environment variables</em><br>│<br>├── server/ <em># Express backend</em><br>│ ├── routes/<br>│ ├── models/<br>│ ├── .env <em># Backend environment variables</em><br>│ └── index.js<br>│<br>└── README.md</p><h3>🚀 Deploying the Backend and MongoDB on Railway</h3><h4>✅ Key Steps to Deploy Backend and MongoDB on Railway</h4><h4>1. Push your backend code to GitHub</h4><p>Make sure your backend code is in a separate folder (e.g., server/) and includes all necessary files such as:</p><ul><li>package.json with dependencies (express, cors, mongoose, etc.)</li><li>index.js or app.js as your main server file</li><li>.env file (for local development)</li><li>Git-initialized and committed to GitHub</li></ul><h4>2. <strong>Create an account at </strong><a href="https://railway.app/"><strong>Railway</strong></a><strong> and log in</strong></h4><p>If you don’t have an account yet:</p><ul><li>Go to <a href="https://railway.app/">Railway</a></li><li>Click <strong>“Sign Up”</strong> in the top-right corner</li><li>Choose <strong>“Continue with GitHub”</strong> for a quick and easy setup<br> (Railway will ask for permission to access your repositories — this is needed to link your project for deployment)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BgVxPZEXmNmBCDLlf1rkYA.png" /><figcaption>Registration on Railway</figcaption></figure><p>Once registered, you’ll be taken to your Railway dashboard where you can start creating and managing your projects.</p><h4>3. Create a new <strong>Railway project and connect your GitHub repository</strong></h4><ul><li>Click <strong>“New Project”</strong></li><li>Choose <strong>“Deploy from GitHub repo”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VbiD19iR--cfDBnT3NWkvA.png" /><figcaption>Create new project “New Project” from GitHub repo</figcaption></figure><ul><li>Select the repository that contains your backend code</li><li>Railway will detect the code and start the initial deployment</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5PpZiG6OG0HMlNhFxrpmVg.png" /><figcaption>Railway dashboard with “New Project”</figcaption></figure><p>⚠️ <strong>Note:</strong> This first deployment may <strong>fail</strong> because required environment variables (like MONGO_URI) haven&#39;t been added yet. That&#39;s normal — we’ll set those variables in the next steps.</p><h4>4. Add the MongoDB to the project:</h4><ul><li>Open your backend project on Railway</li><li>Click <strong>“+ Create” </strong>in the top right corner of the project</li><li>Select <strong>“Database”</strong> → <strong>“Add MongoDB”</strong></li><li>Railway will create a hosted <strong>MongoDB</strong> instance for your app</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*0YJ0cLGtfoVoyBWgqaQxOA.png" /><figcaption>The “+” button and database selection process</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*FeYzqJ-j_FN2ghbZ6Mi7FQ.png" /></figure><h4>5. <strong>Copy the MongoDB connection string</strong></h4><ul><li>In the created <strong>MongoDB service</strong>, go to <strong>“Variables”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_AVkpmWiE5Taw1dksXUulA.png" /><figcaption>MongoDB service variables section</figcaption></figure><ul><li>You’ll see two connection URIs:</li></ul><p><strong>MONGO_URL</strong>: <em>Internal connection string used by backend services deployed within Railway.</em></p><p><strong>MONGO_PUBLIC_URL</strong>: <em>Public connection string for connecting from outside Railway (e.g., your local machine).</em></p><ul><li>Copy the one appropriate for your setup:</li></ul><p><em>For backend code deployed on Railway, use </em><strong>MONGO_URL</strong><em>.</em></p><p><em>For local development or external services, use</em> <strong>MONGO_PUBLIC_URL</strong>.</p><h4><strong>6. Add environment variables to your backend project on Railway</strong></h4><ul><li>In your backend Railway project, go to the <strong>“Variables”</strong> tab</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VslTqCluFS5uufTNM8Zbtg.png" /></figure><ul><li>Add the following variables:</li></ul><p>MONGO_URI=your_internal_or_public_connection_string <em>(depending on your setup — see above)</em></p><p>PORT=5000 <em>(or whatever port your app uses — make sure it matches your code)</em></p><pre>MONGO_URI=your_mongo_connection_string<br>PORT=5000</pre><ul><li>Add the rest of the variables from your local server/.env file</li></ul><blockquote><em>🚨 On Railway, go to your project → Variables → add the same keys and values.<br> Railway does not read your local </em><em>.env file.</em></blockquote><h4><strong>7. Make sure your backend server is configured properly</strong><br>in your Express app</h4><ul><li>Use express.json() middleware to handle JSON</li><li>Enable cors() if your frontend is hosted on a different domain</li><li>Ensure your server listens to process.env.PORT</li></ul><p>Example:</p><pre>const express = require(&quot;express&quot;);<br>const cors = require(&quot;cors&quot;);<br>const mongoose = require(&quot;mongoose&quot;);<br>require(&quot;dotenv&quot;).config();<br><br>const app = express();<br>app.use(cors());<br>app.use(express.json());<br>mongoose.connect(process.env.MONGO_URI)<br>  .then(() =&gt; console.log(&quot;MongoDB connected&quot;))<br>  .catch((err) =&gt; console.error(err));<br>app.listen(process.env.PORT, () =&gt; {<br>  console.log(`Server is running on port ${process.env.PORT}`);<br>});</pre><h4><strong>8. Check Logs and v</strong>erifying the connection <strong>to confirm everything runs correctly</strong></h4><ul><li>Go to the <strong>“Deployments”</strong> tab of each services (backend and MongoDB) in Railway</li><li>Watch the build and server logs</li><li>If everything is set up correctly, you’ll see confirmation messages like MongoDB connected and Server is running on port ...</li><li>Test your API endpoints using tools like <a href="https://www.postman.com/">Postman</a> to verify that database operations (e.g., GET, POST, DELETE) work correctly</li></ul><p>Once the server is running successfully, copy the Railway <strong>backend URL</strong> — you’ll need it for your frontend.</p><h4>9. Domain setup (optional)</h4><ul><li>In project settings → <strong>“Settings”</strong> → <strong>“Domains”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9DtaZUB59mH3GCoIPheIg.png" /><figcaption>Railway Domains section showing the provided domain</figcaption></figure><ul><li>Railway will provide a domain like: <strong>your-app-name.up.railway.app</strong></li></ul><h3>🌐 Deploying the Frontend (React) on Netlify</h3><h4>✅ Key Steps to Deploy React Frontend on Netlify</h4><h4><strong>1. Push your frontend code to GitHub</strong></h4><p>Make sure your React frontend code is in a separate folder (e.g., client/) and includes:</p><ul><li>package.json with all dependencies (react, react-dom, etc.)</li><li>public/ and src/ folders</li><li>A working App.js or App.jsx</li><li>.env file with frontend variables (e.g., REACT_APP_API_URL)</li><li>Everything committed to GitHub</li></ul><blockquote>🚨 <strong>Important:</strong> Never push your .env file to GitHub — add it to .gitignore</blockquote><h4><strong>2. Create an account at </strong><a href="https://netlify.com/"><strong>Netlify</strong></a><strong> and log in</strong></h4><p>If you don’t have an account yet:</p><ul><li>Go to <a href="https://www.netlify.com/">netlify.com</a></li><li>Click <strong>“Sign up”</strong> (you can use GitHub for a quick setup)</li><li>After logging in, you’ll land on your Netlify dashboard</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m1XvvGwjCwxOefmIIpE3yw.png" /></figure><p><strong>3. Connect your GitHub repo and configure build settings</strong></p><ul><li>In the Netlify dashboard, click <strong>“Add new site”</strong> → <strong>“Import an existing project”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*iCppsQG8x-95VWXOSPl2qw.png" /><figcaption>Click ”Import an existing project” and choose you GitHub repositpry</figcaption></figure><ul><li>Choose <strong>GitHub</strong> and authorize access if prompted</li><li>Select the repository that contains your frontend code</li><li>Set the <strong>build command</strong> to npm run build</li><li>Set the <strong>publish directory</strong> to build/ (or `dist` if using Vite)</li><li>Click <strong>“Deploy site”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*_tKLnfeF5pCVU-8nwONcoQ.png" /><figcaption>In the Deploy settings</figcaption></figure><h4><strong>4. Add environment variables</strong></h4><p>Here we will add our backend URL so the frontend knows where to send API requests.</p><ul><li>Go to your site’s <strong>“Site Settings”</strong> in Netlify → <strong>“Environment variables”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4uDBxmF_N6fcH3ecOW33Pw.png" /><figcaption>Add environment variables</figcaption></figure><ul><li>Add the following variable:</li></ul><pre>REACT_APP_API_URL=https://your-backend.railway.app</pre><p>This will make the backend URL accessible in your frontend code as process.env.REACT_APP_API_URL.</p><p>⚠️ Don’t forget to <strong>trigger a manual redeploy</strong> after adding or updating environment variables — otherwise, your changes won’t take effect.</p><h4><strong>5. Deploy and verify</strong></h4><ul><li>Click <strong>“Deploy site”</strong> in Netlify</li><li>Netlify will install dependencies, run the build, and host your site</li><li>Once deployed, you’ll get a public URL like <a href="https://your-site-name.netlify.app/">https://your-site-name.netlify.app</a></li><li>You can use the provided Netlify domain or configure your own (in <strong>“Site settings” → “Domain settings”</strong>)</li><li>Share or use this URL to access your frontend</li></ul><h4><strong>6. Test the frontend</strong></h4><ul><li>Open the Netlify URL in your browser</li><li>Check that data is correctly fetched from your backend</li><li>Open browser console for any CORS or connection errors</li></ul><h3>🔧 Troubleshooting Frontend &amp; Backend Deployment</h3><h4><strong>1. The frontend cannot fetch data from the backend</strong></h4><ul><li>Make sure your backend URL is correct (from Railway)</li><li>Check that your backend allows CORS requests from your frontend domain</li><li>Look for CORS errors in the browser console</li></ul><h4><strong>2. CORS errors</strong></h4><p>If the frontend cannot communicate with the backend due to CORS policy:</p><pre>// In backend index.js or app.js, add:<br>app.use(cors({<br>  origin: process.env.FRONTEND_URL || &#39;https://your-frontend.netlify.app&#39;,<br>  credentials: true<br>}));</pre><ul><li>Ensure FRONTEND_URL is set correctly in Railway environment variables</li><li>Check browser console for CORS-related error messages</li></ul><h4><strong>3. MongoDB connection issues</strong></h4><ul><li>Verify that your connection string format is valid</li><li>Check if both MongoDB and backend services are in the <strong>same Railway project</strong></li><li>Ensure that environment variables like MONGO_URI are properly set</li><li>Inspect Railway logs for messages like MongoNetworkError or authentication errors</li></ul><h4><strong>4. API route errors (“API not found”)</strong></h4><ul><li>Make sure the backend server is deployed and reachable</li><li>Double-check API routes — the frontend should match the backend route structure</li><li>Test endpoints directly in Postman to ensure they’re working independently of the frontend</li></ul><h4><strong>5. Netlify build errors</strong></h4><ul><li>Check the build logs in Netlify for clear error messages</li><li>Ensure all needed packages are listed under dependencies (not just devDependencies) in package.json</li><li>Confirm the correct node and npm versions are specified in package.json</li></ul><h4><strong>6. Environment variables missing in frontend</strong></h4><ul><li>Confirm that all frontend env variables are prefixed with REACT_APP_</li><li>The variable was added in <strong>“Site settings” → “Environment”</strong></li><li>You <strong>redeployed</strong> the site after adding the variable</li></ul><h4><strong>7. White screen after deploy?</strong></h4><ul><li>Open DevTools console to check for JS errors</li><li>Ensure your build was successful (no missing files or assets)</li><li>Try clearing the browser cache or doing a hard reload</li></ul><h4><strong>8. 404 on page refresh (React Router)</strong></h4><ul><li>If you use React Router (BrowserRouter), enable the <strong>“Redirects”</strong> rule in Netlify: Create a file in public/_redirects with:</li></ul><pre>/*    /index.html   200</pre><h4><strong>9. General debugging tips</strong></h4><ul><li>Use console.log() generously in both backend and frontend</li><li>Check Railway and Netlify logs for errors</li><li>Use tools like Postman or browser DevTools (Network tab) to inspect HTTP requests</li></ul><blockquote><em>📝 This article is continuously updated and expanded. I welcome your comments, corrections, and suggestions for improvement. Share your experience and feedback in the comments or reach out to me directly.</em></blockquote><blockquote><em>Last updated: May 2025</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4993bd9ab5c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Does the Internet Work?]]></title>
            <link>https://medium.com/@yuliiakuts/how-does-the-internet-work-0d9c4cea759e?source=rss-f7e91d7466f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d9c4cea759e</guid>
            <category><![CDATA[how-it-works]]></category>
            <category><![CDATA[internet-packages]]></category>
            <category><![CDATA[world-wide-web]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[internet-protocol]]></category>
            <dc:creator><![CDATA[Yuliia Kuts]]></dc:creator>
            <pubDate>Thu, 11 Jan 2024 16:56:54 GMT</pubDate>
            <atom:updated>2024-01-11T16:56:54.979Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>IHow Does the Internet Work?</strong></h3><p>Nowadays, almost everyone’s morning starts not with breakfast and coffee but with checking their smartphone.</p><p>Nowadays, the Internet has become an essential part of our lives. We work, chat with friends, control home appliances, and shop online. And we don’t even think about how all this is organized and how it works. Let’s take a closer look at this mysterious phenomenon — the Internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vHjeemelIkQkseZi" /><figcaption>Photo by <a href="https://unsplash.com/@rami_alzayat?utm_source=medium&amp;utm_medium=referral">Rami Al-zayat</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>What is the Internet?</strong></h3><p>The <strong>Internet </strong>is a colossal global network interconnecting billions of electronic devices worldwide. With the Internet, it’s possible to access almost any information, communicate with anyone in the world, and perform a lot of everyday tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SdCej24De9iza_Jt8153Aw.png" /><figcaption>Generated by <a href="https://playground.com/">PlaygroundAI</a></figcaption></figure><p>This great network is not just an abstract entity but a very tangible infrastructure that consists of physical cables such as fiber optics, telephone wires, and wireless connections such as Wi-Fi or cellular networks.</p><p>When you visit a website, your computer sends a request through these physical wires to the server. A server is a computer just like yours, but more powerful, that stores websites, databases, and applications, just like your computer’s hard drive. Once the server receives the request, it retrieves the requested data and transmits it back to your computer, which often happens within a few seconds.</p><h3>Internet vs WWW</h3><p>Often, many people think that the <strong>Internet </strong>and the <strong>World Wide Web</strong> — usually called the <strong>Web </strong>for short — are equivalent. But it is necessary to separate these two concepts.</p><p>The World Wide Web is a collection of diverse websites accessible through the Internet. At the same time, the Internet is a collection of physical devices — computers connected by physical wires.</p><h3>Characteristics of the Internet and Their Purpose</h3><p>The Internet is a network of networks. It works by using a technique called packet switching and by relying on standardized networking protocols that all computers can interpret.</p><h4>Packets</h4><p><strong>Packets </strong>are small segments of big data transmission, each containing data and information about that data in a header. These packets are like individual building blocks of information transmitted over a network. They pass independently through routers and switches, gathering at their destination.</p><p>This methodology, known as <strong>packet switching</strong>, enables efficient and fast data transmission over the Internet, allowing information to be delivered and accessed very quickly.</p><h4>Protocols</h4><p>Connecting two computers, which may have different hardware and run different software, is one of the main problems that the creators of the Internet had to solve. They found a solution in the use of standardized <strong>protocols</strong>. In networking, a protocol is a standardized way of performing certain actions and formatting data so that two or more devices can communicate and understand each other.</p><p>There are protocols for sending packets between devices on the same network (Ethernet), for sending packets from network to network (IP), for ensuring those packets successfully arrive in order (TCP), and for formatting data for websites and applications (HTTP). In addition to these foundational protocols, there are also protocols for routing, testing, and encryption. And there are alternatives to the protocols listed above for different types of content — for instance, streaming video often uses UDP instead of TCP.</p><p>Because all computers and other devices connected to the Internet can interpret and understand these protocols, the Internet works on any device.</p><h4>Internet Addresses</h4><p>Each device connected to the Internet possesses a unique identifier known as an IP address. This numerical address, following the format nnn.nnn.nnn.nnn, ensures precise routing and delivery of data across the Internet.</p><h3>HTTP and HTTPS: Are They the Same?</h3><p>The <strong>Hypertext Transfer Protocol</strong> (<strong>HTTP</strong>) is the foundation of the World Wide Web. It makes it easy to load web pages using hypertext links, allowing information to be exchanged between networked devices. A typical flow over HTTP involves a client machine making a request to a server, which then sends a response message. The <strong>Hypertext Transfer Protocol Secure</strong> (<strong>HTTPS</strong>) works similarly to HTTP but adds an extra layer of security through encryption, ensuring the integrity and confidentiality of data in transit.</p><p>In conclusion, the Internet is a multifaceted and complex network that includes physical infrastructure, standardized protocols, packet data transmission, and unique addressing schemes. Understanding these fundamental mechanisms unlocks the functionality of the Internet, emphasizing its importance in modern communication, connectivity, and information distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UDXsbP9zsgjFJGnknTBHLg.png" /><figcaption>Generated by <a href="https://playground.com/">PlaygroundAI</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d9c4cea759e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>