<?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: Lesly Villalobos</title>
    <description>The latest articles on DEV Community by Lesly Villalobos (@lvtdeveloper).</description>
    <link>https://dev.to/lvtdeveloper</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%2F195727%2Fb7cd5b35-1e35-494a-86b8-cb306188741e.png</url>
      <title>DEV Community: Lesly Villalobos</title>
      <link>https://dev.to/lvtdeveloper</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lvtdeveloper"/>
    <language>en</language>
    <item>
      <title>The definition and path to becoming a freelancer</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Fri, 16 Apr 2021 14:39:16 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/the-definition-and-path-to-becoming-a-freelancer-3ndn</link>
      <guid>https://dev.to/lvtdeveloper/the-definition-and-path-to-becoming-a-freelancer-3ndn</guid>
      <description>&lt;p&gt;Hi everyone, today I would like to talk about a topic you can relate to, which is the freelancer's journey. Let's start with the following question&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Is being a freelancer a lifestyle and at what point do you stop being a freelancer? &lt;/b&gt;&lt;/p&gt;

&lt;p&gt;If we look up the definition of freelancer, it tells us that it is a person who works on his or her own account to provide services and get paid for it. . Under that definition I have this couple of questions that come to my mind &lt;/p&gt;

&lt;p&gt;&lt;b&gt;How profitable is it to be a freelancer all your life?&lt;br&gt;
What is the motivation that drives you to become a freelancer?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Many colleagues have the vision of the freelancer as the person who travels the world programming, others simply don´t want to have a boss who is giving them orders and others just want to earn more because they don´t have a company that takes a percentage of their profit, the reasons can be endless.&lt;/p&gt;

&lt;p&gt;I personally know people who have high earnings as freelancers, but I also know others who earn on average, the same as they would earn in a company, being this group the largest.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What is the biggest disadvantage of being a freelancer?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;I think the main disadvantage of being a freelancer is that by depending on yourself, if something happens to you, you stop producing money, that is, you don´t have a backup team to support you and that sometimes tends to become a burden especially when there are people who depend on you economically. That would explain why most freelancers (statistically) are young and single people. So the question is&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Is being a freelancer a lifestyle or is it just a stepping stone to building your own business? &lt;/b&gt;&lt;/p&gt;

&lt;p&gt;I think it depends a lot on the perspective, motivation, and situation of each programmer, maybe there are some who would not change their freelancer status for more money or who look for a way to produce a lot of money, and there are others who dare to take that step to the next level by forming a working group or company, which leads to more management responsibility and less code.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What about you? Has your experience been different?&lt;/b&gt; &lt;br&gt;
Let me know.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Have a nice day, coders💜&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>career</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>The best advice for software developers</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Sat, 19 Sep 2020 00:10:36 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/the-best-advice-for-software-developers-19c2</link>
      <guid>https://dev.to/lvtdeveloper/the-best-advice-for-software-developers-19c2</guid>
      <description>&lt;p&gt;Read the documentation!&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to compete with low market prices?</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Fri, 18 Sep 2020 18:34:45 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/how-to-compete-with-low-market-prices-1mp6</link>
      <guid>https://dev.to/lvtdeveloper/how-to-compete-with-low-market-prices-1mp6</guid>
      <description>&lt;p&gt;Hi! Lately I have been reviewing freelancer work platforms and I could observe that the prices offered by freelancers from countries with fractured economies are very low, much lower than the average, which makes it difficult for other programmers to compete . It's nothing new, I know but the idea of this post is to learn more about the topic.&lt;/p&gt;

&lt;p&gt;I understand the free market and that everyone sets the price they consider fair for their work, but doesn't it end up being unfair? How do you compete with those prices?  Even for the same programmers who offer those low prices. &lt;/p&gt;

&lt;p&gt;What would be the solutions to this problem? For example, for me it would be, that the platforms establish a minimum price for technology, that is, depending on the technology there should be a minimum price to offer in this way if someone charges the minimum would be charging the fair.&lt;/p&gt;

&lt;p&gt;For the freelancers who work on these platforms...&lt;/p&gt;

