<?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 Abdul Alim Zakariyah on Medium]]></title>
        <description><![CDATA[Stories by Abdul Alim Zakariyah on Medium]]></description>
        <link>https://medium.com/@abdulalimzakariyah?source=rss-7628773f6207------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1yyI7o6BVPGCv69cbXwqJQ.jpeg</url>
            <title>Stories by Abdul Alim Zakariyah on Medium</title>
            <link>https://medium.com/@abdulalimzakariyah?source=rss-7628773f6207------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 04:24:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdulalimzakariyah/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[Stutern Housemanship Squazzle Project- Configuring Prettier By Abdul Alim]]></title>
            <link>https://medium.com/@abdulalimzakariyah/stutern-housemanship-squazzle-project-configuring-prettier-by-abdul-alim-d782904b040f?source=rss-7628773f6207------2</link>
            <guid isPermaLink="false">https://medium.com/p/d782904b040f</guid>
            <category><![CDATA[stutern-housemanship]]></category>
            <category><![CDATA[configuration]]></category>
            <category><![CDATA[stutern]]></category>
            <category><![CDATA[prettier]]></category>
            <dc:creator><![CDATA[Abdul Alim Zakariyah]]></dc:creator>
            <pubDate>Mon, 17 Oct 2022 15:42:22 GMT</pubDate>
            <atom:updated>2022-12-13T02:04:32.881Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BzLN5tdlpHrxxiFSE5HRfg.png" /></figure><h4><strong>Task 1 — Implementing of prettier to squazzle project</strong></h4><p><strong>What is Prettier?</strong></p><p>Prettier is <strong>an opinionated code formatter</strong> that supports a lot of different programming languages, like: JavaScript. JSON. JSX. CSS.</p><p><strong>Step 1 — </strong>Install <em>prettier </em>via npm, then run the commands below</p><p>I used the npm command to install prettier</p><blockquote>npm install — save-dev prettier eslint-plugin-prettier eslint-config-prettier</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-cQ8T7wUq174IWb6ct7n0A.png" /></figure><p>Step 2 — Creating the prettier configuration file</p><p>Let’s create the file .prettierrc at the root of our project and insert the following settings:</p><blockquote>{<br> “singleQuote”: false<br>}</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*dQmGDoKm7f6WX8LGdE1HZA.png" /></figure><p><strong>Step 3 —</strong> Create <strong>.prettierignore</strong> to add the ignored folder</p><blockquote>node_modules/<br>public/<br>build/</blockquote><p><strong>Step 2 — Created prettier files.</strong></p><p>Then, I created two prettier files <em>.prettierignore</em> and <em>.prettier.JSON</em></p><p><strong>Step 3— In the <em>.prettierignore</em></strong></p><blockquote><em># Ignore artifacts:<br>build<br>coverage</em></blockquote><p><strong>Step 4— In the .prettier.json</strong></p><blockquote><em>{<br>&quot;tabWidth&quot;: 2,<br>&quot;semi&quot;: true,<br>&quot;singleQuote&quot;: true,<br>&quot;arrowParens&quot;: &quot;always&quot;,<br>&quot;printWidth&quot;: 80<br>}</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dQmGDoKm7f6WX8LGdE1HZA.png" /></figure><p><strong>Step 5 — I formatted all files with Prettier using <em>npm.</em></strong></p><blockquote>npx prettier — write .</blockquote><h4><strong>INSTALLATION OF PRETTIER EXTENSION IN MY CODE EDITOR</strong></h4><p>I installed prettier extension in my VS code editor, using the vs code extension marketplace</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7wZPRPDbbXY4BXnYVD-llw.png" /></figure><p>That is all for now</p><h3>Task 2— Integrate Endpoint from BE to Design</h3><p>step 1 — The necessary hook were imported</p><blockquote>import { useRef, useState, useEffect, useContext } from ‘react’;</blockquote><blockquote>import AuthContext from “./context/AuthProvider”;</blockquote><blockquote>import axios from ‘./api/axios’</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qbAdZN6IlsYMY7TPZuglw.png" /></figure><p>step 2 — Then const variable was created in which the necessary</p><blockquote>const Login = () =&gt; {</blockquote><blockquote>}</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cbi9uqBxJ_zKia8V58Wesg.png" /></figure><p>step 3 — Then a folder named API was created where axios.js file was created and axios was installed and imported in to the file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a4tCEihjyRO5MEYjaoHlbw.png" /></figure><h4>Task 3A — Forgot password email template for BE to integrate.</h4><p>step 1 — A folder called forgot_email_template</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bMnzNh0VLnf3-XiDTEOsnw.png" /></figure><p>step 2— Then an HTML file was created named index.html</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AcbndXnsLQVhrvHLbtyenA.png" /></figure><p>step 3 — The forgot password templates was designed in the index.html and inline CSS was used</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PcYPu3IVSWjFpPoqwTog7A.png" /></figure><h4>Task 3B — Forgot password email template for BE to integrate.</h4><p>step 1 — A folder called forgot_email_template</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bMnzNh0VLnf3-XiDTEOsnw.png" /></figure><p>step 2 — Then an HTML file was created named index.html</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AcbndXnsLQVhrvHLbtyenA.png" /></figure><p>step 3 — The forgot password templates was designed in the index.html and inline CSS was used</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*98pwtzpFoMLeUly6TnKkKw.png" /></figure><h4>Task 4— Edit Profile details Feature .</h4><p>step1 — I created a new file in the “pages” folder and named it editProfile.js. I then proceeded to implement the layout using tailwind.CSS to add the necessary styles as specified in the provided figma design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lwlpp9BBJO-bbU5Ync-kkw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3cjYWOecSpVLMe5ZypywXA.png" /></figure><h4>Task 4b — Edit Profile Functionality from BE.</h4><p>step1 —I used the given endpoints provided by the backend team, fetch the user details so when a changes is made to from the user it will be stored and updated in the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8cHQte8i0F_tDrIcvls69A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d782904b040f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>