<?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 Kavya Mandla on Medium]]></title>
        <description><![CDATA[Stories by Kavya Mandla on Medium]]></description>
        <link>https://medium.com/@kavyamandla?source=rss-29f9ac86cc30------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HBPye1iV57uSsZgE.jpg</url>
            <title>Stories by Kavya Mandla on Medium</title>
            <link>https://medium.com/@kavyamandla?source=rss-29f9ac86cc30------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 04:04:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kavyamandla/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[JWT!]]></title>
            <link>https://medium.com/@kavyamandla/jwt-c8912a972fe1?source=rss-29f9ac86cc30------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8912a972fe1</guid>
            <dc:creator><![CDATA[Kavya Mandla]]></dc:creator>
            <pubDate>Fri, 12 Aug 2022 19:08:55 GMT</pubDate>
            <atom:updated>2022-08-12T19:08:55.979Z</atom:updated>
            <content:encoded><![CDATA[<p>JWT or JavaScript Object Notation Web Tokens creates a secure way of sending information between places. These tokens can be sent through a HTTP header or POST parameter. Single Sign-On (SSO) uses JWT because it’s easy to use across domains. It’s useful for authentication and information exchange. Once the user signs in, every request will have a JWT to allow the user to access what JWT allows them to. A token can also be signed using private/public key pairs. This is used to validate the user’s identity. The token has three components: header, payload, and signature. The header details which algorithm is used to create the signature. There are many algorithms that are used. To name a few:</p><ul><li>HS256, HS384, HS512</li><li>RS256, RS384, RS512</li><li>ES256, ES384, ES512</li><li>PS256, PS384, PS512</li></ul><p>The payload contains secure information being sent. The information that’s within the payload will be visible to anyone. It contains the claims. Registered claims are iss (issuer of JWT), sub (user), aud (recipient), exp (expiration), nbf (not before time), iat (issued at time), and jti (unique id). You can also have custom claims, public claims, and private claims. Claims aren’t mandetory. A common use for JWT’s is OAuth Bearer Tokens. The token allows users to have access to certain services and routes. Any important, personal information should not be sent. The signature uses a secret-key to authenticate. The algorithm passed in the header is what is used to create the signature. Both the header and payload will always be Base64 encoded which allows data in a binary format to be sent across. To authenticate a user, a JWT will be set through a HTTP header request to the backend. Due to JWT’s being pretty large, if used alongside cookies, it’ll require more time and bandwidth per request.</p><p>Workflow</p><ol><li>User signs in and a JWT is generated using a secret-key.</li><li>Generated JWT is sent from server to client side.</li><li>Every time a request is sent, the generated JWT is also sent and validated</li><li>If the user’s request is successfully validated, it’ll return the response.</li></ol><p>A private/public key pair can be issued. The private will only be known to the one that created it and will be allowed to create the signature. The public key will be used for verification.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8912a972fe1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bulma Layouts]]></title>
            <link>https://medium.com/@kavyamandla/bulma-layouts-895fcc688ae6?source=rss-29f9ac86cc30------2</link>
            <guid isPermaLink="false">https://medium.com/p/895fcc688ae6</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[bulma]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Kavya Mandla]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 05:46:39 GMT</pubDate>
            <atom:updated>2022-07-14T05:46:39.805Z</atom:updated>
            <content:encoded><![CDATA[<p>In plain old CSS, it takes a lot more practice to understand more than just flex and positions. Using Bulma made learning and creating beautiful responsive grid layouts a lot faster. The documentation was easy to read and understand. It made taking the concepts taught to being easily implemented. Here are a few highlights about Bulma’s layouts.</p><p>By just having 16 modifiers to create your grid tiles, you can create ancestor-parent-child relationships, move tiles to be vertical rather than horizontal, and specify the width the tile should be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*K2dOFRze4ypDdY6moD8Wbw.png" /><figcaption>Figure 1: Bulma Layouts Documentation</figcaption></figure><p>In order to create two tiles that are vertically stacked, there would be an ancestor div that has a parent section that would have two children. We would use the ‘is-ancestor’, ‘is-parent’, or the ‘is-child’ modifier to connect the hierarchy of div sections. The idea is to nest the tile elements always starting with the ‘is-ancestor’ modifier. Adding tile elements without ‘is-vertical’ will add the tiles horizontally on default. At least 3 levels of hierarchy are needed but more can be added for complex layouts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*5RhiyqL9K-AFTCZ-nM7NlA.png" /><figcaption>Figure 2: Code snippet to place divs on top of one another</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/1*l6d5xJ-ULBUL2fSLpBGvIQ.png" /><figcaption>Figure 3: Vertically Stacked Tiles in Bulma</figcaption></figure><p>In order to create two tiles side by side, the ‘is-vertical’ modifier would be used to place the divs next to each other and not vertically stacked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*wN_5FPrCxr5Vbe63QPqsgA.png" /><figcaption>Figure 4: Code snippet to place divs side by side</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/1*9IQa9gwnR1fjcQZ4lcGvoQ.png" /><figcaption>Figure 5: Side By Side Tiles in Bulma</figcaption></figure><p>In order to resize the tiles to take up a certain amount of space horizontally, any of the12 horizontal size modifiers can be used. All the size modifiers starts with ‘is-*’ and proceeds with a number from 1–12. Using the size modifiers can help you create a very powerful site that has a complex grid layout yet simple to implement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l9E4e0lbhmY6zZ9QwjXLeg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nnnZkghODlfn2LOw9X97-w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9VkRYwANJQz-tv8dNB5nBw.png" /><figcaption>Figure 6: Tiles with different size modifiers</figcaption></figure><p>Bulma uses columns classes which is similar to using tiles. ‘Columns’ and ‘Column’ are a similar concept to rows and columns in flex and Bootstrap. ‘Columns’ is like using rows and ‘column’ is … is like using column.</p><p>In order to create multiple columns in one row, a parent div of class ‘columns’ will have as many ‘column’ classes as you’d like columns. In Figure 7, there are 4 divs inside the ‘columns’ div wrapper that have a class ‘column’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*cw1VkO1nxjGLB-pBe2F9Fg.png" /><figcaption>Figure 7: Code snippet for multiple columns</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3-GUDkhADW7N2aOnKndH3g.png" /><figcaption>Figure 8: Multiple columns using ‘column’ class</figcaption></figure><p>In order to create multiple rows in one column, you’ll need a ‘columns’ outer div to create each row you’d like and inside each div will be a div with a ‘column’ class. Removing the inner div will just create a row with no padding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*xkmeFcfwwUaA3DIrIgBTWg.png" /><figcaption>Figure 9: Code snippet for multiple rows</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nfXoqLA-17n_DJkdO9Y7A.png" /><figcaption>Figure 10: Multiple rows using ‘columns’ and ‘column’ class</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=895fcc688ae6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>