<?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"><channel><title><![CDATA[Tech Trainee]]></title><description><![CDATA[Experience a journey of my development in tech , while learning new things for yourself]]></description><link>https://blog.devfate.online</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1649944736036/jKSt1UX1I.png</url><title>Tech Trainee</title><link>https://blog.devfate.online</link></image><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 10:14:20 GMT</lastBuildDate><atom:link href="https://blog.devfate.online/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[A Noob's Journey to Blockchain Development in Rust]]></title><description><![CDATA[Discover how I started my journey into blockchain development by learning Rust. In this first article, I share why I chose Rust, the challenges of own]]></description><link>https://blog.devfate.online/a-noob-s-journey-to-blockchain-development-in-rust</link><guid isPermaLink="true">https://blog.devfate.online/a-noob-s-journey-to-blockchain-development-in-rust</guid><category><![CDATA[Rust]]></category><category><![CDATA[Rust programming]]></category><category><![CDATA[Rust, Solana, Web3]]></category><category><![CDATA[Blockchain]]></category><category><![CDATA[Solana]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Mon, 02 Mar 2026 17:15:53 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/5fb758f4ba1e08716c77e99d/6d8dbfb0-33c8-4414-8a4e-72bfcef7014d.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Introduction</h2>
<p>When I picked up Rust, I wanted more than just another programming language. My goal was to build a foundation strong enough to carry me into blockchain development. I also decided to explore low-level programming , as opposed to Python and Javascript, which I was already familiar with (I know some will say Rust is a partial low-level language). I wanted to challenge and change how I think about systems programming.</p>
<p>This drive led me to my first hands-on project, setting the stage for bigger things ahead. This article is the first chapter of that journey. I'll share how I built a ticket validator CLI in pure Rust, what I learned along the way, and how this project fits into my larger roadmap: moving from Rust fundamentals to Solana, Near, and eventually Substrate (yeah, it seems like a lot, but I plan to explore features in these blockchains mentioned, with primary focus on Solana).</p>
<p>I'm taking a domain-based path here, applying what I learn directly to blockchain scenarios so I don't just memorize syntax and forget it. This approach helps me retain knowledge by building projects related to my goals.</p>
<h2>The Reason I Picked Rust</h2>
<p>Rust seemed like a good option due to current articles, videos, and reviews about its usage in production, highlighting its performance, safety, and memory management. Its strictness seemed like a nice choice if I intend to create a reliable blockchain that is to have a no-trust system.</p>
<p>I considered Go and Python, but Go seems not to be heavily used in the crypto world, and Python's dynamic types were a no, as I planned to go with a statically typed language. It is not as performant as Rust (and yes, I love Python). This is a personal opinion, as I have no desire to involve myself in language or framework wars.</p>
<p>Rust's borrow checker has caught memory bugs in my code that Python's flexibility might overlook, and its speed edges out Go in high-stakes blockchain environments where every millisecond counts.</p>
<p>With Rust chosen, the real test began: struggling and understanding its unique rules and rethinking my coding habits.</p>
<h2>Learning Curve</h2>
<p>Rust had me on the ropes😅🥲. The ownership system made me rethink my approach to data and usage before I even began coding. Each piece of data became extremely important to understand, not just another variable to use. I learnt to approach my code thinking about each data's lifetime to avoid using a value that has been dropped from memory and might create a dangling pointer (accessing data in memory that has been deleted).</p>
<p>Rust does not have a garbage collector, so it enforces rules that make you consider each piece of data and the memory it occupies on the system, be it on the stack or heap, since Rust automatically cleans data that goes out of scope.</p>
<p>This gave me more insight into how data used in my code is stored and accessed. For example, in my CLI project, I hit a wall trying to borrow a string after moving it to a function. Rust forced me to clone it instead, teaching me to plan data ownership upfront and avoid runtime errors that could plague a blockchain app.</p>
<h2>Resources That Helped</h2>
<p>The official Rust Book was my holy grail. I read it online chapter by chapter, focusing on text to skip bandwidth-heavy videos due to data limitations😅. Paired with Rustlings exercises (a ~50MB download of interactive CLI drills), it reinforced concepts like borrowing through hands-on fixes. This combo kept things practical and domain-focused, letting me apply lessons straight to blockchain ideas instead of being stuck in tutorial hell.</p>
<p>You can spin up an offline version of the rust book with <code>rustup</code> after installation:</p>
<pre><code class="language-rust">rustup doc --open
</code></pre>
<p>for the standard library:</p>
<pre><code class="language-rust">rustup doc --std
</code></pre>
<h2>Journey So Far</h2>
<p>After getting to Chapter 12 of the Rust Book, I decided to create a ticket validator CLI app to implement what I've learned, as my goal is to link it to the blockchain and make a working app which allows users to buy and sell tickets for events, with minimal gas fees to maximize profits.</p>
<p>What does it do so far? In pure Rust, it handles basic ticket creation, validation, and hashing using crates like <code>serde</code> for JSON serialization and <code>ed25519-dalek</code> for signing secure checks, making it modular and efficient for future Web3 integration.</p>
<p>For now, this CLI serves as a solid proof of concept, showing Rust's power in action. I'll share more details about my progress with the ticket CLI app in future posts. This article is just an introduction.</p>
<h2>Conclusion</h2>
<p>Building the ticket validator taught me more than syntax. It showed me how Rust enforces discipline through ownership, error handling, and modular design. These lessons are exactly what I’ll need as I move into blockchain frameworks where reliability and security are non-negotiable. This project is just the beginning. Next, I’ll be working with Solana’s Anchor framework to mint tickets at scale.</p>
<p>If you’re also learning Rust or curious about blockchain, I hope my journey gives you a clear example of how starting small can lead to bigger systems. Follow along, and let’s grow together.</p>
<h2>RESOURCES</h2>
<ul>
<li><p>Ticket Validator CLI: <a href="https://github.com/blackpandan/Ticket-Validator">https://github.com/blackpandan/Ticket-Validator</a></p>
</li>
<li><p>Rust Book: <a href="https://doc.rust-lang.org/stable/book/index.html">https://doc.rust-lang.org/stable/book/index.html</a></p>
</li>
<li><p>Rustlings: <a href="https://rustlings.rust-lang.org/">https://rustlings.rust-lang.org/</a></p>
</li>
<li><p>Serde: <a href="https://serde.rs/">https://serde.rs/</a></p>
</li>
<li><p>Ed25519-Dalek: <a href="https://docs.rs/ed25519-dalek/latest/ed25519_dalek/index.html">https://docs.rs/ed25519-dalek/latest/ed25519_dalek/index.html</a></p>
</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Vue.js Javascript Framework For All]]></title><description><![CDATA[an interactive guide to sparking your interest on vuejs while teaching you with a hands-on approach]]></description><link>https://blog.devfate.online/vuejs-javascript-framework-for-all</link><guid isPermaLink="true">https://blog.devfate.online/vuejs-javascript-framework-for-all</guid><category><![CDATA[THW Web Apps]]></category><category><![CDATA[Vue.js]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[HTML]]></category><category><![CDATA[coding]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Wed, 11 May 2022 13:05:21 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1652273945948/oEM6nmjcl.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-what-is-vuejs"><strong>What Is Vue.js</strong></h2>
<p>Vuejs is an open-source progressive javascript framework created by Evan You in February 2016 to enable the building of user Interfaces, It has a low learning curve which means it is easy for beginners to learn, although it is recommended that beginners understand the fundamentals of javascript before jumping into vuejs or any javascript framework.</p>
<h2 id="heading-why-should-i-learn-vue"><strong>Why Should I learn Vue</strong></h2>
<ul>
<li>It provides us with an easier way of creating user interfaces.</li>
</ul>
<ul>
<li>It has a relatively small size of about <em>22kb</em>, which is great for website performance. The larger the size, the slower the website.</li>
</ul>
<ul>
<li><p>It has a virtual dom i.e, a copy of the actual dom that only renders aspects that have been updated or changed. Great, right?</p>
</li>
<li><p>It has high speed and is easy to scale if the website gets larger.</p>
</li>
<li><p>It has an amazing community of developers ready to help you out in case you get stuck. Yes, I'm saying this from experience.</p>
</li>
<li><p>It has detailed documentation, nicely represented and organised with examples and practise test that helps you learn as you build.</p>
</li>
</ul>
<p>Now, let us begin. Let's see my vue point.</p>
<h2 id="heading-how-do-you-install-vue"><strong>How Do You Install Vue</strong></h2>
<p>Vue can be installed using build tools and without build tools. In this article, we will be following the no-build tool option.</p>
<p>First, add the following script tags to the <code>head</code> of your HTML.</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://unpkg.com/vue@3"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
</code></pre>
<h2 id="heading-using-vue"><strong>Using Vue</strong></h2>
<p>Now, let us create a simple counter increment app. It is better to learn by practice.</p>
<p>First, create a new application instance.
Add a script tag or link your Javascript file to your HTML</p>
<pre><code><span class="hljs-operator">&lt;</span>script<span class="hljs-operator">&gt;</span>
    <span class="hljs-comment">// code here</span>