&lt;p&gt;-What has been your experience?&lt;br&gt;
-How do you compete with such low prices?&lt;br&gt;
-Are there any platforms that set minimum prices?&lt;br&gt;
-What would be your solution?&lt;/p&gt;

&lt;p&gt;I'm waiting for your opinion. &lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Have a nice day, coders💜&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>opinion</category>
      <category>freelancer</category>
    </item>
    <item>
      <title>Laravel Vue Router - Tutorial</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Mon, 09 Sep 2019 14:35:16 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/laravel-vue-router-tutorial-1965</link>
      <guid>https://dev.to/lvtdeveloper/laravel-vue-router-tutorial-1965</guid>
      <description>&lt;p&gt;Vue Router is the official router for Vue.js  to make building Single Page Applications by allowing you to link URLs to specific components. &lt;/p&gt;

&lt;p&gt;Features include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nested route/view mapping&lt;/li&gt;
&lt;li&gt;Modular, component-based router configuration&lt;/li&gt;
&lt;li&gt;Route params, query, wildcards&lt;/li&gt;
&lt;li&gt;View transition effects powered by Vue.js' transition system&lt;/li&gt;
&lt;li&gt;Fine-grained navigation control&lt;/li&gt;
&lt;li&gt;Links with automatic active CSS classes&lt;/li&gt;
&lt;li&gt;HTML5 history mode or hash mode, with auto-fallback in IE9&lt;/li&gt;
&lt;li&gt;Customizable Scroll Behavior&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We are going to use vue-router to assign each menu element  to the component we want to show. Let's get started!&lt;/p&gt;

&lt;h2&gt;Setup&lt;/h2&gt;

&lt;p&gt;Open your terminal and run these commands below:&lt;/p&gt;


