<?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 max githinji on Medium]]></title>
        <description><![CDATA[Stories by max githinji on Medium]]></description>
        <link>https://medium.com/@maxgithinji101?source=rss-8e6c5a4569a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3hcbT1mWAHpjidox</url>
            <title>Stories by max githinji on Medium</title>
            <link>https://medium.com/@maxgithinji101?source=rss-8e6c5a4569a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:18:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maxgithinji101/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[Bit Shifting]]></title>
            <link>https://medium.com/@maxgithinji101/bit-shifting-310fdf3bd6c5?source=rss-8e6c5a4569a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/310fdf3bd6c5</guid>
            <category><![CDATA[cpp-programming]]></category>
            <category><![CDATA[cpp]]></category>
            <category><![CDATA[bitshifting]]></category>
            <dc:creator><![CDATA[max githinji]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 09:45:05 GMT</pubDate>
            <atom:updated>2025-11-02T09:45:05.892Z</atom:updated>
            <content:encoded><![CDATA[<p>Bit shifting involves moving / shifting numbers to the right or left. The bit shift operator takes in a number whose we want to shift and another integer that defines the number of steps we want to shift and we will look at:</p><p><strong><em>a. Left shift:</em></strong> in this operation, the bits are shifted to the left. Consider shifting the binary 10000011 one instance or step.</p><p>Example: the MSB is dropped and every other bit is shifted to the left and the last bit becomes 0. Thus shifting will be:</p><p>10000011 -&gt; 00000110</p><p><strong><em>b. Right shift: </em></strong>in this operation, the bits are shifted to the right. Consider shifting the binary 10000011 one instance or step.</p><p>Example: the LSB is dropped and every other bit is shifted to the right and the MSB bit becomes 0. Thus shifting will be:</p><p>10000011 -&gt; 01000001</p><p><strong><em>c. Left circular shift:</em></strong> in this operation, the MSB replaces or become the LSB. Consider shifting the binary 10000011 one instance or step.</p><p>Example: the current LSB is shifted to the left and every other bit is shifted to the left. The MSB bit becomes the new LSB. Thus shifting will be:</p><p>10000011 -&gt; 00000111</p><p><strong><em>d. Right circular shift:</em></strong> in this operation, the LSB replaces or become the MSB. Consider shifting the binary 10000011 one instance or step.</p><p>Example: the current MSB is shifted to the right and every other bit is shifted to the right. The LSB bit becomes the new MSB. Thus shifting will be:</p><p>10000011 -&gt; 11000001</p><p>While this is easy to understand, how does this knowledge help when it comes to performing arithmetic operations. We will use one example showing how to perform a division operation using C++:</p><pre>#include &lt;iostream&gt;<br>#include &lt;math.h&gt;<br>#include &lt;climits&gt;<br><br>using namespace std;<br><br>class Solution {<br>public:<br>    int divide(int dividend, int divisor) {<br>        // initialize variables<br>        long long quotient = 0;<br><br>        // check if divisor or dividend <br>        if(divisor == 0 || dividend == 0) return INT_MAX;<br><br>        // handle possible overflow<br>        if (dividend == INT_MIN &amp;&amp; divisor == -1) return INT_MAX;<br>        <br>        // check if result is negtive <br>        bool result = (dividend &lt; 0) ^ (divisor &lt; 0);<br>        <br>        // change the to long to avoid overflow during abs()<br>        long long long_divdend = abs((long long) dividend);<br>        long long long_divisor = abs((long long) divisor);<br><br><br>        // subtract divisor multiples by bit shifting<br>        while(long_divdend &gt;= long_divisor) {<br>            long long temp = long_divisor, count = 1;<br><br>            while(long_divdend &gt;= (temp &lt;&lt; 1)) {<br>                temp &lt;&lt;= 1;<br>                count &lt;&lt;= 1;<br>            }<br><br>            long_divdend -= temp;<br>            quotient += count;<br>        }<br><br>        if(result) quotient *= -1;<br><br>        return (int)quotient;<br>    }<br>};</pre><p>The above program has a time complexity of O ( log n ). Fell free to test challenge yourself by forming multiplication using bit shifting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=310fdf3bd6c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuring Mpesa API in a Rails application]]></title>
            <link>https://medium.com/@maxgithinji101/configuring-mpesa-api-in-a-rails-application-25d08adf1a1b?source=rss-8e6c5a4569a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/25d08adf1a1b</guid>
            <dc:creator><![CDATA[max githinji]]></dc:creator>
            <pubDate>Wed, 24 May 2023 10:11:07 GMT</pubDate>
            <atom:updated>2023-05-24T10:11:07.144Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*k2pTddC9cK8q00Or2yaOZw.jpeg" /></figure><p><strong>Configuring Mpesa API in a Rails application</strong></p><p>Understanding how to create online payments in one’s application is becoming a very useful tool, majorly because the world is transitioning to become a cashless society. Within the borders of Kenya, Mpesa has become one of the most accepted, available, and easy-to-use cashless modes of payment. In this article, we are going to go through the easy steps of how you can configure your Rails application in order to make and receive payments via Mpesa SDK Push. It is paramount to state that this article does not offer an in-depth understanding of the logic of the code- it simply elaborates on what is needed to make your application have the capability to make a payment.</p><p>Before we begin this tutorial, ensure that you have created a Safaricom Daraja account and created an app. Moreover, you need to install and configure</p><p>Daraja =&gt; <a href="https://developer.safaricom.co.ke/">https://developer.safaricom.co.ke/</a></p><p>Ngrok =&gt; <a href="https://linuxhint.com/set-up-use-ngrok/">https://linuxhint.com/set-up-use-ngrok/</a></p><p><em>Step 1: Create your Rails application</em></p><p>To create your rails application, navigate to the directory you wish to create your application via your terminal/ CLI and run the command below:</p><pre>$ rails new mpayments --api --minimal</pre><p><em>Step 2: Add gems rest-client and rack-cors</em></p><p>Navigate to your gemfile and add the gems below:</p><pre>$ gem &quot;rest-client&quot;, &quot;~&gt; 2.0&quot;<br>$ gem &quot;rack-cors&quot;</pre><p>After adding the gems to your gemfile, run the command below:</p><pre>$ bundle install</pre><p><em>Step 3: Create a Mpesa model, controller, and migration using resources</em></p><p>To create the Mpesa model, run the command below:i</p><pre>$ rails g resource Mpay checkoutRequestID merchantRequestID amount mpesaReceiptNumber phoneNumber --no-test-framework</pre><p><em>Step 4: Create a Token model and migration</em></p><p>To create the Token model, run the command below:</p><pre>$ rails g model AccessToken token --no-test-framework</pre><p><em>Step 5: Configure cors</em></p><p>To configure cors, navigate to ‘<em>config/initializers/cors.rb’. </em>Then paste the block of code below:</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><em>Step 6: Create local_env.yml</em></p><p>Navigate to ‘<em>config’ </em>and create a new file and name it ‘<em>local_env.yml’. </em>Additionally, add the file to your ‘.<em>gitignore’ </em>file. After creating the file, navigate to ‘<em>config/local_env.yml’ </em>and add the block of code below:</p><pre>MPESA_CONSUMER_KEY: &#39;&lt;your consumer key&gt;&#39;<br>MPESA_CONSUMER_SECRET: &#39;&lt;your consumer secret&gt;&#39;<br>MPESA_PASSKEY: &#39;&lt;your passkey&gt;&#39;<br>MPESA_SHORTCODE: &#39;174379&#39;<br>MPESA_INITIATOR_NAME: &#39;testapi&#39;<br>MPESA_INITIATOR_PASSWORD: &#39;&lt;your initiator password&gt;&#39;<br>CALLBACK_URL: &#39;&lt; your ngrok url&gt;&#39;<br>REGISTER_URL: &quot;https://sandbox.safaricom.co.ke/mpesa/c2b/v1/registerurl&quot;</pre><p>To get the ‘<em>callback_url’, </em>run the command below:</p><pre>$ rails s<br>$ ngrok http http://127.0.0.1:3000</pre><p>The URL generated by the second command will be your ‘<em>callback_url’</em></p><p><em>Step 7: Configure your application to take a dynamic set of url</em></p><p>Navigate to ‘<em>config/environments/development.rb’ </em>and add the line of code of below:</p><pre>config.hosts &lt;&lt; /[a-z0-9\-\.]+\.ngrok\.io/</pre><p><em>Step 8: Create the main code</em></p><p>Navigate to ‘<em>app/controllers/mpesa_controller.rb’ </em>and add the blocks of codes below:</p><p>first, require ‘<em>rest-client’:</em></p><pre>require &#39;rest-client&#39;</pre><p>second, method stkpush:</p><pre>def stkpush <br>        phoneNumber = params[:phoneNumber]<br>        amount = params[:amount]<br>    <br>        url = &quot;https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest&quot;<br>        timestamp = &quot;#{Time.now.strftime &quot;%Y%m%d%H%M%S&quot;}&quot;<br>        business_short_code = ENV[&quot;MPESA_SHORTCODE&quot;]<br>        password = Base64.strict_encode64(&quot;#{business_short_code}#{ENV[&quot;MPESA_PASSKEY&quot;]}#{timestamp}&quot;)<br>        <br>        payload = {<br>          &#39;BusinessShortCode&#39;: business_short_code,<br>                &#39;Password&#39;: password,<br>                &#39;Timestamp&#39;: timestamp,<br>                &#39;TransactionType&#39;: &quot;CustomerPayBillOnline&quot;,<br>                &#39;Amount&#39;: amount,<br>                &#39;PartyA&#39;: phoneNumber,<br>                &#39;PartyB&#39;: business_short_code,<br>                &#39;PhoneNumber&#39;: phoneNumber,<br>                &#39;CallBackURL&#39;: &quot;#{ENV[&quot;CALLBACK_URL&quot;]}/callback_url&quot;,<br>                &#39;AccountReference&#39;: &#39;Trial ROR Mpesa&#39;,<br>                &#39;TransactionDesc&#39;: &quot;ROR trial&quot;<br>        }.to_json<br>        <br>        headers = {<br>          content_type: &#39;application/json&#39;, <br>          Authorization:&quot;Bearer #{get_access_token}&quot;<br>        }<br>        response = RestClient::Request.new({<br>          method: :post,<br>          url: url,<br>          payload: payload,<br>          headers: headers<br>          }).execute do |response, request|<br>            case response.code<br>            when 500<br>              [ :error, JSON.parse(response.to_str) ]<br>            when 400<br>              [ :error, JSON.parse(response.to_str) ]<br>            when 200<br>              [ :success, JSON.parse(response.to_str) ]<br>            else<br>              fail &quot;Invalid response #{response.to_str} received.&quot;<br>            end<br>          end<br>        <br>        render json: response<br>    end </pre><p>third, method polling_payment:</p><pre>    def polling_payment<br>        checkoutId = params[:checkoutRequestID]<br>    <br>        timestamp = &quot;#{Time.now.strftime &quot;%Y%m%d%H%M%S&quot;}&quot;<br>        business_short_code = ENV[&quot;MPESA_SHORTCODE&quot;]<br>        password = Base64.strict_encode64(&quot;#{business_short_code}#{ENV[&quot;MPESA_PASSKEY&quot;]}#{timestamp}&quot;)<br>    <br>        url = ENV[&#39;QUERY_URL&#39;]<br>    <br>        headers = {<br>          content_type: &#39;application/json&#39;, <br>          Authorization: &quot;Bearer #{get_access_token}&quot;<br>        }<br>    <br>        payload = {<br>          &#39;BusinessShortCode&#39; =&gt; business_short_code,<br>          &#39;Password&#39; =&gt; password,<br>          &#39;Timestamp&#39; =&gt; timestamp,<br>          &#39;CheckoutRequestID&#39; =&gt; checkoutId<br>        }.to_json<br>    <br>        response = RestClient::Request.new({<br>          method: :post,<br>          url: url,<br>          payload: payload,<br>          headers: headers<br>          }).execute do |response, request|<br>            puts response<br>            case response.code<br>            when 500<br>              [ :error, JSON.parse(response.to_str) ]<br>            when 400<br>              [ :error, JSON.parse(response.to_str) ]<br>            when 200<br>              [ :success, JSON.parse(response.to_str) ]<br>            else<br>              fail &quot;Invalid response #{response.to_str} received.&quot;<br>            end<br>          end<br>    <br>        render json: response <br>    end</pre><p>lastly, create generate_access_token_request and get_access_token as private methods:</p><pre> def generate_access_token_request<br>        @url = &quot;https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials&quot;<br>        @consumer_key = ENV[&#39;MPESA_CONSUMER_KEY&#39;]<br>        @consumer_secret = ENV[&#39;MPESA_CONSUMER_SECRET&#39;]<br>        @userpass = Base64::strict_encode64(&quot;#{@consumer_key}:#{@consumer_secret}&quot;)<br>        headers = {<br>            Authorization: &quot;Bearer #{@userpass}&quot;<br>        }<br>        res = RestClient::Request.execute(url: @url, method: :get, headers:{Authorization: &quot;Basic #{@userpass}&quot;})<br>        res<br>    end<br><br>    def get_access_token<br>        res = generate_access_token_request()<br>        if res.code != 200<br>            r = generate_access_token_request()<br>            if res.code != 200<br>                raise MpesaError(&#39;Unable to generate access token&#39;)<br>            end<br>        end<br>        body = JSON.parse(res, {symbolize_names: true})<br>        token = body[:access_token]<br>        AccessToken.destroy_all()<br>        AccessToken.create!(token: token)<br>        token<br>    end</pre><p><em>Step 9: Configure your routes</em></p><p>Navigate to ‘<em>config/routes,rb’ </em>and create the routes below:</p><pre>  post &#39;stkpush&#39;, to: &#39;mpesa#stkpush&#39;<br>  post &#39;polling_payment&#39;, to: &#39;mpesa#polling_payment&#39;</pre><p><em>Step 10: Finally, it&#39;s time to test!!!</em></p><p>Open your Postman app and use the URL below to make a post request. Note that the first part of the URL will be your ‘<em>callback_url’ </em>and the second part will be your route.</p><pre>https//:&lt;callback_url&gt;/stkpush</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25d08adf1a1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuring gem devise to create user authentication and authorization in Ruby]]></title>
            <link>https://medium.com/@maxgithinji101/configuring-gem-devise-to-create-user-authentication-and-authorization-in-ruby-b4f0e312d2d4?source=rss-8e6c5a4569a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4f0e312d2d4</guid>
            <dc:creator><![CDATA[max githinji]]></dc:creator>
            <pubDate>Sat, 20 May 2023 15:56:53 GMT</pubDate>
            <atom:updated>2023-05-20T15:56:53.654Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating a functional user authorization and authentication system does take a bit of time as well as code. This, however, can be made to be a very easy task using “<em>gem devise”. </em>This article does not offer an in depth understanding of how the gem works, rather, it gives simple steps needed to configure the gem into your application.</p><p><em>Step 1: Create your application</em></p><p>Open your terminal and run the command below.</p><pre>$ rails new devise-tutorial</pre><p>You can modify the “<em>devise-tutorial” </em>part of the command and rename it so that it reads the name you hope to give your application.</p><p><em>Step 2: Installing gem devise</em></p><p>Open <em>“Gemfile” </em>in your application and then add the gem.</p><pre>$ gem &quot;devise&quot;</pre><p>After adding the gem, run the below command from your terminal.</p><pre>$ bundle install</pre><p><em>Step 3: Setting up gem devise</em></p><p>Setting up the gem enables you to use the gem within your rails application. To do this, run the below command.</p><pre>$ bundle exec rails g devise:install</pre><p>The output will look as below.</p><pre>===============================================================================<br><br>Depending on your application&#39;s configuration some manual setup may be required:<br><br>  1. Ensure you have defined default url options in your environments files. Here<br>     is an example of default_url_options appropriate for a development environment<br>     in config/environments/development.rb:<br><br>       config.action_mailer.default_url_options = { host: &#39;localhost&#39;, port: 3000 }<br><br>     In production, :host should be set to the actual host of your application.<br><br>     * Required for all applications. *<br><br>  2. Ensure you have defined root_url to *something* in your config/routes.rb.<br>     For example:<br><br>       root to: &quot;home#index&quot;<br><br>     * Not required for API-only Applications *<br><br>  3. Ensure you have flash messages in app/views/layouts/application.html.erb.<br>     For example:<br><br>       &lt;p class=&quot;notice&quot;&gt;&lt;%= notice %&gt;&lt;/p&gt;<br>       &lt;p class=&quot;alert&quot;&gt;&lt;%= alert %&gt;&lt;/p&gt;<br><br>     * Not required for API-only Applications *<br><br>  4. You can copy Devise views (for customization) to your app by running:<br><br>       rails g devise:views<br><br>     * Not required *<br><br>===============================================================================</pre><p>Additionally, open “<em>config/initializers/devise.rb”</em> then add the below line of code.</p><pre>config.navigational_formats = [&#39;*/*&#39;, :html, :turbo_stream</pre><p>Finally, open <em>“config/environments/development.rb” </em>and then add the below line of code.</p><pre>config.action_mailer.default_url_options = { host: &#39;localhost&#39;, port: 3000 }</pre><p><em>Step 4: Creating model and migrations using gem devise</em></p><p>The gem devise also enables you to create models. Moreover, it helps you generate migrations. To generate a user model plus migration, run the below command.</p><pre>$ bundle exec rails g devise user</pre><p>You can substitute the user with the name you wish to give to your model. After running the above command, your model will look like this:</p><pre>class User &lt; ApplicationRecord<br># Include default devise modules. Others available are:<br># :confirmable, :lockable, :timeoutable, :trackable and :omniauthable<br>devise :database_authenticatable, :registerable,<br>       :recoverable, :rememberable, :validatable<br>end</pre><p>The migration created will look like this:</p><pre>class DeviseCreateUsers &lt; ActiveRecord::Migration[7.0]<br>  def change<br>    create_table :users do |t|<br>      ## Database authenticatable<br>      t.string :email,              null: false, default: &quot;&quot;<br>      t.string :encrypted_password, null: false, default: &quot;&quot;<br><br>      ## Recoverable<br>      t.string   :reset_password_token<br>      t.datetime :reset_password_sent_at<br><br>      ## Rememberable<br>      t.datetime :remember_created_at<br><br>      ## Trackable<br>      # t.integer  :sign_in_count, default: 0, null: false<br>      # t.datetime :current_sign_in_at<br>      # t.datetime :last_sign_in_at<br>      # t.string   :current_sign_in_ip<br>      # t.string   :last_sign_in_ip<br><br>      ## Confirmable<br>      # t.string   :confirmation_token<br>      # t.datetime :confirmed_at<br>      # t.datetime :confirmation_sent_at<br>      # t.string   :unconfirmed_email # Only if using reconfirmable</pre><p>Creating your model using the gem gives you access to a variety of helpers such as:</p><pre>before_action :authenticate_user!<br>user_signed_in?<br>current_user<br>user_session</pre><p><em>Step 5: Setting up routes</em></p><p>The gem provides a number of routes that come with the gem. To configure the routes, ensure it looks as below then save it.</p><pre>Rails.application.routes.draw do<br>  devise_for :users<br>  root &quot;home#index&quot;<br>end</pre><p>This generates an array of routes which you can confirm by running the below command.</p><pre>$ bundle exec rails routes</pre><p>You are now ready to authenticate users in your application!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4f0e312d2d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby Sinatra User Authentication]]></title>
            <link>https://medium.com/@maxgithinji101/ruby-sinatra-user-authentication-ebea6b8882a1?source=rss-8e6c5a4569a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebea6b8882a1</guid>
            <dc:creator><![CDATA[max githinji]]></dc:creator>
            <pubDate>Wed, 08 Mar 2023 12:17:05 GMT</pubDate>
            <atom:updated>2023-03-08T12:17:05.096Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating a successful user authentication system for the first time might be a rather challenging task especially if you are a beginner. This is made more difficult by the fact that information on how one can create this is scattered and putting it all together becomes yet another hectic journey. The post deciphers a step by step road map on how to create a successful user authentication system with valid signup and login routes. It is paramount to understand that this post does not offer an in-depth description of the subject, rather, it offers an easy to go to information on how to create the system.</p><p>The first five steps offer a guide to creating a successful signup route while the last two routes offer a guide to creating a successful login route. Each step is accompanied by a visual representation of the steps needed to create the user authentication system.</p><p><strong>Step One: </strong>Create a user migration.</p><p>Create a user migration and include a column that will hold your password. It is paramount to note that that column that hold the user’s password should be named “<strong><em>password_digest”.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*HWj6XcshCzdUWo22uyoDEA.jpeg" /></figure><p><strong>Step Two:</strong> Install a bcrypt gem</p><p>This gem gives you the ability to encrypt the user’s password when it is stored in the back-end. Add the gem to your “<strong><em>Gemfile</em></strong>” then run “<strong><em>bundle update</em>”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*PrzualW8hmTm96X61y-9Ew.jpeg" /></figure><p><strong>Step Three:</strong> Add the method <strong><em>“has_secure_password”</em> </strong>to your user’s model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*dYRVHIUBn_W30Owpd2rkrQ.jpeg" /></figure><p><strong>Step Four:</strong> Enable sessions</p><p>Sessions allow the user to have a secure connection between them and the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*4eFobyeq7QAnXsPPRNT2mw.jpeg" /></figure><p><strong>Step Five: </strong>Post, authenticate and save the user’s information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*9ltWK8WQqbt7nWh6EBZykQ.jpeg" /></figure><p><strong>Note:</strong> The password entered by the user and that which is stored in the backend server are quite different. This is because, while storing, the prior mentioned gem encrypts the password to produce a randomized string of characters which enables the user’s password to be secure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*S2LxQxfEQNL7FVDoBoa3bg.jpeg" /></figure><p><strong>Step Six: </strong>Find the user using a specific attribute</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*KaMHYvV0oWAkaYiXBE88Bg.jpeg" /></figure><p><strong>Step Seven: </strong>Authenticate the user and give them a session if authenticated</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*XO1OHMECb9Ss0CnetkULhg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebea6b8882a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moringa School]]></title>
            <link>https://medium.com/@maxgithinji101/software-development-20be75e3f3cb?source=rss-8e6c5a4569a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/20be75e3f3cb</guid>
            <dc:creator><![CDATA[max githinji]]></dc:creator>
            <pubDate>Sat, 24 Dec 2022 07:14:00 GMT</pubDate>
            <atom:updated>2023-01-10T08:11:09.697Z</atom:updated>
            <content:encoded><![CDATA[<p>Moringa School</p><h3>Working with APIs — Software Development</h3><p>Its been quite an interesting and quite a challenging journey. I enjoy this challenge especially because it demands from everything that I demand from myself: resilience, hard work, creativity, innovative ideas, and a smile when an achievement is made. Currently working on an idea that I dubbed “The Food Gram”. Its quite a simple idea, create a platform that allows people to show and share their food-culture. For me, each project that I set out to do is a practice that allows me to focus on new ways to improve my programming skills. I can now confidently create multiple HTML and CSS pages and link them to work superbly well. I am able to link my JavaScript page and give my pages quite a beautiful and user friendly interactivity. I am able to use “GET” and “POST” in APIs. I am set to better understand how to use “PATCH” and “DELETE” when using APIs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20be75e3f3cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moringa School]]></title>
            <link>https://medium.com/@maxgithinji101/software-engineering-moringa-school-eb5239d65ee5?source=rss-8e6c5a4569a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb5239d65ee5</guid>
            <dc:creator><![CDATA[max githinji]]></dc:creator>
            <pubDate>Tue, 13 Dec 2022 05:56:12 GMT</pubDate>
            <atom:updated>2023-01-10T08:08:34.600Z</atom:updated>
            <content:encoded><![CDATA[<p>Moringa School</p><p>SOFTWARE ENGINEERING</p><p>I am currently concluding Phase 1 of my software engineering course, but its not been an easy ride. The learning curve is on another level; however, am always up for a challenge. Am currently confident that I have gained an amazing amalgamation of tech skills. As of today, I am confident that I can create a HTML page and style it via the CSS to offer an amazing User Interface (U.I) experience. Additionally, I am able to give a website functionality via <em>JavaScript.</em></p><p>I am currently able to create an API, and draw data from it. At first, understanding the framework of working with APIs was quite challenging but I was finally able to decipher it and its quite nice to understand how ideal using APIs might be.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb5239d65ee5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>