<span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>script<span class="hljs-operator">&gt;</span>

<span class="hljs-comment">// or</span>

<span class="hljs-operator">&lt;</span>script src<span class="hljs-operator">=</span><span class="hljs-string">"yourFile.js"</span><span class="hljs-operator">&gt;</span><span class="hljs-operator">&lt;</span><span class="hljs-operator">/</span>script<span class="hljs-operator">&gt;</span>
</code></pre><p>Next, we begin writing our Javascript code</p>
<pre><code>
<span class="hljs-keyword">import</span> { <span class="hljs-title">createApp</span> } <span class="hljs-operator">=</span> <span class="hljs-title">Vue</span>;

const app <span class="hljs-operator">=</span> createApp({
  <span class="hljs-comment">// root component options here</span>
});
</code></pre><p>Import the <code>createApp()</code> function that receives an object which will serve as the root component.
When you have done that, mount the app using a selector string or an actual DOM element.</p>
<ul>
<li>HTML</li>
</ul>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"myApp"</span>&gt;</span>

    <span class="hljs-comment">&lt;!--  where root component contents will be rendered--&gt;</span> 

<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>-JAVASCRIPT</p>
<pre><code class="lang-javascript">&lt;script&gt;
<span class="hljs-keyword">import</span> { createApp } <span class="hljs-keyword">from</span> <span class="hljs-string">'vue'</span>;

