<?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 Kiprotichkimutai on Medium]]></title>
        <description><![CDATA[Stories by Kiprotichkimutai on Medium]]></description>
        <link>https://medium.com/@kiprotichkimutai01?source=rss-79028f9470f4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HSsVMDLAByPTj8NK</url>
            <title>Stories by Kiprotichkimutai on Medium</title>
            <link>https://medium.com/@kiprotichkimutai01?source=rss-79028f9470f4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:55:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kiprotichkimutai01/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[Unlocking Insights at the University of Warwick Summer School: A Journey of Transformation]]></title>
            <link>https://medium.com/@kiprotichkimutai01/unlocking-insights-at-the-university-of-warwick-summer-school-a-journey-of-transformation-1240264d49b3?source=rss-79028f9470f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1240264d49b3</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[sickle-cell]]></category>
            <category><![CDATA[digital-health]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Kiprotichkimutai]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 14:13:28 GMT</pubDate>
            <atom:updated>2023-10-13T14:13:28.759Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Authors:</strong> Kiprotich Kimutai and Terry Gichuhi</p><p>In recent months, our team has been dedicated to crafting an <a href="https://noappforthis.africa/podcast-1-ideation-and-execution-balancing-novelty-and-feasibility-viability-in-health-app-development/">AI-based solution</a> aimed at enhancing healthcare in Africa. Our journey led us to the University of Warwick, where we participated in a transformative summer school program. This blog post serves as a narrative of our immersive experience, shedding light on the invaluable insights we gained and the profound impact they’ve had on the trajectory and methodology of our application.</p><p>One of the highlights during the summer school was a session that delved into the regulatory challenges associated with mobile applications. This discussion shed light on the complexities and legal hurdles that app developers face, offering a deeper understanding of the digital landscape. Additionally, the presenters touched on the opportunities and challenges linked to collecting and handling personal health data. This was a critical discussion, especially in the context of digital health in Africa, where the responsibility for safeguarding sensitive information is paramount.</p><p>Dr. Nandiita’s presentation on the governance of digital health data in different countries, focusing on India, was particularly illuminating. Understanding diverse approaches and regulations in various regions added depth to our perspective. Exploring the distinction between hard and soft law was another aspect that broadened our legal comprehension. This session likely provided a foundation for navigating the intricate legal aspects of technology development.</p><h4><strong>Empowering Change Through Focus</strong></h4><p>The pivotal moment of the summer school came when we received insights from Dr. Joy Malala. Her guidance led us to pivot our project towards developing an application empowering <a href="https://www.wvi.org/sites/default/files/CHW%20Profile%20Kenya_0.pdf">Community Health Workers (CHW)</a> in Kenya to address sickle cell disease at the grassroots level. Dr. Malala’s emphasis on narrowing our focus to a specific niche or challenge resonated deeply. It highlighted the importance of creating impactful solutions with the potential for significant social change.</p><p>Her cautionary tale of an innovation that failed due to overambitious scope underscored the necessity of focusing on specific users and their challenges. This advice was instrumental in shaping our project, ensuring we avoided what she referred to as a “<a href="https://www.sfu.ca/~wainwrig/Econ400/akerlof.pdf">lemon market</a>.”</p><figure><img alt="Dr Joy Malala" src="https://cdn-images-1.medium.com/max/1024/1*zhY873B4Uofg57Vlhg44UA.jpeg" /><figcaption>Dr. Joy Malala presenting on the digitalisation of health in Africa</figcaption></figure><p>Furthermore, Dr. Malala’s emphasis on ethical principles in health app development left a lasting impression. Her call to state our intentions clearly from the outset and establish corporate ethical boundaries was particularly relevant given our initial broad scope. Following this enlightening session, we engaged in a discussion within the team to determine the best way forward. It was during this conversation that we made the crucial decision to focus on sickle cell disease, aligning our project with a specific and pressing health issue.</p><p><strong>User-Centric Prototyping</strong></p><p>The third day of the summer school featured sessions with Dr. Ian Saunders, who provided invaluable feedback on our existing prototypes. His emphasis on understanding the needs of our audience and addressing real-world problems was instrumental. He also stressed the importance of creating an engaging onboarding process to ensure the app’s purpose is addressed effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dOXtC4MDA0H1xO1GkDF76w.jpeg" /><figcaption>Dr. Ian Saunders’ session on developing a minimum viable product</figcaption></figure><p>Dr. Ian’s hands-on approach, allowing us to work on prototypes during the presentation, was a memorable learning experience. We delved into <a href="https://www.ibm.com/topics/natural-language-processing">Natural Language Processing (NLP)</a>, using open-source technologies such as <a href="https://huggingface.co/blog/llama2">LLAMA2</a>, <a href="https://www.techtarget.com/searchenterpriseai/definition/transformer-model">Transformers</a>, <a href="https://pypi.org/project/sentence-transformers/">Sentence Transformers</a>, and <a href="https://docs.chainlit.io/get-started/overview">Chainlit</a> for the lightweight user interface.</p><p><strong>Other Standout Sessions</strong></p><p>Intellectual property rights were also a crucial topic of discussion. We gained insights into copyright, trademarks, the software patenting process, and the significance of checking existing patents before embarking on the development of applications. Learning about trade secrets added another layer to our understanding of protecting intellectual property.</p><p>To enhance our presentation skills, we received guidance on creating engaging short videos for idea presentations. Incorporating local languages to make our ideas more accessible was a valuable suggestion that added depth to our communication strategies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rukbhs4Pr71e7AKQMgpzrA.jpeg" /><figcaption>Session on creating videos by Rai Samravan</figcaption></figure><p>Finally, our session with Dr. Yeboah on data handling and visualization provided much-needed knowledge for effectively managing and presenting data, a critical aspect of our application. This skill set is indispensable in the management of health data in the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ew17R6JZ0UyKoR6KtehwQ.jpeg" /><figcaption>MedAssist presentation by Terry and Kimutai</figcaption></figure><p>In summary, the summer school was a transformative experience that equipped us with a wealth of knowledge and practical insights. It inspired us to narrow our focus, maintain ethical standards, and create innovative solutions with the potential to make a real impact on healthcare and society. The observations and feedback that we received during the sessions have left an indelible mark on our application, propelling us toward our goal of effecting meaningful change. As we embark on the next phase of our development process, we carry with us the insights gained from this remarkable experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1240264d49b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day3: Tournament winner]]></title>
            <link>https://medium.com/@kiprotichkimutai01/day3-tournament-winner-656d6972a857?source=rss-79028f9470f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/656d6972a857</guid>
            <dc:creator><![CDATA[Kiprotichkimutai]]></dc:creator>
            <pubDate>Fri, 02 Jun 2023 08:54:54 GMT</pubDate>
            <atom:updated>2023-06-02T08:54:54.053Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hUsGJXj5Xcaxo8MS" /><figcaption>Photo by <a href="https://unsplash.com/fr/@giorgiotrovato?utm_source=medium&amp;utm_medium=referral">Giorgio Trovato</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Let’s solve the tournament winner challenge today</p><p>We are given two arrays. The competition array and the results array. The results array has the same length as the competition array. 0 means the away team won the competition. 1 means the home team won the competition.</p><p>To write an algorithm to do that, we have to look through the competitions while keeping track of the points that every team has. We will use a hashtable that will keep track</p><p>The implementation will be as below</p><pre>TEAM_WON=1<br>def tournamentWinner(competitions, results):<br>    currentBestTeam=0;<br>    scores={currentBestTeam:0}<br><br>    for idx,competition in enumerate(competitions):<br>        result=results[idx]<br>        homeTeam, awayTeam=competition<br>        winningTeam = homeTeam if result==HOME_TEAM_WON else awayTeam<br>        updateScores(winningTeam, 3, scores)<br>        if scores[winningTeam]&gt; scores[currentBestTeam]:<br>            currentBestTeam=winningTeam<br>    return currentBestTeam<br><br>def updateScores(team, points, scores):<br>    if team not in scores:<br>        scores[team]=0<br>    scores[team]+=points</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=656d6972a857" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Day 2] Two ways of solving Is Subsequence challenge on leetcode challenge and its time and space…]]></title>
            <link>https://medium.com/@kiprotichkimutai01/day-2-two-ways-of-solving-is-subsequence-challenge-on-leetcode-challenge-and-its-time-and-space-c0bd1d61db07?source=rss-79028f9470f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0bd1d61db07</guid>
            <dc:creator><![CDATA[Kiprotichkimutai]]></dc:creator>
            <pubDate>Thu, 25 May 2023 12:15:16 GMT</pubDate>
            <atom:updated>2023-05-25T12:19:43.380Z</atom:updated>
            <content:encoded><![CDATA[<h3>[Day 2] Two ways of solving Is Subsequence challenge on leetcode challenge and its time and space complexity</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iRRWkDTRxVtk5aGs" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=medium&amp;utm_medium=referral">Brett Jordan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Subsequence is a common concept in many coding problems. Let’s check out the meaning of a subsequence<br><strong>subsequence — </strong>A subsequence is a sequence that can be derived from another sequence of elements <strong>without changing the order of the remaining elements</strong></p><p>In this question, we are given two arrays (it can be an array of integers or letters), and we are supposed to write a function that shows whether the second array is a valid subsequence of the first array.</p><p>let&#39;s take an example of two strings</p><p>s=”abc” , t=”ahbgdc”</p><p>We have to traverse both arrays. We have to traverse s which is the possible subsequence, and we will also traverse t since the sequence could be located anywhere here.</p><p>We will initialize a pointer to the first element of the possible subsequence s. We will then traverse array t (can be a for loop or a while loop) until we get the first element that our pointer is pointing to. We will then move our pointer in array s while checking the next elements of the array.</p><h4><strong>1. Solution with a for loop</strong></h4><pre> def isSubsequence(self, s, t):<br>        &quot;&quot;&quot;<br>        :type s: str<br>        :type t: str<br>        :rtype: bool<br>        &quot;&quot;&quot;<br>        seqIdx=0<br>        for char in t:<br>            if seqIdx == len(s):<br>                break<br>            if s[seqIdx] == char:<br>                seqIdx+=1<br>        return seqIdx == len(s)</pre><p>time complexity O(n) where n is the length of the array and time complexity is O(1)</p><h4>2. Solution with a while loop</h4><pre> def isSubsequence(self, s, t):<br>        &quot;&quot;&quot;<br>        :type s: str<br>        :type t: str<br>        :rtype: bool<br>        &quot;&quot;&quot;<br>        seqIdx=0<br>        arrIdx=0<br>        while seqIdx&lt;len(s) and arrIdx&lt;len(t):<br>            if t[arrIdx] == s[seqIdx]:<br>                seqIdx +=1<br>            arrIdx+=1<br>        return seqIdx == len(s)</pre><p>They both have the same space and time complexity. But the second one has a faster run time.</p><p>Both solutions can work if you are given a string or an array</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0bd1d61db07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Day1]: Three approaches of solving the two sum problem and the time and space complexity of each…]]></title>
            <link>https://medium.com/@kiprotichkimutai01/day1-three-approaches-of-solving-the-two-sum-problem-and-the-time-and-space-complexity-of-each-fa4d4fadf8e7?source=rss-79028f9470f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa4d4fadf8e7</guid>
            <dc:creator><![CDATA[Kiprotichkimutai]]></dc:creator>
            <pubDate>Wed, 24 May 2023 07:35:38 GMT</pubDate>
            <atom:updated>2023-05-24T07:35:38.575Z</atom:updated>
            <content:encoded><![CDATA[<h3>[Day1]: Three approaches of solving the two sum problem and the time and space complexity of each approach</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*821pN9BNKf8kSp0e" /><figcaption>Photo by <a href="https://unsplash.com/pt-br/@altumcode?utm_source=medium&amp;utm_medium=referral">AltumCode</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Are you stuck deciding the best way to solve the Two Sum problem?</p><p>The “Two Sum” problem is a classic programming challenge that asks us to find two numbers in an array that add up to a given target value. This problem has multiple solutions, each with its own advantages and trade-offs in terms of time and space complexity. In this discussion, we will explore three different approaches to solving the Two Sum problem and analyze each approach&#39;s time and space complexities. You can checkout this challenge on leetcode</p><h3><strong>1. Using two for loops</strong></h3><p>let’s assume we have an array and a target sum</p><p>array=[1,2,3,4,5,6,7,8,9]</p><p>target =15</p><pre><br>class Solution(object):<br>    def twoSum(self, nums, target):<br>        &quot;&quot;&quot;<br>        :type nums: List[int]<br>        :type target: int<br>        :rtype: List[int]<br>        &quot;&quot;&quot;<br>        numberObj ={}<br>        <br>        for i in range(len(nums)):<br>            num1= nums[i]<br>            for j in range(i+1, len(nums)):<br>                num2=nums[j]<br>                if num1+num2==target:<br>                    return [i,j]<br>        return []</pre><p>The solution above has a time complexity of <strong>O(n²) </strong>and a<strong> </strong>constant space complexity of <strong>O(1)</strong></p><h3><strong>2. Using a hash table</strong></h3><p>Using a hash table will take much more space because we are using an object (JavaScript) or a dictionary (Python).</p><p>Let’s use the array and the target above.</p><p>array=[1,4,6,2]</p><p>target=7</p><p>let’s say we have a hash table of numbers</p><p>We will traverse our array, and at each of the numbers that we stop at, we will check if the number needed to sum up to the target value is stored in the hash table.</p><p>target = 7</p><p>current=x(the current number we are at when traversing the array)</p><p>x+y =7</p><p>y=7-x</p><p>As we traverse the array, we have the target and the current number. We need to find y. We will check if y is in the hash table. If it is in the hash tables, we return the indices. You should make sure you store x in the hash table.</p><p>Let’s start at 1 which is the first value in the array,</p><p>if x=1, then y=7–1 = 6</p><p>Then we ask ourselves whether 6 is on our hash table, definitely not because we have not yet stored anything. We will then store 1 with its index on our hash table. Then we move to 4</p><p>if x=4, then y=7–4 = 3</p><p>We then check if 3 is on our hash table. It is also not on the hash table, so we add 4 to the hash table with its index. We move to 6</p><p>if x=6, then y =7–6 = 1</p><p>We check whether 1 is on the hash table, yes, it is on the hash table. We will then return the index of the current iteration and the index of the number that was stored in the hash table. You can check the code below</p><pre> def twoSum(self, nums, target):<br>        &quot;&quot;&quot;<br>        :type nums: List[int]<br>        :type target: int<br>        :rtype: List[int]<br>        &quot;&quot;&quot;<br>        numberObj ={}<br>        <br>        for i,num in enumerate(nums):<br>            if target-num in numberObj:<br>                return [numberObj[target-num], i]<br>            else:<br>                numberObj[num] = i<br>        return []</pre><p>The solution above has a time and space complexity of <strong>O(n)</strong></p><h3><strong>3. Sorting the array</strong></h3><p>Let’s say we have an array [2,-1,3,-2,4,5,6] and a target of 9. We can sort an array using a more optimal sorting algorithm other than using 2 for loops. Good sorting algorithms, like quick-sort, will have a time complexity of <strong>O(nlogn)</strong>. Let’s sort the array.</p><p>array= [-2,-1,2,3,4,5,6]</p><p>We can put a left pointer on the lowest value and a right pointer on the highest value.</p><p>We will have -2 + 6 =4<br>We will then compare the sum to the target. If it does not match the target, we check whether it is less than the target or greater than the target so that we can know how to move. In this case, it is less than the target so we will move the left pointer to the right. because if we move the right pointer to the left, the number will be even smaller.</p><p>moving the left pointer, we will have -1 + 6 = 5</p><p>It is still smaller, so we will move the left pointer to the right. We will get 2+6 = 8, which is still smaller than the target.</p><p>We will move the left pointer to the right. We will get 3+6= 9 which is the target.</p><pre>def twoSum(array, target):<br>    array.sort()<br>    left=0<br>    right=len(array)-1<br>    while left&lt;right:<br>        currentSum=array[left] + array[right]<br>        if currentSum ==target:<br>            return [array[left], array[right]]<br>        elif currentSum&lt;target:<br>            left+=1<br>        elif currentSum &gt; target:<br>            right -=1<br>    return []</pre><p>The solution above will only work when you are asked to return the individual numbers as arrays, not the index.</p><p>The space complexity is <strong>O(nlogn)</strong> time complexity <strong>O(n)</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa4d4fadf8e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Potential of Digital Health for Health Equity in Africa]]></title>
            <link>https://medium.com/@kiprotichkimutai01/exploring-the-potential-of-digital-health-for-health-equity-in-africa-573a74df9405?source=rss-79028f9470f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/573a74df9405</guid>
            <dc:creator><![CDATA[Kiprotichkimutai]]></dc:creator>
            <pubDate>Tue, 28 Mar 2023 09:23:26 GMT</pubDate>
            <atom:updated>2023-03-28T09:25:13.228Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LdT9NEUuIj5n11RTAs50Ig.jpeg" /></figure><p>How can we improve healthcare delivery in Africa, a continent with numerous health challenges and limited healthcare access? How can we address the shortage of healthcare workers, the inadequate infrastructure, and the limited access to medical supplies and equipment? The answer lies in the transformative potential of digital health technologies</p><p>Digital health technologies have the potential to revolutionize healthcare delivery in Africa. With the growing demand for affordable and accessible healthcare, digital health offers a new approach to addressing the various health challenges in Africa. According to the World Health Organization (WHO), Africa carries 24% of the global burden of disease but has only 3% of the world’s health workers. Digital health offers a unique opportunity to bridge the gap and improve health equity in the continent. We will explore the potential for digital health in Africa.</p><h3><strong>Statistics on healthcare in Africa</strong></h3><p>Africa is home to over 1.3 billion people, and healthcare delivery remains a major challenge. Here are some statistics that highlight the current state of healthcare in Africa:</p><ol><li>According to WHO, the average life expectancy in Africa is 61 years, which is 10 years less than the global average.</li><li>The maternal mortality rate in Africa is 510 deaths per 100,000 live births, which is the highest in the world.</li><li>Africa carries 24% of the global burden of disease but has only 3% of the world’s health workers.</li><li>Over 40% of the African population lacks access to essential healthcare services.</li><li>According to a report by the African Development Bank, Africa spends only 5.6% of its GDP on healthcare, which is well below the global average of 10%.</li></ol><p>In this blog, we will explore some of the health tech apps that have boomed in Africa and their potential for improving health equity in the country.</p><ol><li><strong>MyDawa</strong>: myDawa is a Kenyan health tech app that has been in operation since 2017. The app provides an online platform where users can purchase over-the-counter medicines and other healthcare products. The products are delivered to the user’s doorstep, making it convenient for those who cannot access pharmacies or do not have time to visit one. It is the only licensed e-pharmacy in Kenya with a market of circa $1.35bn plus.</li><li><strong>Capsule: </strong>Capsule is a digital health platform that provides an on-demand ambulance booking service through the company’s app. The app connects the patient to the ambulance drivers on booking. Also, the app enables ambulance owners to connect with hospitals to inform them about patients&#39; details. Funding $6M</li><li><strong>IndyGeneUs</strong>: Developer of drugs and clinical disease management solutions by using clinical and multi-omics data. The company is developing genomics data that involves the development of biomarkers and potential drug targets by using genome sequencing technology. Founded in 2020. Funding $4M</li><li><strong>Zuri</strong>: Provider of an online teleconsultation &amp; appointment booking platform for multiple diseases. It provides a digital health platform that enables users to find healthcare professionals based on their needs and can schedule an appointment with them. It provides an online pharmacy where users can order medications for multiple therapeutic conditions. Users can also search for diagnostic labs, hospitals, home care services, and more. Founded in 2020. Funded $1M</li></ol><p><strong>The potential of Digital Health for Health in Africa</strong></p><p>Digital health technologies have the potential to improve health equity in Africa by addressing some of the continent’s health challenges. Some of the ways digital health can improve health equity in Africa include:</p><ol><li>Improving Healthcare Access: One of the biggest challenges facing healthcare in Africa is limited healthcare access, especially in rural areas. However, digital health technologies, such as mHealth and telemedicine, can improve healthcare access by providing remote healthcare services. For example, telemedicine can enable healthcare providers to offer consultations and diagnoses remotely, reducing the need for patients to travel to healthcare facilities physically. Similarly, mHealth can enable healthcare providers to offer healthcare services remotely, such as medication reminders and health education.</li><li>Reducing the Financial Burden of Healthcare: Healthcare in Africa can be expensive, with many people unable to afford healthcare services. However, digital health technologies, such as mobile banking and health savings accounts, can help reduce the financial burden of healthcare. For example, mobile banking platforms can enable users to save money towards their healthcare expenses, while health savings accounts can help users save money for future healthcare expenses.</li><li>Improving Healthcare Quality: Digital health technologies, such as EHRs and health data analytics, can improve healthcare quality by providing healthcare providers with accurate and up-to-date health information. EHRs can enable healthcare providers to access patients’ health records, reducing the risk of medical errors and improving healthcare quality. Similarly, health data analytics can enable healthcare providers to analyze health data and identify health trends, improving healthcare delivery.</li><li>Combating the Spread of Misinformation: Misinformation on healthcare-related issues is a significant challenge in Africa, with many people relying on unreliable sources of information. However, digital health technologies, such as fact-checking apps and health education platforms, can help combat the spread of misinformation. Fact-checking apps, for example, can enable users to fact-check information on healthcare issues, reducing the spread of misinformation.</li></ol><p>Digital health has the potential to transform healthcare delivery in Africa and improve health equity. However, to realize this potential, it is essential to invest in digital health infrastructure, build the capacity of healthcare workers, and ensure that digital health solutions are accessible and affordable to all. By harnessing the power of digital health, we can create a future where healthcare is affordable, accessible, and equitable for all Africans.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=573a74df9405" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jwt rails backend and frontend tutorial]]></title>
            <link>https://medium.com/@kiprotichkimutai01/jwt-rails-backend-and-frontend-tutorial-75d4bc89ba26?source=rss-79028f9470f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/75d4bc89ba26</guid>
            <dc:creator><![CDATA[Kiprotichkimutai]]></dc:creator>
            <pubDate>Sun, 27 Nov 2022 12:10:11 GMT</pubDate>
            <atom:updated>2022-11-27T16:01:10.378Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="auth image" src="https://cdn-images-1.medium.com/max/1024/1*wSUxvlgkMdcVdT8h_1JfpA.jpeg" /></figure><p>Are you having difficulties handling authentication using jwt with rails? Just follow this tutorial😁</p><h4><strong>Setting up the repository</strong></h4><p>Let’s create an API-only rails application. To do that we use the command below</p><pre>rails new jwt-backend-prac --api<br>cd jwt-backend-prac<br>code .</pre><p>Let’s open a new terminal for our react app. We’ll open the two code instances one for the frontend and the other one for the backend.</p><pre>npx create-react-app jwt-frontend<br>cd jwt-frontend<br>npm install<br>code .</pre><p>We need to add a few gems that are required for the authentication</p><pre>bundle add jwt<br>bundle add active_model_serializers<br>bundle add faker</pre><p>After opening the backend directory with an editor, open the gemfile then uncomment bcrypt( Which will be used to hash our passwords) and rack-cors (Which will enable us to make requests from other domains)</p><pre>gem &quot;bcrypt&quot;<br>gem &quot;rack-cors&quot;</pre><p>Let’s navigate config/initializers/cors.rb and uncomment the lines below. Make sure to add * on the origins so that it can accept requests from any domain.</p><pre>Rails.application.config.middleware.insert_before 0, Rack::Cors do<br>  allow do<br>    origins &quot;*&quot;<br><br>    resource &quot;*&quot;,<br>      headers: :any,<br>      methods: [:get, :post, :put, :patch, :delete, :options, :head]<br>  end<br>end</pre><p>Let’s now create our user model</p><pre>rails g model User username password_digest email</pre><p>We will then create a controller as shown below</p><pre>rails g controller api/v1/users</pre><p>Let’s add a user serializer</p><pre>rails g serializer user</pre><p>We can now do the migrations to generate the schema</p><pre>rails db:migrate</pre><p>In ruby, we have macros(class methods that generate instance methods). We will need to use the has_secure_password macros to make sure that the password is hashed using bcrypt. We also need to validate the username to make sure that all users have unique usernames on the model.</p><p>Add has_secure_password to # app/models/user.rb as shown below</p><pre>class User &lt; ApplicationRecord<br>    # app/models/user.rb<br>    has_secure_password<br>    validates :username, uniqueness: { case_sensitive: false }<br>end</pre><p>We will now need to route our requests, for the signup which is a create action.</p><pre># config/routes.rb<br>Rails.application.routes.draw do<br><br>  namespace :api do<br>    namespace :v1 do<br>      resources :users, only: [:create]<br>    end<br>  end<br>end</pre><p>We will now add the create method in the users controller. We are creating a new user with the required params which are username, password and email.</p><pre>def create<br>     user = User.create(user_params)<br>     if user.valid?<br>         render json: { user: UserSerializer.new(user) }, status: :created<br>     else<br>         render json: { error: &#39;failed to create user&#39; }, status: :unprocessable_entity<br>     end<br>end<br><br>private<br><br>def user_params<br>      params.require(:user).permit(:username, :password, :email)<br>end</pre><p>On the user serializer, we will just serialize the email and username.</p><pre>class UserSerializer &lt; ActiveModel::Serializer<br>  # app/serializers/user_serializer.rb<br>  attributes :username, :email<br>end</pre><p>Lets now run our server and simulate the request on postman</p><pre>rails s</pre><figure><img alt="postman simulation" src="https://cdn-images-1.medium.com/max/1024/1*ngHpzlCpqie0Kq_ct1ru8w.png" /></figure><p>We are able to sign up a user if we simulate the request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*47K82PTpJO4rHAhCdyTsbA.gif" /></figure><h4><strong>Let’s now add a login functionality</strong></h4><p>Let&#39;s add the login route on the routes.rb . When logging in, the request is a post because we are sending the username and password. We are also creating a new session when logging in. Since the user already has a create for the sign_up, we will use another controller for the authorization.</p><pre>Rails.application.routes.draw do<br>  # config/routes.rb<br>  namespace :api do<br>    namespace :v1 do<br>      resources :users, only: [:create]<br>    end<br>  end<br>end</pre><p>We need to add the token which can be used to verify the user on the users controller. post: ‘/login’, to: ‘auth#create’ and a method to get the profile</p><pre>...<br> def create<br>        user = User.create(user_params)<br>        if user.valid?<br>            token = encode_token(user_id: user.id)<br>            render json: { user: UserSerializer.new(user), jwt: token }, status: :created<br>        else<br>            render json: { error: &#39;failed to create user&#39; }, status: :unprocessable_entity<br>        end<br>    end<br><br>...</pre><p>We will have to add the encode_token method in the application_controller.rb since the user model is inheriting from it.</p><pre>class ApplicationController &lt; ActionController::API<br>    # Path: app/controllers/application_controller.rb<br>    def encode_token(payload)<br>        JWT.encode(payload, &#39;my_s3cr3t&#39;)<br>    end<br>end</pre><p>Let’s now simulate the signup request on postman using the endpoint below</p><pre>http://localhost:3000/api/v1/users</pre><p>and the body below</p><pre>{<br>    &quot;user&quot;:{<br>        &quot;username&quot;:&quot;kimutai1&quot;,<br>        &quot;email&quot;:&quot;kim@gmail.com&quot;,<br>        &quot;password&quot;:&quot;123456&quot;<br>    }<br>}</pre><figure><img alt="token test" src="https://cdn-images-1.medium.com/max/1024/1*1vAy8EBqKawfIffx5UAniw.png" /></figure><p>We now need to ensure that the user has access to do certain things on our application. On the application_controller.rb</p><pre>class ApplicationController &lt; ActionController::API<br>    # Path: app/controllers/application_controller.rb<br>    before_action :authorized<br>    def encode_token(payload)<br>        JWT.encode(payload, &#39;my_s3cr3t&#39;)<br>    end<br>end</pre><p>We need to skip the before_action authorized on the users controller for the create.</p><pre>class Api::V1::UsersController &lt; ApplicationController<br>  skip_before_action :authorized, only: [:create]<br><br>  def create<br>  ....<br>end</pre><p>Let’s get the token from our header in the users controller so that we can use it to get the current user. We then have to decode the token which can be used to find the use find the user from the database. begin..rescue is just like the try..catch method in javascript. It enables us to catch errors during decoding. We then create a current user method to find the current user.</p><pre> # Path: app/controllers/application_controller.rb<br>def auth_header<br>        # { Authorization: &#39;Bearer &lt;token&#39; }<br>        request.headers[&#39;Authorization&#39;]<br>    end<br><br>    def decoded_token<br>        if auth_header<br>            token = auth_header.split(&#39; &#39;)[1]<br>            begin<br>                JWT.decode(token, &#39;my_s3cr3t&#39;, true, algorithm: &#39;HS256&#39;)<br>            rescue<br>                nil<br>            end<br>        end<br><br>    end<br><br>    def current_user<br>        if decoded_token<br>            user_id = decoded_token[0][&#39;user_id&#39;]<br>            @user = User.find_by(id: user_id)<br>        end<br>    end<br><br>    def logged_in?<br>        !!current_user<br>    end<br><br>    def authorized<br>        if logged_in?<br>            true<br>        else<br>            render json: { message: &#39;Please log in&#39; }, status: :unauthorized<br>        end<br>    end</pre><p>We can now render the profile method on the users controller</p><pre># path: app/controllers/api/v1/users_controller.rb<br>...<br><br>    def profile<br>        render json: user<br>    end<br>...</pre><p>Let’s now create the auth controller.</p><ul><li>Create an auth_controller.rb on api/v1 directory.</li><li>We need to add the create method for the login</li></ul><pre>class Api::V1::AuthController &lt; ApplicationController<br>    skip_before_action :authorized, only: [:create]<br><br>    def create<br>        @user = User.find_by(username: login_params[:username])<br>        if @user &amp;&amp; @user.authenticate(login_params[:password])<br>            token = encode_token(user_id: @user.id)<br>            render json: { user: UserSerializer.new(@user), jwt: token }, status: :accepted<br>        else<br>            render json: { error: &#39;Invalid username or password&#39; }, status: :unauthorized<br>        end<br>    end <br><br>    private<br><br>    def login_params<br>        params.require(:user).permit(:username, :password)<br>    end<br><br>end</pre><p>Go to your routes and modify them to look like this</p><pre>Rails.application.routes.draw do<br>  # config/routes.rb<br>  namespace :api do<br>    namespace :v1 do<br>      resources :users, only: [:create]<br>      post &#39;/login&#39;, to: &#39;auth#create&#39;<br>      get &#39;/profile&#39;, to: &#39;users#profile&#39;<br>    end<br>  end<br>end</pre><p>If we simulate the request on postman with the endpoint below</p><pre>http://localhost:3000/api/v1/login</pre><p>and the body below</p><pre>{<br>    &quot;user&quot;:{<br>        &quot;username&quot;:&quot;kimutai10&quot;,<br>        &quot;password&quot;:&quot;123456&quot;<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qNCUKjiIEwiBs6of9qLZeQ.png" /></figure><p>We can copy the token so that we can use it to access the profile. We have to add the token on the headers as shown below. Don’t forget to add the Bearer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dz8NvW1Sqz-ccrf7yE-J5g.png" /></figure><p>After adding the authorization on the headers, we can simulate the profile using the endpoint below</p><pre>http://localhost:3000/api/v1/profile</pre><p>Make sure it is a GET request. You should get the user data as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oc37f-CA25r9VJ-AmUvZpw.png" /></figure><p><a href="https://github.com/Kimutai01/jwt-backend-prac">GitHub - Kimutai01/jwt-backend-prac</a></p><h3><strong>Let’s now handle the authentication on the frontend</strong></h3><p>When we run the react app, we will just see the react boilerplate as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*InPscWmO01AHixdd8KNVPA.png" /><figcaption>react</figcaption></figure><p>For now, we will do everything on App.js. We need to remove the react boilerplate. We will need to use state to handle the registration. We will then add a form for signing up.</p><pre>import { useState } from &quot;react&quot;;<br><br>function App() {<br>  const [username, setUsername] = useState(&quot;&quot;);<br>  const [email, setEmail] = useState(&quot;&quot;);<br>  const [password, setPassword] = useState(&quot;&quot;);<br>  return (<br>&lt;div className=&quot;App&quot;&gt;<br>&lt;h1&gt;Create new user&lt;/h1&gt;<br>      &lt;form&gt;<br>        &lt;label&gt;<br>          Username:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;name&quot;<br>            value={username}<br>            onChange={(e) =&gt; setUsername(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;label&gt;<br>          Email:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;email&quot;<br>            value={email}<br>            onChange={(e) =&gt; setEmail(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;label&gt;<br>          Password:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;password&quot;<br>            value={password}<br>            onChange={(e) =&gt; setPassword(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;button onClick={handleSubmit}&gt;Submit&lt;/button&gt;<br>      &lt;/form&gt;<br>&lt;/div&gt;<br>);<br>}</pre><p>We will now create the handleSubmit function to handle the registration. In the function, we will create a post request with the username,email and password. We will then log the data on the console.</p><pre>...<br>const API = &quot;http://localhost:3000&quot;;<br><br>  const handleSubmit = (e) =&gt; {<br>    e.preventDefault();<br><br>    fetch(`${API}/api/v1/users`, {<br>      method: &quot;POST&quot;,<br>      headers: {<br>        Accepts: &quot;application/json&quot;,<br>        &quot;Content-Type&quot;: &quot;application/json&quot;,<br>      },<br>      body: JSON.stringify({<br>        user: {<br>          username,<br>          email,<br>          password,<br>        },<br>      }),<br>    })<br>      .then((res) =&gt; res.json())<br>      .then((data) =&gt; console.log(data));<br><br>    setUsername(&quot;&quot;);<br>    setEmail(&quot;&quot;);<br>    setPassword(&quot;&quot;);<br>  };<br>...</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mjjkWwg2CfWgj6KSGqXx1w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*jqQKtsY5wCV-09fuDx1H5g.gif" /></figure><p><strong>Let&#39;s now add the login functionality.</strong></p><p>Let’s add the state for handling the login functionality just below the signup state.</p><pre>...<br>const [loginUsername, setLoginUsername] = useState(&quot;&quot;);<br>const [loginPassword, setLoginPassword] = useState(&quot;&quot;);<br>...</pre><p>We can now add a form to handle the login just below the registration form as shown</p><pre> ...<br>&lt;h1&gt;LOgin&lt;/h1&gt;<br><br>      &lt;form&gt;<br>        &lt;label&gt;<br>          Username:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;name&quot;<br>            value={loginUsername}<br>            onChange={(e) =&gt; setLoginUsername(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br><br>        &lt;label&gt;<br>          Password:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;password&quot;<br>            value={loginPassword}<br>            onChange={(e) =&gt; setLoginPassword(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;button onClick={submitLogin}&gt;Submit&lt;/button&gt;<br>      &lt;/form&gt;<br>...</pre><p>We can now write the submitLogin function to handle the login functionality. Remember, we will have to add the token to the local storage so that we can use it to authenticate the user.</p><pre> ...<br>const submitLogin = (e) =&gt; {<br>    e.preventDefault();<br>    fetch(`${API}/api/v1/login`, {<br>      method: &quot;POST&quot;,<br>      headers: {<br>        Accepts: &quot;application/json&quot;,<br>        &quot;Content-Type&quot;: &quot;application/json&quot;,<br>      },<br>      body: JSON.stringify({<br>        user: {<br>          username: loginUsername,<br>          password: loginPassword,<br>        },<br>      }),<br>    })<br>      .then((res) =&gt; res.json())<br>      .then((data) =&gt; localStorage.setItem(&quot;token&quot;, data.jwt));<br><br>    setLoginUsername(&quot;&quot;);<br>    setLoginPassword(&quot;&quot;);<br>  };<br>...</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*twQ0hNX4iXe4NVj-fvYYZg.png" /></figure><p>After logging in as an already existing user, We will see the token on the local storage. We can now add functionality to view one’s profile.</p><p>We need state to store logged in user.</p><pre>const [loggedUsername, setLoggedUsername] = useState(&quot;&quot;);<br>const [loggedEmail, setLoggedEmail] = useState(&quot;&quot;);</pre><p>Below the login form, we can add a button to get the profile. We will check whether the username exists. If it does not, we display the get profile button. If it does, We display the name and email.</p><pre>...<br>{!loggedUsername ? (<br>        &lt;button onClick={getProfile}&gt;Get Profile&lt;/button&gt;<br>      ) : (<br>        &lt;&gt;<br>          &lt;h1&gt;{loggedUsername}&lt;/h1&gt;<br>          &lt;h1&gt;{loggedEmail}&lt;/h1&gt;<br>          &lt;button onClick={localStorage.clear}&gt;Logout&lt;/button&gt;<br>        &lt;/&gt;<br> )}<br>...</pre><p>We will write the getProfile function to handle all the view profile functionality. Don’t forget to add Authorization on the headers. When we run the server, we should be able to see the username and email</p><pre>...<br>const getProfile = () =&gt; {<br>    fetch(`${API}/api/v1/profile`, {<br>      method: &quot;GET&quot;,<br>      headers: {<br>        Authorization: `Bearer ${localStorage.getItem(&quot;token&quot;)}`,<br>      },<br>    })<br>      .then((res) =&gt; res.json())<br>      .then((data) =&gt; {<br>        console.log(data);<br>        setLoggedUsername(data.user.username);<br>        setLoggedEmail(data.user.email);<br>      });<br>  };<br>...</pre><p>Your app.js should look like this</p><pre>import { useState } from &quot;react&quot;;<br>import &quot;./App.css&quot;;<br><br>function App() {<br>  const [username, setUsername] = useState(&quot;&quot;);<br>  const [email, setEmail] = useState(&quot;&quot;);<br>  const [password, setPassword] = useState(&quot;&quot;);<br><br>  const [loginUsername, setLoginUsername] = useState(&quot;&quot;);<br>  const [loginPassword, setLoginPassword] = useState(&quot;&quot;);<br><br>  const [loggedUsername, setLoggedUsername] = useState(&quot;&quot;);<br>  const [loggedEmail, setLoggedEmail] = useState(&quot;&quot;);<br><br>  const API = &quot;http://localhost:3000&quot;;<br><br>  const handleSubmit = (e) =&gt; {<br>    e.preventDefault();<br><br>    fetch(`${API}/api/v1/users`, {<br>      method: &quot;POST&quot;,<br>      headers: {<br>        Accepts: &quot;application/json&quot;,<br>        &quot;Content-Type&quot;: &quot;application/json&quot;,<br>      },<br>      body: JSON.stringify({<br>        user: {<br>          username,<br>          email,<br>          password,<br>        },<br>      }),<br>    })<br>      .then((res) =&gt; res.json())<br>      .then((data) =&gt; console.log(data));<br><br>    setUsername(&quot;&quot;);<br>    setEmail(&quot;&quot;);<br>    setPassword(&quot;&quot;);<br>  };<br><br>  const submitLogin = (e) =&gt; {<br>    e.preventDefault();<br>    fetch(`${API}/api/v1/login`, {<br>      method: &quot;POST&quot;,<br>      headers: {<br>        Accepts: &quot;application/json&quot;,<br>        &quot;Content-Type&quot;: &quot;application/json&quot;,<br>      },<br>      body: JSON.stringify({<br>        user: {<br>          username: loginUsername,<br>          password: loginPassword,<br>        },<br>      }),<br>    })<br>      .then((res) =&gt; res.json())<br>      .then((data) =&gt; localStorage.setItem(&quot;token&quot;, data.jwt));<br><br>    setLoginUsername(&quot;&quot;);<br>    setLoginPassword(&quot;&quot;);<br>  };<br><br>  const getProfile = () =&gt; {<br>    fetch(`${API}/api/v1/profile`, {<br>      method: &quot;GET&quot;,<br>      headers: {<br>        Authorization: `Bearer ${localStorage.getItem(&quot;token&quot;)}`,<br>      },<br>    })<br>      .then((res) =&gt; res.json())<br>      .then((data) =&gt; {<br>        console.log(data);<br>        setLoggedUsername(data.user.username);<br>        setLoggedEmail(data.user.email);<br>      });<br>  };<br><br>  return (<br>    &lt;div className=&quot;App&quot;&gt;<br>      &lt;h1&gt;Create new user&lt;/h1&gt;<br>      &lt;form&gt;<br>        &lt;label&gt;<br>          Username:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;name&quot;<br>            value={username}<br>            onChange={(e) =&gt; setUsername(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;label&gt;<br>          Email:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;email&quot;<br>            value={email}<br>            onChange={(e) =&gt; setEmail(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;label&gt;<br>          Password:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;password&quot;<br>            value={password}<br>            onChange={(e) =&gt; setPassword(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;button onClick={handleSubmit}&gt;Submit&lt;/button&gt;<br>      &lt;/form&gt;<br><br>      &lt;h1&gt;LOgin&lt;/h1&gt;<br><br>      &lt;form&gt;<br>        &lt;label&gt;<br>          Username:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;name&quot;<br>            value={loginUsername}<br>            onChange={(e) =&gt; setLoginUsername(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br><br>        &lt;label&gt;<br>          Password:<br>          &lt;input<br>            type=&quot;text&quot;<br>            name=&quot;password&quot;<br>            value={loginPassword}<br>            onChange={(e) =&gt; setLoginPassword(e.target.value)}<br>          /&gt;<br>        &lt;/label&gt;<br>        &lt;button onClick={submitLogin}&gt;Submit&lt;/button&gt;<br>      &lt;/form&gt;<br><br>      &lt;hr /&gt;<br><br>      {!loggedUsername ? (<br>        &lt;button onClick={getProfile}&gt;Get Profile&lt;/button&gt;<br>      ) : (<br>        &lt;&gt;<br>          &lt;h1&gt;{loggedUsername}&lt;/h1&gt;<br>          &lt;h1&gt;{loggedEmail}&lt;/h1&gt;<br>          &lt;button onClick={localStorage.clear}&gt;Logout&lt;/button&gt;<br>        &lt;/&gt;<br>      )}<br>    &lt;/div&gt;<br>  );<br>}<br><br>export default App;</pre><p>Link to repository</p><p><a href="https://github.com/Kimutai01/jwt-frontend">https://github.com/Kimutai01/jwt-frontend</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75d4bc89ba26" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is a Bootcamp worth it?]]></title>
            <link>https://medium.com/@kiprotichkimutai01/is-a-bootcamp-worth-it-d796b20dba34?source=rss-79028f9470f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d796b20dba34</guid>
            <dc:creator><![CDATA[Kiprotichkimutai]]></dc:creator>
            <pubDate>Sat, 23 Jul 2022 08:34:01 GMT</pubDate>
            <atom:updated>2022-07-23T08:34:01.305Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f8gHG4ikydMrrbZoRomFnw.jpeg" /></figure><p>When starting a career in tech, there is always this question, should I be a self-taught developer or should I join a BootCamp? I’ll give you the pros and cons of each.</p><h3><strong>Self-taught</strong></h3><p>Being a self-taught developer means that you just find resources for yourself and you plan how you are going to read them. The good thing about being a self-taught developer is that you are able to learn a lot by yourself and that will make it easier for you to keep up with the current technology. It is also a cheaper way to get into tech because the resources are available online. However, It might be difficult to find the right path to follow. Without proper time management, it may be difficult for one to be consistent, and to be a better developer consistency is key. You are also likely to fall into tutorial hell if you watch the code-along videos. As for me, this happened to me several times because I used to watch Udemy courses but at the end of the course, I couldn’t build whatever we built, so that’s why I decided to join a Bootcamp.</p><h3>Bootcamp</h3><p>There are so many BootCamp across the world. If you are looking for the best BootCamp to join you can check <a href="http://coursereport.com/">coursereport.com</a> . I chose to join Microverse because there were no upfront costs. I can say that was the best decision I’ve ever made in life. We are provided with curated content which makes it easier for us to read. It is also project-based so you get a chance to practice the concepts you have learned. You also get an opportunity to meet people from all over the world. This improves your collaboration skills and also communication skills. There are also lessons on soft skills. The problem with boot camps is the high cost of learning.</p><p>According to my experiences, I can say I’d prefer a BootCamp.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d796b20dba34" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>