<?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: Brin</title>
    <description>The latest articles on DEV Community by Brin (@brt5181).</description>
    <link>https://dev.to/brt5181</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%2F795103%2F15ff8f6a-497f-4587-b623-2b23e0806bff.png</url>
      <title>DEV Community: Brin</title>
      <link>https://dev.to/brt5181</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brt5181"/>
    <language>en</language>
    <item>
      <title>Web Dev: Getting started with Vercel</title>
      <dc:creator>Brin</dc:creator>
      <pubDate>Mon, 14 Mar 2022 01:51:02 +0000</pubDate>
      <link>https://dev.to/brt5181/web-dev-getting-started-with-vercel-3aji</link>
      <guid>https://dev.to/brt5181/web-dev-getting-started-with-vercel-3aji</guid>
      <description>&lt;h2&gt;
  
  
  What is Vercel?
&lt;/h2&gt;

&lt;p&gt;Vercel is an amazing tool that allows you to build you own static sites with a few clicks of a button after setting up your account. Vercel makes the steps of deploying and scaling of your site almost effortless.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to get started with Vercel
&lt;/h2&gt;

&lt;p&gt;First, there are many ways to create an account with Vercel but I recommend to create an account through your Github. You can access the website using the link provided: &lt;a href="https://vercel.com"&gt;Vercel Website&lt;/a&gt;&lt;br&gt;
When creating your account through Github, it allows you to import your repositories with a few simple clicks of a button.&lt;/p&gt;

&lt;h4&gt;
  
  
  Vercel Demo using UI
&lt;/h4&gt;

&lt;p&gt;In the picture below, is my first experience with deploying a static site on Vercel. When my instructor had given us the demo file, all I had to add was the ".env File" and copy and paste the content into the file. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6Ih322Dd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b8tjjmlqj7c6hsb10kf5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6Ih322Dd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b8tjjmlqj7c6hsb10kf5.png" alt="Image description" width="880" height="705"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://vercel-demo-example-three.vercel.app/"&gt;Link to my deployment site&lt;/a&gt;&lt;br&gt;
Here is a link to my Github repository if you would like to clone it and deploy it yourself:&lt;a href="https://github.com/brt5181/Vercel-Demo-Example.git"&gt;Vercel-Demo-Example&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  How to deploy the repo
&lt;/h1&gt;

&lt;p&gt;First make sure you clone the repo or fork the repo provided above so that you can import it to your Vercel account. After that click "New Project" and make sure that you import the correct repository. After that the only thing that you need to do is to just type "dist" or "_site" into the output line on Vercel. In this demo we are going to use "dist" as the output. Once you do this, you are ready to deploy and now you can view the site! The cool thing about Vercel is when you update the Github repository to add more content, it will automatically update the changes to your deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deploying 11ty Projects using Vercel
&lt;/h2&gt;

&lt;p&gt;Uploading your 11ty projects using Vercel is super easy and quick because they required little to no configuration. Here are my 11ty projects that I have deployed.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kBRkDPwh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k5177t6hens4q1iauaed.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kBRkDPwh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k5177t6hens4q1iauaed.png" alt="11typ2 Deployment" width="880" height="487"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://11typ2.vercel.app/"&gt;Link to my 11ty deployment&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;REPO&lt;/strong&gt; &lt;a href="https://github.com/brt5181/11typ2"&gt;My GitHub repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wX26XdHe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/294zclwq6bydjzlai050.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wX26XdHe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/294zclwq6bydjzlai050.png" alt="Image description" width="880" height="662"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://11typ3.vercel.app/"&gt;Link to second 11ty deployment&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Repo&lt;/strong&gt; &lt;a href="https://github.com/brt5181/11typ3"&gt;My Repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you haven't heard of 11ty check out my Blog post: &lt;a href="https://dev.to/brt5181/getting-started-with-11ty-jc1"&gt;Getting started with 11ty&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Developer experience
&lt;/h2&gt;