<span class="hljs-keyword">const</span> app = createApp({
  <span class="hljs-comment">// root component options here</span>
});

app.mount(<span class="hljs-string">"#myApp"</span>); <span class="hljs-comment">// mounted on our div with id of "myApp"</span>

&lt;/script&gt;
</code></pre>
<p>Vue allows the use of "moustache" syntax for text interpolation. This feature lets you declaratively bind properties from the component instance to the actual DOM. I'll show you an example.</p>
<p>Add a <code>data</code> component option. This function returns an object that is accessible to the component.</p>
<p>Our root component made with <code>createApp</code> will be mounted on the <code>&lt;div&gt;</code> with an id of "myApp"</p>
<ul>
<li>javascript</li>
</ul>
<pre><code class="lang-javascript"><span class="hljs-keyword">import</span> { createApp } <span class="hljs-keyword">from</span> <span class="hljs-string">'vue'</span>;

<span class="hljs-keyword">const</span> app = createApp({
  data() {
        <span class="hljs-keyword">return</span> {
            <span class="hljs-attr">name</span>: <span class="hljs-string">"the wimpy teacher"</span>
        }
   }
});

app.mount(<span class="hljs-string">"#myApp"</span>); <span class="hljs-comment">// mounted on our div with id of "myApp"</span>
</code></pre>
<p>Next, add a moustache syntax containing your name property to display the value of the name property within a <code>&lt;p&gt;</code> tag.</p>
<ul>
<li>html</li>
</ul>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"myApp"</span>&gt;</span>

    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>{{ name }}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>

<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<ul>
<li>This should be the result </li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1652267573914/xTb3lys4L.png" alt="result.png" /></p>
<p>This was a demonstration of vue's declarative rendering capabilities. js.</p>
<h2 id="heading-creating-a-counter-app-with-vue"><strong>Creating A Counter App With Vue</strong></h2>
<p>Let's create a simple increment counter app using vue text interpolation and custom events listener(<code>v-on</code>).</p>
<ul>
<li>First, add a count property with an initial value of 0 to the <code>data</code> function</li>
</ul>
<pre><code class="lang-javascript">
<span class="hljs-keyword">const</span> {createApp} = Vue;

<span class="hljs-keyword">const</span> app = createApp({
   data() {
        <span class="hljs-keyword">return</span> {
            <span class="hljs-attr">count</span>: <span class="hljs-number">0</span>; 
        }
   }
});

app.mount(<span class="hljs-string">"myApp"</span>);
</code></pre>
<p>Change your HTML to point to the count property.</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"app"</span>&gt;</span>

    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>{{ count }}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>

