<?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 Mohit Ransubhe on Medium]]></title>
        <description><![CDATA[Stories by Mohit Ransubhe on Medium]]></description>
        <link>https://medium.com/@ransubhemohit31?source=rss-1e5c15e145d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2tYkJAxx45j11Iq-ACro7Q.jpeg</url>
            <title>Stories by Mohit Ransubhe on Medium</title>
            <link>https://medium.com/@ransubhemohit31?source=rss-1e5c15e145d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:15:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ransubhemohit31/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[Streamlining Data Upload to S3 with AWS Lambda and Schema Definition using AWS Glue Crawler]]></title>
            <link>https://medium.com/@ransubhemohit31/streamlining-data-upload-to-s3-with-aws-lambda-and-schema-definition-using-aws-glue-crawler-f492e0fe7428?source=rss-1e5c15e145d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f492e0fe7428</guid>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws-glue]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[restful-api]]></category>
            <dc:creator><![CDATA[Mohit Ransubhe]]></dc:creator>
            <pubDate>Sun, 20 Aug 2023 14:16:57 GMT</pubDate>
            <atom:updated>2023-08-23T06:06:25.486Z</atom:updated>
            <content:encoded><![CDATA[<h4>Efficiently Upload and Organize Data in AWS S3 with Lambda and Glue Crawler</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ei6vnOcvX73EByRduzTJlQ.jpeg" /><figcaption>Photo by Panumas Nikhomkhai from pexels.com</figcaption></figure><p><strong>Introduction:</strong><br>In today’s fast-paced world, the ability to quickly and securely upload data to cloud storage is crucial for businesses and developers. This technical blog will walk you through the process of leveraging AWS Lambda to upload data from a RESTful API into an S3 bucket seamlessly. Additionally, we will explore how to define a schema for the uploaded data using AWS Glue Crawler, simplifying data organization and making it readily available for further analysis.</p><p><strong>What is AWS Glue Crawler?</strong></p><p>AWS Glue Crawler is a serverless data processing service provided by AWS that automatically discovers, catalogs, and organizes metadata from various data sources. It simplifies the process of creating and maintaining a data catalog for efficient data analysis.</p><p><strong>What is AWS Lambda?</strong></p><p>AWS Lambda is a serverless compute service that allows you to run code without provisioning or managing servers. It enables you to execute code in response to specific events and trigger actions within the AWS ecosystem.</p><p><strong>Step 1: Set up an S3 Bucket</strong></p><p>To begin, create an S3 bucket in your AWS account where you want to store the uploaded data. Ensure you have the necessary permissions and access keys to interact with the S3 bucket.</p><p><strong>Step 2: Create an AWS Lambda Function</strong></p><p>Next, build an AWS Lambda function that will handle the data upload process. Here’s a basic example of how you can write the Lambda function in Python:</p><pre>import boto3<br>import requests<br><br>def lambda_handler(event, context):<br>    # Retrieve data from the RESTful API<br>    api_url = &quot;https://api.example.com/data&quot;<br>    response = requests.get(api_url)<br>    data = response.json()<br><br>    # Upload data to S3 bucket<br>    s3 = boto3.client(&#39;s3&#39;)<br>    bucket_name = &#39;your-s3-bucket&#39;<br>    key = &#39;data.json&#39;<br>    s3.put_object(Bucket=bucket_name, Key=key, Body=json.dumps(data))<br><br>    return {<br>        &#39;statusCode&#39;: 200,<br>        &#39;body&#39;: &#39;Data uploaded successfully to S3.&#39;<br>    }</pre><p><strong>Step 3: Configure the Lambda Trigger</strong></p><p>You can configure the Lambda function to be triggered periodically using AWS CloudWatch Events or HTTP requests or any other event source that fits your requirements.</p><p><strong>Step 4: Define Schema using AWS Glue Crawler</strong></p><p>I will provide a detailed explanation of setting up a crawler in my upcoming blog post.</p><p>Now, let’s create a schema for the uploaded data so that it can be easily queried and analyzed. We will utilize AWS Glue Crawler to automatically detect and catalog the schema from the data stored in the S3 bucket. (Detail explanation on how to set up a crawler will be given in my next blog)</p><pre>{<br>    &quot;type&quot;: &quot;object&quot;,<br>    &quot;properties&quot;: {<br>        &quot;id&quot;: {&quot;type&quot;: &quot;string&quot;},<br>        &quot;name&quot;: {&quot;type&quot;: &quot;string&quot;},<br>        &quot;age&quot;: {&quot;type&quot;: &quot;integer&quot;},<br>        &quot;email&quot;: {&quot;type&quot;: &quot;string&quot;},<br>        &quot;address&quot;: {&quot;type&quot;: &quot;string&quot;}<br>    }<br>}</pre><p><strong>Conclusion:</strong></p><p>In this blog, we explored how to use AWS Lambda to upload data from a RESTful API to an S3 bucket efficiently. We also learned how AWS Glue Crawler can automatically detect the data schema, making it easier for data analysis and query operations. By combining these services, you can streamline your data upload process and enhance your data management capabilities in the AWS cloud.</p><p><strong>Disclaimer:</strong></p><p>This blog represents the best of my knowledge and understanding as of the current date. Technologies and services offered by AWS are continually evolving, so it’s essential to refer to the official AWS documentation for the most up-to-date information.</p><p><strong>Support My Sponsor Page:</strong></p><p>If you found this blog helpful, consider supporting my sponsor page, where you can find more insightful content and resources related to AWS and cloud computing.</p><p><a href="https://github.com/sponsors/mohitransubhe-supernatural">Checkout Github Sponsors Page</a></p><p>Thank you for taking the time to read this blog till the end. I hope you found the information valuable and can now confidently utilize AWS Lambda and Glue Crawler to upload and manage data in your S3 bucket effectively.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f492e0fe7428" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Comprehensive Guide to Setting up Mixpanel in Vue 3 with Quasar 2]]></title>
            <link>https://medium.com/@ransubhemohit31/a-comprehensive-guide-to-setting-up-mixpanel-in-vue-3-with-quasar-2-f6827b73040f?source=rss-1e5c15e145d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6827b73040f</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[quasar]]></category>
            <category><![CDATA[mixpanel]]></category>
            <category><![CDATA[quasarframework]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[Mohit Ransubhe]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 04:14:26 GMT</pubDate>
            <atom:updated>2023-07-16T05:20:31.835Z</atom:updated>
            <content:encoded><![CDATA[<p>Step-by-Step Guide to Integrating Mixpanel Analytics in Vue 3 with Quasar 2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YAcMj_bsjGAW4JWjXtjOw.jpeg" /><figcaption>Photo by Mikael Blomkvist from pexels.com</figcaption></figure><p><strong>Introduction:</strong></p><p>Welcome to our comprehensive guide on setting up Mixpanel analytics in Vue 3 with Quasar 2! In today’s digital landscape, understanding user behaviour and making data-driven decisions are crucial for the success of any application. That’s where Mixpanel comes in.</p><p>I successfully utilized the Vue-Mixpanel library with Vue version 3.0.0 and Quasar version 2.6.0. The Vue-Mixpanel library was fully functional and compatible with my development environment.</p><p><strong>What is Mixpanel?</strong></p><p>Mixpanel is a powerful tool for tracking, analyzing, and understanding user behaviour in web and mobile applications. It provides businesses with actionable insights to make data-informed decisions and optimize their applications for better user engagement and growth. Using Mixpanel, you can track a wide range of user actions, events, and behaviours, such as button clicks, page views, sign-ups, purchases, and more. This data is collected and organized in Mixpanel’s dashboard, where you can visualize and analyze the information using charts, funnels, and retention reports.</p><p><strong>Getting Started:</strong></p><p><strong>Step 1:Install vue-mixpanel library</strong></p><p>The Vue-Mixpanel library is an npm package specifically designed to simplify the integration of Mixpanel analytics into Vue.js applications.</p><p>Run the below command in your project folder.</p><pre>$ npm install vue-mixpanel --save</pre><p><strong>Step 2: Initialize mixpanel token in App.vue file.</strong></p><p>App.vue</p><pre>&lt;template&gt;<br>  &lt;router-view /&gt;<br>&lt;/template&gt;<br><br>&lt;script&gt;<br>import { defineComponent } from &#39;vue&#39;<br>import { createApp } from &quot;vue&quot;;<br>import VueMixpanel from &#39;vue-mixpanel&#39;<br><br>const app = createApp({<br>  // ...<br>});<br><br>app.use(VueMixpanel, {<br>  token: &quot;yourprojecttoken&quot;,<br>  config: {<br>    debug: true<br>  }<br>})<br><br>export default defineComponent({<br>  name: &#39;App&#39;<br>})<br>&lt;/script&gt;</pre><p><strong>Step 3: Use it in your component.</strong></p><p>To utilize the Vue-Mixpanel library, you can simply import the “mixpanel-browser” package and incorporate it into your component of Vue.js application.</p><p>LoginPage.vue</p><pre>&lt;script&gt;<br>import mixpanel from &#39;mixpanel-browser&#39;;<br><br>export default defineComponent({<br>  name: &#39;LoginPage&#39;,<br><br>  created () {<br>    mixpanel.track(&#39;User accessed login page&#39;)<br>  }<br>})<br>&lt;/script&gt;</pre><p>If you found this guide useful and it made a difference in your development journey, I would greatly appreciate your support. You can contribute to my long-term survival by showing your support on GitHub and checking out my sponsor page. Your support encourages me to continue creating valuable content and sharing my knowledge with the community.</p><p><strong>Support me on Github</strong></p><p><a href="https://github.com/sponsors/mohitransubhe-supernatural">Checkout Github Sponsors Page</a></p><p>Thank you for reading, and I wish you success in leveraging Mixpanel analytics to enhance your Vue.js applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6827b73040f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>