&lt;p&gt;Compared to the traditional CI/CD pipeline using GitHub, Vercel makes the experience of deploying your static site so much easier and quicker. The traditional CI/CD way of deploying your site can be extremely tedious and gives you little help on the errors you are getting. With Vercel, it was extremely clear when encountering an error during deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Links
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.redhat.com/architect/micro-frontend-architecture"&gt;Micro Front End Architecture by: Michael Potter&lt;/a&gt;&lt;br&gt;
&lt;a href="https://vercel.com/docs/concepts/projects/environment-variables"&gt;Vercel Docs For Environment Variables&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>website</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Getting started with 11ty</title>
      <dc:creator>Brin</dc:creator>
      <pubDate>Sat, 26 Feb 2022 22:13:18 +0000</pubDate>
      <link>https://dev.to/brt5181/getting-started-with-11ty-jc1</link>
      <guid>https://dev.to/brt5181/getting-started-with-11ty-jc1</guid>
      <description>&lt;h2&gt;
  
  
  What is Eleventy
&lt;/h2&gt;

&lt;p&gt;Eleventy is a program that creates a simplified static site generator for web development. It works with many languages but on this post we are going to be using Markdown (.md).&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with Eleventy
&lt;/h2&gt;

&lt;p&gt;I have just recently started working with 11ty for the past few weeks and Let me just say, after overcoming the fear of not knowing what I am doing, I can confidently say it is an amazing tool that helps to simplify web development. &lt;/p&gt;

&lt;h2&gt;
  
  
  How to get started
&lt;/h2&gt;

&lt;p&gt;Here are some links that you should look at to help you start the tutorials needed to learn how to use 11ty. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.11ty.dev/"&gt;Making a Hello-World style Template (Easy)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is how this template will look like:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Vastn8VZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tigv1tly6bcyg8jlcgw4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Vastn8VZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tigv1tly6bcyg8jlcgw4.png" alt="Image description" width="880" height="519"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Tips for Hello-World style template
&lt;/h4&gt;

&lt;p&gt;When I first started to edit the documents in Visual Studio Code, I had no idea what I was doing. In order to learn how to edit the webpage you are creating, just start to type sentences into the "readme.md" File that this tutorial will show you how to create. After that wait for the local host to reload and you should see your changes on the local host page that you will open in your browser!&lt;/p&gt;

&lt;p&gt;If you want to see my repository for this 11ty template looks like, visit my GitHub repository here:&lt;a href="https://github.com/brt5181/11typ1"&gt;My Git repository for Hello-World style template&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/11ty/eleventy-base-blog"&gt;Eleventy Base Blog&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is my example of the base blog template that I Configured:&lt;/p&gt;