<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>Now, use the <code>v-on</code> directive to listen for events on elements in the app instance, and then add a button element for incrementing.</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"app"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>{{ count }}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">button</span> <span class="hljs-attr">v-on:click</span>=<span class="hljs-string">"count++"</span>&gt;</span>add<span class="hljs-tag">&lt;/<span class="hljs-name">button</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>That's simple enough, but here's how it happened:</p>
<ul>
<li>The <code>v-on</code> directive listens to the event attached to it.</li>
<li>Since the button had a click event(<code>v-on:click</code>), it listened for click events from the button element.</li>
<li>Next, we added instructions for it to increment and update the count property by one.</li>
</ul>
<p>Aside from directly entering commands into the attributes, we can specify a function name. This function will be exposed to the application instance via a <code>methods</code> property on the root component, which, unlike our <code>data</code> property, it is not a function. Our <code>data</code> property is a function because it allows data to be unique across components.</p>
<p>Let's edit our javascript</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">const</span> {createApp} = Vue;

<span class="hljs-keyword">const</span> app = createApp({
    data(){
         <span class="hljs-keyword">return</span> {
              <span class="hljs-attr">count</span>: <span class="hljs-number">0</span>
          }
     },
     <span class="hljs-attr">methods</span>: {
            increment() {
                  <span class="hljs-built_in">this</span>.count++ ;
            }
      }
});