&lt;li&gt;Install the Laravel application (In this case the project's name is "catgallery" You can choose the name that you want):&lt;/li&gt;
&lt;br&gt;
 &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F7c2nvum021awbki9p4rb.png" alt="Alt Text"&gt;


&lt;li&gt;Enter to the new directory with the command:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F7ugm8vz7vkw3wwocphik.png" alt="Alt Text"&gt;


&lt;li&gt;Install Vue:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fji51cvhagr4c4mu3hucq.png" alt="Alt Text"&gt;


&lt;li&gt;Install npm:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F01btismzoq44cmfjzid6.png" alt="Alt Text"&gt;


&lt;li&gt;Install Vue Router:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F82om72sh6ko5ras5t19k.png" alt="Alt Text"&gt;

&lt;h2&gt;App.js&lt;/h2&gt;

&lt;p&gt;Go to the main JavaScript file resources/assets/js/app.js and update with the code below:&lt;/p&gt;


&lt;li&gt;Import vue-router:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ferv3f3umfr2x2zr5zy60.png" alt="Alt Text"&gt;


&lt;li&gt;Next we tell Vue to use the vue-router plugin:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F29r1gvpmbyxkjbobq49a.png" alt="Alt Text"&gt;


&lt;li&gt;Set up the routes (We'll create the components later):&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fkdx596n6ayxcqo1z46il.png" alt="Alt Text"&gt;


&lt;li&gt;Create the router instance and pass the routes option:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fp29qccoiotek1ockyxfe.png" alt="Alt Text"&gt;


&lt;li&gt;To get rid of the hash, we can use the router's history mode, which leverages the history.pushState API to achieve URL navigation without a page reload:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F8c6rx9pkndgqy8x30pkt.png" alt="Alt Text"&gt;


&lt;li&gt;Create and mount the root instance:&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fl23q9z3cbmqvoi5hth5j.png" alt="Alt Text"&gt;


&lt;li&gt;resources/js/app.js&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Frz3qjvak166b0cv12elj.png" alt="Alt Text"&gt;

&lt;h2&gt;Components&lt;/h2&gt;

&lt;p&gt;Create the vue.js components &lt;br&gt;
&lt;/p&gt;
&lt;li&gt;resources/js/components/WelcomeComponent.vue&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F82gn8kpcp3bpkdrvo60j.png" alt="Alt Text"&gt;


&lt;li&gt;resources/js/components/KittenOne.vue&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fple7pdjzw2ihykcb1kxx.png" alt="Alt Text"&gt;


&lt;li&gt;resources/js/components/KittenTwo.vue&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fcd2mnzfzt9grtkv5e9c6.png" alt="Alt Text"&gt;


&lt;li&gt;resources/js/components/KittenThree.vue&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fi3srcam7fefeiwy2jpze.png" alt="Alt Text"&gt;

&lt;h2&gt;View&lt;/h2&gt;

&lt;p&gt;Update welcome.blade.php&lt;/p&gt;


&lt;li&gt;Add style css&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fdjuxyufiawkr8a7ll077.png" alt="Alt Text"&gt;


&lt;li&gt;Add id&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F51wap7bgbxq61zbny4ia.png" alt="Alt Text"&gt;


&lt;li&gt;Add router-link component for navigation&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fxh5ly1y9g1cyyocauudc.png" alt="Alt Text"&gt;


&lt;li&gt;Add router-view tag. The router use this tag as a container for rendering the different components tied to the different routes.&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Faxqhlcfyor8yyv45abxf.png" alt="Alt Text"&gt;


&lt;li&gt;Add js&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F45svx3afu9r8pw4qw84z.png" alt="Alt Text"&gt;


&lt;li&gt;resources/views/welcome.blade.php&lt;/li&gt;
&lt;br&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fnqdpfbah5tobxss1x8aa.png" alt="Alt Text"&gt;

&lt;h2&gt;Styles&lt;/h2&gt;

&lt;p&gt;Now add some style public/css/mystyle.css&lt;br&gt;
&lt;iframe src="https://jsfiddle.net/lvtdeveloper/4o8x93ap/4//embedded/css//dark" width="100%" height="600"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;Final Steps&lt;/h2&gt;

&lt;p&gt;npm run dev&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fhc9godrcq1dcunkhs15m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fhc9godrcq1dcunkhs15m.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Start the app with the command below:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F7bff8gke72afga81s1ka.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F7bff8gke72afga81s1ka.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's done =)&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F3x12xij75qbit2jlq8p7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F3x12xij75qbit2jlq8p7.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope this example will be of help to you. 🐈&lt;br&gt;
Be creative and have fun along the way.&lt;/p&gt;

&lt;p&gt;Song while I was writing the post ☺️ &lt;a href="https://open.spotify.com/track/4as4XEOR03oGm1STUKl6pa?si=DwWg9bE7Sdmur8OTQ-7ijA" rel="noopener noreferrer"&gt;https://open.spotify.com/track/4as4XEOR03oGm1STUKl6pa?si=DwWg9bE7Sdmur8OTQ-7ijA&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Have a nice day, coders💜&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>vue</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Start achieving your goals! Stop procrastinating</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Fri, 23 Aug 2019 14:05:45 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/start-achieving-your-goals-stop-procrastinating-a3c</link>
      <guid>https://dev.to/lvtdeveloper/start-achieving-your-goals-stop-procrastinating-a3c</guid>
      <description>&lt;p&gt;Have you had those days when you have a lot of goals in your head? &lt;br&gt;
Are there projects you'd like to do but haven't started yet? &lt;br&gt;
Your thoughts are from one idea to another? &lt;br&gt;
Are you in those moments when you're thinking so much until you get a headache and end up in your bed watching Netflix, playing or just doing something that has nothing to do with meeting your goals? xD&lt;br&gt;
When we are in these situations we tend to get so stressed out thinking that our mind rejects everything that produces stress and so we end up procrastinating.&lt;/p&gt;

&lt;h2&gt;What to do when we are in these situations?&lt;/h2&gt;

&lt;p&gt;First of all, breathe. &lt;br&gt;
Then, have a good breakfast, find a place where you feel comfortable and start writing a list with everything you want to do, list all the activities, projects and goals you have in mind. When you finish the list, start classifying them into short term and long term benefits, for example, you want to develop a project for a client or a specific target but you also want to study a new language that catches your attention. The first one would take several weeks but would bring immediate benefits (short-term benefit) and the second would take less of you but the benefits would not be seen now since you don't currently have a specific project (long-term benefit).&lt;/p&gt;

&lt;p&gt;Once you have the list in two blocks, keep the list that will benefit you in the short term, that doesn't mean you're not going to do the other thing, just for now, you will focus all your attention on activities that will benefit you in the short term.&lt;/p&gt;

&lt;p&gt;Having these goals in mind, start to write a list of daily activities to achieve these goals. It is important to write them down because this way you will feel more motivated and committed and each time you complete an activity you will be able to cross it off your list and continue with the next one. That feeling of accomplishing an activity will make you feel good and will keep you motivated.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F6g7xqmsxks1s6t5raei6.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F6g7xqmsxks1s6t5raei6.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✔️ Put your ideas in order and be clear about what you want to do.&lt;br&gt;
✔️ Do it preferably at the beginning of the day after a good breakfast.&lt;br&gt;
✔️ Write down a list of goals and objectives you want to achieve.&lt;br&gt;
✔️ Classify those goals into short and long term benefits.&lt;br&gt;
✔️ Keep short-term goals.&lt;br&gt;
✔️ Make a list of daily activities (you can include schedules) to meet each goal.&lt;br&gt;
✔️ Begin to perform each activity and give your best effort.&lt;/p&gt;

&lt;p&gt;There are many ways to achieve goals, I only share the method that worked for me when I was overwhelmed with a lot of things to do. I hope these tips will help you 🌻&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Have a nice day, coders💜&lt;/p&gt;

</description>
      <category>career</category>
      <category>beginners</category>
      <category>productivity</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Take a few minutes for yourself</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Mon, 12 Aug 2019 16:00:12 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/take-a-few-minutes-for-yourself-1bdp</link>
      <guid>https://dev.to/lvtdeveloper/take-a-few-minutes-for-yourself-1bdp</guid>
      <description>&lt;p&gt;Are you in those days when you've slept very little because you've stayed up late coding? Or maybe you have days or weeks that you haven't seen your friends? Or you're just on autopilot. Whatever your case, stop, stop for a moment, breathe and put your ideas in order before going on.&lt;/p&gt;

&lt;p&gt;We all have very different goals in life, but if we are on this platform is because we have this in common and sometimes it tends to consume us, sometimes we get to a point where we lose the course and we forget why the goal is.&lt;/p&gt;

&lt;p&gt;Take a few minutes a day each morning for yourself, clear your mind and then ask yourself the necessary questions to know your goals in life, evaluate if the choices you are taking are the right one for you, and if it is not the case don't be afraid to go back and change course.&lt;/p&gt;

&lt;p&gt;You are capable of achieving everything you set out to achieve as long as it is what you want because, in the long run, it's what's going to make you happy and that what really matters.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Have a nice day, coders💜&lt;/p&gt;

</description>
      <category>career</category>
      <category>beginners</category>
      <category>productivity</category>
      <category>motivation</category>
    </item>
    <item>
      <title>How using React in a Laravel application - Tutorial</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Thu, 25 Jul 2019 14:25:18 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/using-react-in-a-laravel-application-8fp</link>
      <guid>https://dev.to/lvtdeveloper/using-react-in-a-laravel-application-8fp</guid>
      <description>&lt;p&gt;Reactive applications are a big part of the web world, that's why it is necessary to use the latest technologies to deploy.  Laravel had integrated a Scaffolding to deploy React JS since version 5.5. In this tutorial, we’ll learn how to integrate React and Laravel.&lt;/p&gt;

&lt;p&gt;Actually, it is really simple so let's start it!&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Installing Laravel&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;To create a new project in Laravel, the first thing we've to do is download the Laravel installer using Composer:&lt;/p&gt;

&lt;p&gt;$ composer global require laravel/installer&lt;/p&gt;

&lt;p&gt;If you don't have composer installed please go to: &lt;a href="https://dev.to/lvtdeveloper/installing-virtual-environment-with-laravel-homestead-tutorial-4p32"&gt;https://dev.to/lvtdeveloper/installing-virtual-environment-with-laravel-homestead-tutorial-4p32&lt;/a&gt;&lt;br&gt;
In this article I explain how to do it so check it out.&lt;/p&gt;

&lt;p&gt;The first command to create our project is "laravel new" followed by the name we want to assign to the project. For instance, "laravel new dutylist" will create a directory named dutylist that contains a new Laravel installation with all of dependencies already installed.&lt;/p&gt;

&lt;p&gt;$ laravel new dutylist&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhg87vvwddp7q81qwr1xk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhg87vvwddp7q81qwr1xk.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once that’s is done enter to the new directory with the command:&lt;/p&gt;

&lt;p&gt;$cd dutylist&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Using React in a Laravel&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;By default, Laravel applications contain an ExampleComponent.vue Vue component located in the resources/js/components directory. The ExampleComponent.vue file is an example of a single file Vue component which defines its JavaScript and HTML template in the same file. Single file components provide a very convenient approach to building JavaScript driven applications. The example component is registered in your app.js file:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3hexbvu139d4mhu9bi9o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3hexbvu139d4mhu9bi9o.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4dyubr082ja2gx8tgebd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4dyubr082ja2gx8tgebd.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We need to change the default Vue.js scaffolding to React.js with the following command:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgvm9i3nt52okogajn45w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgvm9i3nt52okogajn45w.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you can see that Laravel create a react component in the file Example.js located in the resources/js/components directory:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvc46fmczz3qmyr5wa0ro.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvc46fmczz3qmyr5wa0ro.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhtws4an9gmbcvmspdgp8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhtws4an9gmbcvmspdgp8.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Run the command "npm install" to install all the javascript packages necessary for our project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6wvjl992a7nxc7k3dx2w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6wvjl992a7nxc7k3dx2w.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When we install a dependency with npm install, a node_modules directory is automatically generated where the installed packages are saved. Also it is generate a  package-lock.json file who is responsible for keeping track of the changes made within node_modules or when changes are made to the file package.json&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faxtlq87z3dpgttn3k3k7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faxtlq87z3dpgttn3k3k7.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And now we start the app with the command:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxawk0bu6f7oeebezhbs4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxawk0bu6f7oeebezhbs4.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open the browser in the path "&lt;a href="http://localhost:8000" rel="noopener noreferrer"&gt;http://localhost:8000&lt;/a&gt;" and  you can see the default view by Laravel &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd19dyu2krcwl2hjek9la.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd19dyu2krcwl2hjek9la.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's change this view for a view using react.&lt;/p&gt;

&lt;p&gt;Create an index.js file inside the resources/js/components directory&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz3wqnfnkyp6pbqkumrs9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz3wqnfnkyp6pbqkumrs9.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Copy all the content from the Example.js file to the index.js and make some changes:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftrokid0l8ih7sda45wxr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftrokid0l8ih7sda45wxr.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Inside the app.js we add the new component&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmtjwu77qsjdt8w5n6nu3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmtjwu77qsjdt8w5n6nu3.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In order to render any element into the Browser DOM, we need to have a container or root DOM element. In this case will be &lt;/p&gt; and everything inside it will be managed by React DOM. This change will be inside the welcome.blade.php located in the resources/views 

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxdjfa06418kfotx7gfmq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxdjfa06418kfotx7gfmq.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To show a view through React JS, we need to compile JavaScript files using Laravel Mix with the "npm run dev" command:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx3r8488kqhow3kvuxqhl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx3r8488kqhow3kvuxqhl.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And now we have a Laravel app using react.js &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqk5oxa1z2dkx4nko54ck.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqk5oxa1z2dkx4nko54ck.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Have a nice day, coders💜&lt;/p&gt;

</description>
      <category>react</category>
      <category>laravel</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Installing Virtual Environment with Laravel Homestead - Tutorial</title>
      <dc:creator>Lesly Villalobos</dc:creator>
      <pubDate>Tue, 16 Jul 2019 18:29:11 +0000</pubDate>
      <link>https://dev.to/lvtdeveloper/installing-virtual-environment-with-laravel-homestead-tutorial-4p32</link>
      <guid>https://dev.to/lvtdeveloper/installing-virtual-environment-with-laravel-homestead-tutorial-4p32</guid>
      <description>&lt;p&gt;Using a virtual environment it is very common when you're working in development area, since there are so many reasons for its use, for example, if you need to work on a different operating system, maybe you want to use Linux on top of Windows, even if you are working on the same operating system, but the application doesn't support the latest version, you can run it on an old version on a virtual machine.&lt;/p&gt;

&lt;p&gt;This is a list of some benefits of using virtual machines:&lt;/p&gt;

&lt;p&gt;• We can run different operating systems on different virtual machines in the same physical machine at the same time.&lt;br&gt;
• We can have test environments before moving to a production environment.&lt;br&gt;
• Better use of shared resources.&lt;br&gt;
• Reduce the costs of data centers by reducing your physical infrastructure.&lt;br&gt;
• We can work with the same virtual machine configuration on different hardware.&lt;/p&gt;

&lt;p&gt;The use of virtual machine also has disadvantages like they are less efficient than real machines because they access the hardware indirectly. Running software on top of the host operating system means that it will have to request access to the hardware from the host. That will slow the usability, but even with that, it's worth its use.&lt;/p&gt;

&lt;p&gt;Installing a virtual machine may seem difficult but it is not, so let's start with the tutorial!&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Installing VirtualBox&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Virtual Box is virtualization software that allows us to install operating systems within it, it is open-source software and it´s executed in the mains operating systems like Linux, Windows, and Mac. Because of that, it's the perfect option for this tutorial.&lt;/p&gt;

&lt;p&gt;First, we need to go to: &lt;br&gt;
&lt;a href="https://www.virtualbox.org/wiki/Downloads" rel="noopener noreferrer"&gt;https://www.virtualbox.org/wiki/Downloads&lt;/a&gt;&lt;br&gt;
Choose a VirtualBox for your platform and install it. Make sure that you download the correct version for your operating system. &lt;br&gt;
For Linux &lt;a href="https://www.virtualbox.org/wiki/Linux_Downloads" rel="noopener noreferrer"&gt;https://www.virtualbox.org/wiki/Linux_Downloads&lt;/a&gt;&lt;br&gt;
If you’re using Windows, double click the .exe setup file to install VirtualBox. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn41uwksx4jr3ljh1pd7h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn41uwksx4jr3ljh1pd7h.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you’re using Mac, simply open the VirtualBox .dmg file and click on the .pkg file to install. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Installing Vagrant&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Vagrant is the software that will be between our virtual machine provider and us. It allows us to create virtual machines declaratively since it automates everything through a tool through a configuration file. In this file, we declare how we want our virtual machine. Vagrant is also portable since those configuration files can be stored in repositories and shared so that everyone has the same environment.&lt;/p&gt;

&lt;p&gt;The next step is to install Vagrant. &lt;br&gt;
Vagrant works on Mac, Linux, Windows.&lt;br&gt;
Please go to: &lt;a href="http://www.vagrantup.com/downloads.html" rel="noopener noreferrer"&gt;http://www.vagrantup.com/downloads.html&lt;/a&gt; &lt;br&gt;
and choose the option for your operating system.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8t0hjvi076kz9glhmvr6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8t0hjvi076kz9glhmvr6.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Install Homestead&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Homestead is a pre-packaged Vagrant package that provides a good development environment without the need to install PHP. You can install Homestead just by cloning the Homestead Repository. You will need to install Git first if you don’t have it on your system. &lt;/p&gt;

&lt;p&gt;Please go to: &lt;a href="https://git-scm.com/downloads" rel="noopener noreferrer"&gt;https://git-scm.com/downloads&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;After installing the above-mentioned softwares, you need to add the laravel/homestead box to your Vagrant installation. To do so, run the below command:&lt;/p&gt;

&lt;p&gt;$ vagrant box add laravel/homestead &lt;/p&gt;

&lt;p&gt;After loading metadata, you will be prompted to select your choice for Hyperv, Parallels, Virtualbox or vmware_desktop, enter 3 and hit Enter.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl1hor74up9e0kzgkese1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl1hor74up9e0kzgkese1.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, open Git Bash in your desired directory and clone the Homestead Repository by running the command:&lt;/p&gt;

&lt;p&gt;$ git clone &lt;a href="https://github.com/laravel/homestead.git" rel="noopener noreferrer"&gt;https://github.com/laravel/homestead.git&lt;/a&gt; Homestead&lt;/p&gt;

&lt;p&gt;Once downloaded, go to the Homestead directory and run this command:&lt;/p&gt;

&lt;p&gt;$ bash init.sh &lt;/p&gt;

&lt;p&gt;That will create the Homestead.yaml file. The Homestead.yaml file will be placed in your ∼/.homestead directory.&lt;/p&gt;

&lt;p&gt;Please note that the ∼/.homestead directory is hidden by default, make sure that you can see hidden files.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Configuring Homestead.yaml File&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Open your Homestead.yml file which is inside Homestead directory.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25v51foow8bc8vvrtj3x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F25v51foow8bc8vvrtj3x.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see, we can configure the IP address, memory, cpus and provider of our VM. Here you can distribute your resources as you like. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgoomda8wob2wgijofyjj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgoomda8wob2wgijofyjj.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We need to generate an SSH key for Homestead to authenticate the user and connect to the virtual machine. If you’re working with Git, you may have an SSH key already. If you don’t have it, simply run this command to generate it: &lt;br&gt;
ssh-keygen -t rsa -b 4096 -C &lt;a href="mailto:your_email@example.com"&gt;your_email@example.com&lt;/a&gt;&lt;br&gt;
The command will generate an SSH key for you and put it in the ∼/.ssh directory automatically, you don’t need to do anything else. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkskzoqci29wd6d1b7xtw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkskzoqci29wd6d1b7xtw.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We use folders section to specify the directory that we want to share with our Homestead environment. If we add, edit or change any files on our local machine, the files will be updated automatically on our Homestead virtual machine. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwgh9dvaed6i3za09x9dy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwgh9dvaed6i3za09x9dy.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This section allows us to map a domain to a folder on our VM. For example, we can map homestead.app to the public folder of our Laravel project, and then we can easily access our Laravel app via this address: "&lt;a href="http://homestead.app" rel="noopener noreferrer"&gt;http://homestead.app&lt;/a&gt;". &lt;/p&gt;

&lt;p&gt;Remember that, when we add any domain, we must edit the hosts file on our local machine to redirect requests to our Homestead environment. &lt;/p&gt;

&lt;p&gt;On OS X and Linux it’s in /etc/host&lt;/p&gt;

&lt;p&gt;On Windows, you can find the hosts file at C:WindowsSystem32\drivers\etc\hosts.&lt;/p&gt;

&lt;p&gt;After opening the file, you need to add this line at the end of the file:&lt;/p&gt;

&lt;p&gt;192.168.10.10 homestead.app&lt;/p&gt;

&lt;p&gt;We have finisehd with the basic configuration to our Homestead.yam file.&lt;/p&gt;

&lt;p&gt;Once we have edited Homestead.yaml file, cd to the Homestead directory, run this command to boot our virtual machine: &lt;/p&gt;

&lt;p&gt;$ vagrant up&lt;/p&gt;

&lt;p&gt;You also can use SSH inside your virtual machine with the following command:&lt;/p&gt;

&lt;p&gt;$ vagrant ssh&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Installing Laravel&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Laravel is the most useful framework on a regular basis because is the right choice for projects with complex backend requirements.  Before using Laravel, make sure you have Composer installed on your machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://getcomposer.org/doc/00-intro.md" rel="noopener noreferrer"&gt;https://getcomposer.org/doc/00-intro.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have installed Composer go to your project's folder that you configured in Homestead.yaml file and create a new project  by issuing this command in your terminal:&lt;/p&gt;

&lt;p&gt;composer create-project --prefer-dist laravel/laravel myproject&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo0jrb4gwptblj92ew37b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo0jrb4gwptblj92ew37b.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pvikn6440fghdf1ctib.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pvikn6440fghdf1ctib.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Done! Now you can build your app inside. &lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Have a nice day, coders💜&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>laravel</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