&lt;h4&gt;
  
  
  Home Page
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vJFhifym--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d5veunn6w3qpk70jhm7d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vJFhifym--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d5veunn6w3qpk70jhm7d.png" alt="Image description" width="880" height="795"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Archive Page
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NWC58DrR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tt4xhz1oh4ujnj6sr9nr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NWC58DrR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tt4xhz1oh4ujnj6sr9nr.png" alt="Image description" width="880" height="572"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  About Page
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EYDvaKvM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yap8fcudxbncvajj2ok5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EYDvaKvM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yap8fcudxbncvajj2ok5.png" alt="Image description" width="880" height="708"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This template was my favorite one to do because I really helped me to understand how 11ty works. If you simply just edit on of the Post.md files, it reconfigures the index.html file and changes the website for you. This is a really great template for learning how to reverse engineer the the file to create your own webpage.&lt;br&gt;&lt;br&gt;
My GitHub repository: &lt;a href="https://github.com/brt5181/11typ2"&gt;Eleventy Base Blog&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For my third 11ty template, I was going to use HAX11ty but i could not get yarn installed so I had just found another template on google called "Eleventy Netlify Boilerplate"in order to familiarize my self a little more with another template. Here is what it looked like after I had added my Blog posts to it: &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tz0z5IRT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cp5gwasnrdcuaodlcnzj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tz0z5IRT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cp5gwasnrdcuaodlcnzj.png" alt="Image description" width="880" height="931"&gt;&lt;/a&gt;&lt;br&gt;
Ill include a link to my repository for this project in case you wanted to see what I had changed compared to the original template. &lt;a href="https://github.com/brt5181/11typ3"&gt;My changed Netlify Boilerplate&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;The project was a-lot of fun. You are more than welcome to clone the repositories of mine or even the base repositories to mess around with. Here i will post some of my working websites that I was able to upload using git hub pages:&lt;br&gt;
&lt;a href="https://brt5181.github.io/11typ1/"&gt;My hello world website&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webcomponents</category>
      <category>tutorial</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Web Development: Docker</title>
      <dc:creator>Brin</dc:creator>
      <pubDate>Fri, 25 Feb 2022 04:13:00 +0000</pubDate>
      <link>https://dev.to/brt5181/web-development-docker-497o</link>
      <guid>https://dev.to/brt5181/web-development-docker-497o</guid>
      <description>&lt;p&gt;Docker, the leader of the industry for developing and maintaining websites. Docker is extremely powerful because it allows developers to package applications into containers. This has many benefits including saving time, money, and allowing for scalability. It allows allows for developers to test applications in its own "Container" in a timely manner.&lt;/p&gt;

&lt;h2&gt;
  
  
  How To Get Started With Docker
&lt;/h2&gt;

&lt;p&gt;Honestly before 2 weeks ago, I had no idea what Docker was. I learned lot with how and why it works once I started to get hands on with docker. But before we get into that I wanted to address what docker needs in order to run your application.&lt;/p&gt;

&lt;h4&gt;
  
  
  DockerFile
&lt;/h4&gt;

&lt;p&gt;The docker file is the most crucial part needed to set up an application in docker. Here is an example of a simple docker-file for the newsAPI micro service that I can post how to setup in docker towards the end of this post.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NGnM4947--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j2cbghr3izng44bcca8q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NGnM4947--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j2cbghr3izng44bcca8q.png" alt="Image description" width="602" height="590"&gt;&lt;/a&gt;&lt;br&gt;
Basically what this "DockerFile" does is that is automates all the code and commands needed to setup the application on a new device(In this case the new device is the new docker instance.)&lt;/p&gt;

&lt;h6&gt;
  
  
  How to create a DockerFile within the Docker Playground
&lt;/h6&gt;

&lt;p&gt;Step One: Add a new instance into your docker playground&lt;/p&gt;

&lt;p&gt;Step Two: Clone the necessary project from GitHub Example: &lt;code&gt;get clone "GitHub Link here"&lt;/code&gt; Note: Do not use parenthesis in your code for this step&lt;/p&gt;

&lt;p&gt;Step Three: Create your Docker file by using: &lt;code&gt;touch DockerFile&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Step Four: You can now use the editor to insert the necessary code into your DockerFile (Use the screenshot above to help you setup the correct commands needed into your docker file.) Note: Some Applications will need more steps within the file to get it to run within docker.&lt;/p&gt;

&lt;h3&gt;
  
  
  newsAPI Micro service Fully setup
&lt;/h3&gt;

&lt;p&gt;Here are some screen shots to show what the end result looks like once you are able to get the newsAPI Micro Service setup.&lt;br&gt;
Screenshot 1(the end result):&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---ii8A6I---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/82zk10au1b7mmc36tmp8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---ii8A6I---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/82zk10au1b7mmc36tmp8.png" alt="Image description" width="880" height="535"&gt;&lt;/a&gt;&lt;br&gt;
Screenshot 2(Manually searching through the API data base for tesla info):&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ICC5TgBD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/439q85p997fwk4aomtbu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ICC5TgBD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/439q85p997fwk4aomtbu.png" alt="Image description" width="880" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Links to get started with Docker
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Link 1
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://www.docker.com/101-tutorial"&gt;Docker 101 Tutorial&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Link 2
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://github.com/heyMP/ist402-docker/tree/master/labs/7-news-api-microservice"&gt;Walkthrough Setting up newsAPI microService with Docker&lt;/a&gt;&lt;/p&gt;