<span class="hljs-comment">// mounted on our div with id of "myApp"</span>
app.mount(<span class="hljs-string">"#myApp"</span>);
</code></pre>
<p>The <code>data</code> object is exposed directly to <code>this</code> for the current active instance.</p>
<ul>
<li>Let's specify the method in our HTML</li>
</ul>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"myApp"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>{{ count }}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">button</span> <span class="hljs-attr">v-on:click</span>=<span class="hljs-string">"increment()"</span>&gt;</span>add<span class="hljs-tag">&lt;/<span class="hljs-name">button</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>The increment function is called by the <code>v-on:click</code> command. This was pretty simple and straightforward, right? It just displayed vue simple syntax, reactivity, and text interpolation.</p>
<h3 id="heading-final-thoughts">Final Thoughts</h3>
<p>vue offers more features like: </p>
<ul>
<li>Two-way binding </li>
<li>JSX support</li>
<li>Transitions</li>
<li>Computed properties</li>
<li>Custom directives</li>
</ul>
<p>If you enjoyed this article and want to learn more, their documentation provides additional insights and hands-on tutorials, see the link below.</p>
<p><a target="_blank" href="https://vuejs.org">Vue Js Documentation</a></p>
<p>Thanks for reading see you next time, more vue articles coming</p>
]]></content:encoded></item><item><title><![CDATA[How I Created A WebApp For Jobs, News, Dad Jokes with Vue/Nuxt]]></title><description><![CDATA[a Vue/Nuxt app that was created to display the latest news, job offers and dad jokes]]></description><link>https://blog.devfate.online/how-i-created-a-webapp-for-jobs-news-dad-jokes-with-vuenuxt</link><guid isPermaLink="true">https://blog.devfate.online/how-i-created-a-webapp-for-jobs-news-dad-jokes-with-vuenuxt</guid><category><![CDATA[Nuxt]]></category><category><![CDATA[Vue.js]]></category><category><![CDATA[vue]]></category><category><![CDATA[Vuex]]></category><category><![CDATA[JavaScript]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Mon, 30 Aug 2021 09:52:22 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1630317109386/YGHS4hHOmF.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Well, you know the feeling of seeing Twitter posts about new tech and you are like what is this? then suddenly everyone starts talking about it.</p>
<p> that was the feeling that made me decide to try out <a target="_blank" href="https://nuxtjs.org">Nuxt</a> a framework for Vue.js, hold up is Vuejs not a framework for javascript, that was my first thought but on checking out <a target="_blank" href="https://nuxtjs.org">Nuxt</a> I discovered that it has certain features that would improve your Vue app.</p>
<p> it comes with server-side rendering and static sites generation, but the feature that caught my eyes was the SEO optimization, normally sites created with a javascript framework are usually lacking in giving the best SEO experience due to the fact that the web crawlers usually see the site as empty because the javascript renders it, and your web crawlers ain't that patient enough to wait for it to finish rendering, but nuxt solves that problem with server-side rendering.</p>
<p>well I decided to give nuxt a try and well it was great, the ease provided for adding head meta tags in the script section of your vue app for each page was nice, not to mention the out-of-the-box routing that you had to do was create a  .vue file in the page folder and voila the route is created sleek, it also comes with Vuex which is usually deactivated until you decide to use it.</p>
<p>There was also the fetch hook which is asynchronous and returns $fetchState.pending and $fetchState.error that returns a boolean and can be used to render content based on the state of the request.</p>
<p>well it was a great experience using nuxt and I am sure I will be using it more often</p>
<p><a target="_blank" href="http://efjay.herokuapp.com">Site Created with nuxt</a></p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://nuxtjs.org/">https://nuxtjs.org/</a></div>
<p>Github Repo For Site:</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://github.com/blackpandan/efjay">https://github.com/blackpandan/efjay</a></div>
]]></content:encoded></item><item><title><![CDATA[Viewing Your Websites On Other Devices In Real Time Through Local Host]]></title><description><![CDATA[Have you ever wanted to view your website on your mobile phone, as you are coding with your laptop? if your answer is yes let's dive in. if you use Vscode…]]></description><link>https://blog.devfate.online/running-on-localhost</link><guid isPermaLink="true">https://blog.devfate.online/running-on-localhost</guid><category><![CDATA[Vue.js]]></category><category><![CDATA[Linux]]></category><category><![CDATA[Visual Studio Code]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Sat, 19 Dec 2020 11:55:07 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1608377751283/xPTjjV99z.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Have you ever wanted to view your website on your mobile phone, as you are coding with your laptop? if your answer is yes let's dive in.</p>
<p>if you use Vscode with live server extension, the extension creates a server on your system which can be accessed via a particular port, this is similar to Vue "npm run serve" and Django "python manage.py runsever". 
this port can be accessed on other devices if it's connected on the same network.</p>
<p>if you are using Linux:</p>
<ul>
<li><code>run sudo ifconfig</code></li>
<li>this gives you info on your device connections</li>
<li>check for the interface you are using</li>
<li>if its wifi it will be wlan0, USB tethering it will be usb0 and ethernet eth0.</li>
<li><img src="https://dev-to-uploads.s3.amazonaws.com/i/c37m7h0wlljwviiz7o3e.png" alt="Alt Text" /></li>
<li>for example, I am using USB tethering</li>
<li>copy the inet, in this case, 192.168.42.107</li>
<li>in your mobile browser input the URL </li>
<li>http://inet:port e.g http://192.168.42.107:8000</li>
<li>that's all, although some services may require other settings like Django</li>
</ul>
<p><br /><br />
<span>OG Photo by <a href="https://unsplash.com/@juz4mark?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Mark Wong</a> on <a href="https://unsplash.com/s/photos/computer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
]]></content:encoded></item><item><title><![CDATA[Setting Up Django Rest Framework]]></title><description><![CDATA[Django framework is a powerful toolkit for building web API's its comes with many interesting features which include: an API(application programming…]]></description><link>https://blog.devfate.online/setting-up-django-rest-framework</link><guid isPermaLink="true">https://blog.devfate.online/setting-up-django-rest-framework</guid><category><![CDATA[Programming Tips]]></category><category><![CDATA[Django]]></category><category><![CDATA[Python]]></category><category><![CDATA[coding]]></category><category><![CDATA[2Articles1Week]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Fri, 27 Nov 2020 22:03:46 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1606514557020/C8yeY_gS1.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="django-rest-framework-drf">Django Rest Framework (DRF)</h3>
<p>Django framework is a powerful toolkit for building web API's</p>
<p>its comes with many interesting features which include: </p>
<ul>
<li>a web_browsable_api</li>
<li>serialization that supports ORM</li>
</ul>
<p>an API(application programming interface) gives us data when requests are sent to it.</p>
<p>this data is usually in the form of JSON(JavaScript Object Notation). </p>
<blockquote>
<p>yes, it is not only for javascript</p>
</blockquote>
<p>Django rest framework(DRF) helps us customize the requests handling and the outputs down to status codes.</p>
<p>to install it Django and python is required</p>
<pre><code><span class="hljs-attribute">python</span> -m venv env
</code></pre><ul>
<li>to create a virtual environment</li>
</ul>
<pre><code><span class="hljs-attribute">pip</span> install django
</code></pre><ul>
<li>install django</li>
</ul>
<pre><code>pip install djangorestframework Markdown django-<span class="hljs-keyword">filter</span>
</code></pre><ul>
<li>install django rest framework</li>
</ul>
<pre><code>django-<span class="hljs-keyword">admin</span> startproject api
</code></pre><ul>
<li><p>start a django project</p>
</li>
<li><p>change directory to api/api</p>
</li>
<li><p>open settings.py</p>
</li>
<li><p>under installed apps</p>
</li>
<li><p>add the following lines to the end of the list</p>
</li>
</ul>
<pre><code><span class="hljs-string">"rest_framework"</span>,
<span class="hljs-string">"rest_framework.authtoken"</span>
</code></pre><p>change directory to the root api</p>
<pre><code><span class="hljs-selector-tag">python</span> <span class="hljs-selector-tag">manage</span><span class="hljs-selector-class">.py</span> <span class="hljs-selector-tag">migrate</span>
</code></pre><pre><code><span class="hljs-selector-tag">python</span> <span class="hljs-selector-tag">manage</span><span class="hljs-selector-class">.py</span> <span class="hljs-selector-tag">runserver</span>
</code></pre>]]></content:encoded></item><item><title><![CDATA[Tech Is Your Bestie]]></title><description><![CDATA[Starting in tech is usually exciting, the fact that you just discovered, that you can do more with your computer or phone than you think gives you the…]]></description><link>https://blog.devfate.online/tech-is-your-bestie</link><guid isPermaLink="true">https://blog.devfate.online/tech-is-your-bestie</guid><category><![CDATA[impostor syndrome]]></category><category><![CDATA[newbie]]></category><category><![CDATA[Programming Tips]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Thu, 26 Nov 2020 16:27:20 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1606407901683/q6M8ZeCoG.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h4 id="a-guide-to-getting-comfortable-in-tech-and-overcoming-impostor-syndrome">A guide to getting comfortable in tech and overcoming impostor syndrome</h4>
<p><br />
Starting in tech is usually exciting, the fact that you just discovered, that you can do more with your computer or phone than you think gives you the trills, this makes you relate to quote by Nikola Tesla</p>
<blockquote>
<p>I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success. Such emotions make a man forget food, sleep, friends, love, everything.</p>
</blockquote>
<p> but as time goes by you get involved with more people in the developer community, and you discover this vast ocean of knowledge, this makes you happy, but at the same time, you feel that you just know only a drop of knowledge from that ocean compared to other programmers you see out there and it frightens you and makes you feel like you don't belong here.</p>
<p>this is pretty normal for everybody, but one thing I realized was that, I was just beginning my journey, you are just beginning your journey, those that are here before us, started from somewhere and there was a time they felt left out too, and if we look back we will discover that we have made great progress although it seams little, </p>
<p>from knowing what HTML means to playing around with javascript framework and knowing how to use API's its crazy,</p>
<p> but just know that you have come a long way, and some people are currently where you started, the best thing to do is to continue exploring that ocean of knowledge and enjoy doing it because that's what is important.</p>
<blockquote>
<p>P.s always seek help from those above you</p>
</blockquote>
<p><strong>appreciations:</strong></p>
<p><span>Photo by <a href="https://unsplash.com/@fossy?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Fab Lentz</a> on <a href="https://unsplash.com/s/photos/inspiration?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
<p><span>OG Photo by <a href="https://unsplash.com/@emmamatthews?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Emma Matthews Digital Content Production</a> on <a href="https://unsplash.com/s/photos/inspiration?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
<p><span>Cover Photo by <a href="https://unsplash.com/@drew_beamer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Drew Beamer</a> on <a href="https://unsplash.com/s/photos/inspiration?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
]]></content:encoded></item><item><title><![CDATA[Intro to HTML5]]></title><description><![CDATA[This is a continuation of the intro to web dev series, Html means Hyper Text Markup Language it is used to design the structure of the page, and collect…]]></description><link>https://blog.devfate.online/intro-to-html5</link><guid isPermaLink="true">https://blog.devfate.online/intro-to-html5</guid><category><![CDATA[HTML]]></category><category><![CDATA[HTML5]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[website]]></category><category><![CDATA[Tutorial]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Thu, 26 Nov 2020 11:48:09 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1606390674607/P0DGNp5AC.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote>
<p>This is a continuation of the intro to web dev series, </p>
</blockquote>
<p>Html means Hyper Text Markup Language it is used to design the structure of the page, and collect user inputs.</p>
<p>html deals with tags e.g</p>
<pre>
&lt;!DOCTYPE html&gt;
</pre>
this is a simple html tag that is used for declaration of html5 , there are different versions of html , that's why a declaration is needed.

an example of a simple html5 structure:

<pre>
&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;hi there
  &lt;/body&gt;
&lt;/html&gt; 
</pre>
we will go through most tags in this series

the first tag we will be looking at is the :
<pre> &lt;!DOCTYPE html&gt; </pre>

<p>as explained above it is used for declaration of html5</p>
<p>the next tag is the:</p>
<pre> &lt;html&gt; &lt;/html&gt; </pre>

<ul>
<li>this tag is used to indicate the starting pointer of your html document</li>
<li>it is also used to declare the language to use e.g <pre> &lt;html lang="en"&gt;</pre>

</li>
</ul>
<p>the next tag is the:</p>
<pre>  &lt;head&gt; &lt;/head&gt; </pre>

<ul>
<li>this tag is the head tag, it is used to contain data for the metadata which is the data for the about the html document, which will not usually be displayed, it is used to set the properties of the html document such as the style, view-port, character set, scripts e.t.c <ul>
<li>example<pre> 
  &lt;head&gt; 
     &lt;meta charset="utf-8" /&gt;
     &lt;meta name="author" content="faith james" /&gt;
     &lt;script src="./index.js" /&gt;
     &lt;link type="text/css" rel="stylesheet"  href="./main.css" /&gt;
  &lt;/head&gt; </pre>