</description>
      <category>docker</category>
      <category>webdev</category>
      <category>student</category>
      <category>programming</category>
    </item>
    <item>
      <title>Front End Dev How We find the IP address and use it to find Longitude and Latitude</title>
      <dc:creator>Brin</dc:creator>
      <pubDate>Sun, 30 Jan 2022 22:48:25 +0000</pubDate>
      <link>https://dev.to/brt5181/front-end-dev-how-we-find-the-ip-address-and-use-it-to-find-longitude-and-latitude-1bfh</link>
      <guid>https://dev.to/brt5181/front-end-dev-how-we-find-the-ip-address-and-use-it-to-find-longitude-and-latitude-1bfh</guid>
      <description>&lt;p&gt;&lt;strong&gt;Brt5181&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  IP FAST API (Finding IP)
&lt;/h2&gt;

&lt;p&gt;To start of I wanted to introduce how we get the IP address by using the &lt;a href="https://ip-fast.com/api/ip/?format=json&amp;amp;location=True"&gt;IP Fast API&lt;/a&gt;. If you click on this link and open it in a new tab it should display all of the raw data that the api can output. This api is how we can find the IP Address show below.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_od0rYdd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fbb2wfgy0r7rq4mic4yi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_od0rYdd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fbb2wfgy0r7rq4mic4yi.png" alt="Image description" width="880" height="753"&gt;&lt;/a&gt;&lt;br&gt;
In the UpdateUserIP() function, The method will fetch the ipLookUp which is the API link displayed above, then will check to see if it can be processed with this statement here: &lt;br&gt;
&lt;code&gt;&lt;br&gt;
return fetch(this.ipLookUp)&lt;br&gt;
      .then(resp =&amp;gt; {&lt;br&gt;
        if (resp.ok) {&lt;br&gt;
          return resp.json();&lt;br&gt;
        }&lt;br&gt;
        return false;&lt;br&gt;
      })&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
After this method verifies that we can use the json data. We then move to where we will pick apart the data so that we can use it to display and use with the the GeoIP that we will discuss later. Here is where we can convert specific parts of the json into variable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.then(data =&amp;gt; {
        this.ip = data.ip;

        this.location = `${data.city} ${data.country}`;
        return data;
      });
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now that we have the IP address stored as "this.ip" we can now tag the ip address as UserIP. Honestly I still don't completely understand the Tag process but I do know that it has something to do with the Lit Dependency.&lt;/p&gt;

&lt;p&gt;We now have access to the provided IP address which now means we can use our IP Address with the next API in order to find out the Latitude and Longitude. The API we used to do this is: &lt;a href="https://freegeoip.app/json/"&gt;FreegeoIP&lt;/a&gt;. Again if you're interested to see how the data is portrayed with this API, Just click on the link and you should be able to see the array of data.&lt;/p&gt;

&lt;h2&gt;
  
  
  GeoIP API
&lt;/h2&gt;

&lt;p&gt;Below will be the method that allows us to create a new element of the userIP class that we can use for the "Freegeoip" API in order to determine the Longitude and Latitude.&lt;/p&gt;