</li>
</ul>
</li>
</ul>
<p>the next tag is the :</p>
<pre>  &lt;body&gt;  &lt;/body&gt; </pre>

<ul>
<li>this tag is used to contain the content of the html document e.g paragraphs, headings, images, tables e.t.c</li>
<li>most of the content of this tags are visible in the browser.</li>
<li>example<pre>
 &lt;body&gt;
   &lt;h1&gt;This is the first Heading &lt;/h1&gt;
   &lt;p&gt; this is a paragraph &lt;/p&gt;
   &lt;img src="./sample.jpg" alt="this is a simple image" /&gt;
 &lt;/body&gt;
</pre> 


</li>
</ul>
<blockquote>
<p>we will discuss about more about tags in the next article in this series</p>
<p><span>Cover Photo by <a href="https://unsplash.com/@vishnurnair?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Vishnu R Nair</a> on <a href="https://unsplash.com/s/photos/html?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
<p><span>Photo by <a href="https://unsplash.com/@jstrippa?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">James Harrison</a> on <a href="https://unsplash.com/s/photos/html?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
</blockquote>
]]></content:encoded></item><item><title><![CDATA[HTML Tutorial with mobile phone]]></title><description><![CDATA[We will be continuing the web development series , click the link to check out the previous series, we are going to look at html5 First of all Goto your…]]></description><link>https://blog.devfate.online/html-tutorial-with-mobile-phone</link><guid isPermaLink="true">https://blog.devfate.online/html-tutorial-with-mobile-phone</guid><category><![CDATA[HTML5]]></category><category><![CDATA[HTML]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Tutorial]]></category><category><![CDATA[learn coding]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Fri, 20 Nov 2020 12:33:33 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1605875300744/HiJGezMsH.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="setting-up-acode"><strong>Setting up Acode</strong></h3>
<p>We will be continuing the 
<a href="https://dev.to/blackpandan/intro-to-web-development-a-series-html5-to-p2i">web development series</a>
   , click the link to check out the previous series, we are going to look at html5</p>
<p>First of all  Goto your phone's appstore search Acode
<br /></p>
<p><img src="https://dev-to-uploads.s3.amazonaws.com/i/w5s2ujios2952xi4l4rn.png" /> 
 or go to their website