&lt;h2&gt;
  
  
  Combination of both API's
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;async getGEOIPData() {
    const IPClass = new UserIP();
    const userIPData = await IPClass.updateUserIP();
    return fetch(this.locationEndpoint + userIPData.ip)
      .then(resp =&amp;gt; {
        if (resp.ok) {
          return resp.json();
        }
        return false;
      })
      .then(data =&amp;gt; {
        console.log(data);
        this.lat = data.latitude;
        this.long = data.longitude;
        this.city = data.city;
        this.state = data.region_name;
        return data;
      });
  }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As you can see in the method above, It will fetch the location endpoint which is the "FreeGeoIP" API and the User IP that was pulled from the "IP fast" API. The process again check to validate the JSON, then we can pull the data (latitude, longitude, city, and region_name) into their own variables.&lt;/p&gt;

&lt;h2&gt;
  
  
  GITHUB LINK TO PROJECT
&lt;/h2&gt;

&lt;p&gt;Here is A link to our Groups Project: &lt;a href="https://github.com/IST402GroupB/ip-project.git"&gt;IST402 Git Project&lt;/a&gt; The code/Topics I discussed will be located in the source folder under "UserIP.js" (IP Fast API) and the "LocationFromIP.js" (Free Geo IP as well as the combination of the two)&lt;br&gt;
If your interested in running the project, Take a look at "Intro to front end" Blog that will show you the tools necessary for you to run this GitHub project.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>frontend</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Intro To Web Development</title>
      <dc:creator>Brin</dc:creator>
      <pubDate>Mon, 17 Jan 2022 02:25:35 +0000</pubDate>
      <link>https://dev.to/brt5181/intro-to-web-development-4ni3</link>
      <guid>https://dev.to/brt5181/intro-to-web-development-4ni3</guid>
      <description>&lt;p&gt;Brian Trojan&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;How to Get NodeJS&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5hwa3He7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9xlicw9d2oxybeshqvbv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5hwa3He7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9xlicw9d2oxybeshqvbv.png" alt="Image description" width="880" height="541"&gt;&lt;/a&gt;&lt;br&gt;
Here is a link to NodeJS &lt;a href="https://nodejs.org/en/"&gt;NodeJS Website&lt;/a&gt; After you get to the website click on LTS version and follow the instructions for installation after the download is complete. &lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;What is NodeJS&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;From my understanding NodeJS is used to make a simplified scalable server to make it easier for a web developer to scale a website using javascript. It helps to save time by automating processes that could become very time-consuming. &lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;How to Get NPM&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;NPM is a very simple installation Process. All you have to do is open terminal (For Mac and Linux users) and type in the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you want to verify that NPM was successfully installed. Type into terminal: &lt;br&gt;
&lt;code&gt;npm -v&lt;/code&gt; This will give you the version that your system is running if it was successfully downloaded&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;open-wc&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;open-wc allows you to create a blank project in a very quick and easy manner. The command used to create a new project.&lt;br&gt;
Here is a link to the video that helped walk me though creating a development environment: &lt;a href="https://www.youtube.com/watch?v=r_mio0e6v1g"&gt;EdTechJoker: Intro to tooling and getting started&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm init @open-wc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;What is NPM&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;NPM also know as Node Package Manager. The name is very self explanatory, It manages the Packages for the website that you are trying to create. It manages thousands of packages that help to save the developer a lot of time by automating that process for them. Npm also allows you to view the "Finished View" of your work by using the command &lt;code&gt;npm start&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Myself being new to web development, I was able to create a simple local host using the &lt;code&gt;npm start&lt;/code&gt; command.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FyKs8rp3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/00zoqacpf3hzyimh9kde.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FyKs8rp3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/00zoqacpf3hzyimh9kde.png" alt="Image description" width="880" height="917"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;VS Code&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Visual Studio Code is a great coding environment to add/edit your project. It it very helpful color coding different parts of you code and also has a debugging feature that could help you with errors within your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Lit&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Lit is a great resource to help you get started with learning JavaScript and HTML. here is a link to what I had used to get familiar with a simple project. &lt;a href="https://lit.dev/playground/#sample=examples/full-component"&gt;Lit Intro to JS and walkthrough&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