https://acode.foxdebug.com</p>
<p></p><ul><p></p>
<p><li>open the <strong>Acode app</strong></li>
<br /></p>
<p><li>click the kebab menu
<img src="https://dev-to-uploads.s3.amazonaws.com/i/z3ucv5qs92rsx5yr06ev.png" /></li>
<br /></p>
<p><li>click on open folder
<img src="https://dev-to-uploads.s3.amazonaws.com/i/g7va549hncv96lhqaw1p.png" />
</li>
<br /></p>
<p><li>click on internal storage
<img src="https://dev-to-uploads.s3.amazonaws.com/i/q4d7w39e6h4ep5v0mud0.png" /></li>
<br /></p>
<p><li>click the plus icon
<img src="https://dev-to-uploads.s3.amazonaws.com/i/026bznlo8q9xxb2kv6e6.png" />
</li>
<br /></p>
<p><li>click on new folder
<img src="https://dev-to-uploads.s3.amazonaws.com/i/z9llnbwxjydj4bsr3mdy.png" />
</li>
<br /></p>
<p><li>rename it to learn
<img src="https://dev-to-uploads.s3.amazonaws.com/i/703v0fdtbkalshog2qy9.png" />
</li>
<br /></p>
<p><li>search and open the learn folder
<img src="https://dev-to-uploads.s3.amazonaws.com/i/c2gsf50votbqyzmu5bpt.png" />
<img src="https://dev-to-uploads.s3.amazonaws.com/i/t6sk9e2ip4r6l0m58rlo.png" /></li></p>
<p>
<br /></p>
<p><li>click the plus icon again and create new file
<img src="https://dev-to-uploads.s3.amazonaws.com/i/026bznlo8q9xxb2kv6e6.png" />
</li>
<br /></p>
<p><li>rename the file to index.html
<img src="https://dev-to-uploads.s3.amazonaws.com/i/6vnnegt5a5o2ur5xefp7.png" />
</li>
<br /></p>
<p><li>click on select folder
<img src="https://dev-to-uploads.s3.amazonaws.com/i/p14yfo166e938fhdrph1.png" />
</li>
<br /></p>
<p><li>
Click the hamburger menu ,then click the learn folder and your index.html 
<img src="https://dev-to-uploads.s3.amazonaws.com/i/p14yfo166e938fhdrph1.png" />
</li>
</p></ul>
<br />
<br />
You just created your first HTML file, we will start talking about HTML tags in the next series
<br /><p></p>
<p>cover image source: 
<a target="_blank" href="https://unsplash.com/@grakozy">Greg Rakosy - unsplash</a></p>
]]></content:encoded></item><item><title><![CDATA[Intro to web development(a series) HTML5 to]]></title><description><![CDATA[Web development in simply the process of creating a website, it can be divided into: frontend (client side) and backend (server side). JavaScript (for…]]></description><link>https://blog.devfate.online/intro-to-web-developmenta-series-html5-to</link><guid isPermaLink="true">https://blog.devfate.online/intro-to-web-developmenta-series-html5-to</guid><category><![CDATA[HTML5]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[coding]]></category><category><![CDATA[Tutorial]]></category><dc:creator><![CDATA[Faith James]]></dc:creator><pubDate>Fri, 20 Nov 2020 06:16:58 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1605852972356/6tCf9--bI.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Web development in simply the process of creating a website, it can be divided into:</p>
<p></p><ol><p></p>
<p><li>frontend (client side) and </li></p>
<p><li> backend (server side).</li>
</p></ol>
<br />
The frontend deals with what the user sees and what the user will experience, we use languages like:<p></p>
<p></p><ul>
 <li>HTML5, XML (for structure and data collection)</li>
 <li>CSS (for the design) and </li><p></p>
<p><li>JavaScript (for sending request and Making the website more dynamic).</li>
</p></ul>
<br />
the backend deals with the storage and manipulation of data based on requests sent by the frontend, we use languages like:<p></p>
<p></p><ul><p></p>
<p><li>php </li></p>
<p><li>python</li></p>
<p><li>C#</li></p>
<p><li>dart</li></p>
<p><li>java</li></p>
<p><li>
 we also use runtime environments like node.js.</li>
</p></ul>
.<p></p>
<h4 id="html-5"><strong>HTML 5</strong></h4>
<p><img src="https://dev-to-uploads.s3.amazonaws.com/i/e8qdoq4pgcag4jsue9rv.jpeg" alt="HTML img" />
We will be looking at HTML5 which is hyper text markup language, it is used to create the structure of the website, it is the foundation of a website, it makes use of tags for it's syntax e.g
<br /></p>
<p></p><pre>
&lt;p&gt; hello &lt;/p&gt;
</pre>
<br />
The series will continue....
<br />
Edited:
 Part 2 - <a target="_blank" href="https://dev.to/blackpandan/html-tutorial-with-mobile-phone-254d">intro to HTML</a>
<br /><p></p>
]]></content:encoded></item></channel></rss>