<?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[Gramoday - Medium]]></title>
        <description><![CDATA[Development blog for Gramoday - Medium]]></description>
        <link>https://medium.com/gramoday?source=rss----cbc7c7ba498---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Gramoday - Medium</title>
            <link>https://medium.com/gramoday?source=rss----cbc7c7ba498---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 17:06:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/gramoday" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I found a hack-y way to onboard new joiners]]></title>
            <link>https://medium.com/gramoday/i-found-a-hack-y-way-to-onboard-new-joiners-dd2ec8c201f7?source=rss----cbc7c7ba498---4</link>
            <guid isPermaLink="false">https://medium.com/p/dd2ec8c201f7</guid>
            <category><![CDATA[jira]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[onboarding]]></category>
            <category><![CDATA[confluence]]></category>
            <dc:creator><![CDATA[Ankit Gupta]]></dc:creator>
            <pubDate>Sat, 11 Jun 2022 03:04:45 GMT</pubDate>
            <atom:updated>2023-06-11T09:22:34.112Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9FtXocapAOeWAzOU" /><figcaption>Photo by <a href="https://unsplash.com/@schmaendels?utm_source=medium&amp;utm_medium=referral">Andreas Klassen</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If you have onboarded new joinees — employees &amp; interns in your company, you would have realised how repetitive the process is.</p><p>If you lead the person through a structured way to ramp up it can make the experience of the new person quite pleasant and less overwhelming at the same time. We need to ensure that topics are introduced at a time when the employee can understand and absorb it better.</p><p>This needs to be coupled with assigning tasks and making sure they are completed. Once those are done, requisite advanced training on that particular topic can be provided.</p><p>One other problem is — as a mentor you also want to track their progress so as to know where they are.</p><p>Let’s see how to do this, very easily with few tools (that you already maybe using)!</p><p>Documentation is at the heart of making any onboarding path smooth. We use Confluence by Atlassian to document our flows, how-tos, etc.</p><p>For task management we use JIRA (again by Atlassian).</p><h3>Step 1.</h3><p>Document each and everything that you find yourself explaining over and over. Confluence or any other tool like Notion would work equally well here.</p><h3>Step 2.</h3><p>Create a JIRA task (or any other task management tool) with sub-tasks which are either of the 2 types:</p><ol><li>Reading material</li><li>Action / Try out / Task item</li></ol><p>Assign rough estimates on each sub-task — indicating the time it would typically take to complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UsKJPvDmwacQMs-2tdIQKw.png" /><figcaption>Onboarding Task</figcaption></figure><p>As the tasks complete one can monitor their progress right from here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AD4qq6-0eXMhD6DbINDR6Q.png" /><figcaption>Sub-tasks with Action Items</figcaption></figure><p>You can mark tasks Optional to indicate they can be skipped.</p><p>Fin.</p><p>If you liked this, connect with me on <a href="https://www.linkedin.com/in/ankitgupta90/">LinkedIn</a> or <a href="https://twitter.com/_AnkitGupta">Twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd2ec8c201f7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gramoday/i-found-a-hack-y-way-to-onboard-new-joiners-dd2ec8c201f7">I found a hack-y way to onboard new joiners</a> was originally published in <a href="https://medium.com/gramoday">Gramoday</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a low-cost ATS using Google Sheets]]></title>
            <link>https://medium.com/gramoday/creating-a-low-cost-ats-using-google-sheets-f3dd8232d865?source=rss----cbc7c7ba498---4</link>
            <guid isPermaLink="false">https://medium.com/p/f3dd8232d865</guid>
            <category><![CDATA[ats-software]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[hiring]]></category>
            <dc:creator><![CDATA[Ankit Gupta]]></dc:creator>
            <pubDate>Sun, 20 Mar 2022 02:33:30 GMT</pubDate>
            <atom:updated>2023-06-11T09:23:32.285Z</atom:updated>
            <content:encoded><![CDATA[<p>In an earlier post I had talked about using <a href="https://medium.com/@mailtoankitgupta/using-low-code-tools-to-solve-problems-41b0255a4f7">low-code tools</a> to build apps fast.</p><p>In this post I will talk about using low-code tools to create an in-house ATS for your startup.</p><p>If you are managing the hiring at your startup you would regularly struggle with sending invites, managing the feedback, sending updates to selected, rejected or waitlisted candidates.</p><p>Popular ATS’ already solve this problem. But what if you do not want to invest into them right now.</p><p>DIY — ATS using Google Sheets &amp; App Scripts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jmy9mCh4rjmwc97ZFHV0tg.png" /></figure><p>Let’s get started.</p><h3>Step 1</h3><p>To get started you would need to accept candidate data in a structured format. We can use Google Forms for this. You can link this wherever you post your job.</p><h3>Step 2</h3><p>Create the Google Sheets associated with the Google Form, this is optional when creating the Google Form but you need to create this before adding further functionalities</p><h3>Steps 3</h3><p>Create an App Script project associated with this Google Sheet. Next you need to implement the below .gs functions:</p><ol><li>Create <a href="https://github.com/ankitdbst/ats/blob/master/Menu.gs">Menu.gs</a> to add the toolbar buttons</li><li>Create <a href="https://github.com/ankitdbst/ats/blob/master/SendInvites.gs">SendInvites.gs</a> which sends the invites with Meet link to the candidate as a Calendar Event.</li><li>Create <a href="https://github.com/ankitdbst/ats/blob/master/SendUpdates.gs">SendUpdates.gs</a> which sends the updates to candidates over email of the stage of the hiring pipeline.</li></ol><p>The complete code is present in the repo here: <a href="https://github.com/ankitdbst/ats">https://github.com/ankitdbst/ats</a></p><p>Fin.</p><p>If you liked this, connect with me on <a href="https://www.linkedin.com/in/ankitgupta90/">LinkedIn</a> or <a href="https://twitter.com/_AnkitGupta">Twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3dd8232d865" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gramoday/creating-a-low-cost-ats-using-google-sheets-f3dd8232d865">Creating a low-cost ATS using Google Sheets</a> was originally published in <a href="https://medium.com/gramoday">Gramoday</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generate production bundle for Android in Bitbucket Pipeline]]></title>
            <link>https://medium.com/gramoday/generate-production-bundle-for-android-in-bitbucket-pipeline-c986f80df354?source=rss----cbc7c7ba498---4</link>
            <guid isPermaLink="false">https://medium.com/p/c986f80df354</guid>
            <category><![CDATA[bitbucket]]></category>
            <category><![CDATA[play-store]]></category>
            <category><![CDATA[bitbucket-pipelines]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Ankit Gupta]]></dc:creator>
            <pubDate>Sun, 27 Feb 2022 02:19:28 GMT</pubDate>
            <atom:updated>2022-02-27T02:19:30.852Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TAgg5rGOfrO3C0Ct" /><figcaption>Photo by <a href="https://unsplash.com/@redaquamedia?utm_source=medium&amp;utm_medium=referral">Denny Müller</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>This post describes how to securely generate a signed .aab bundle for publishing to Playstore from Bitbucket Pipelines.</p><p>This can be done in 3 steps:</p><h4><strong>Step 1.</strong></h4><p>Save the below env variables in Bitbucket Deployment Variables</p><p><strong>SIGNING_JKS_FILE</strong> — Main .jks signing key base64 encoded.</p><p>To generate base64</p><p><strong>on Mac:</strong></p><p>$ base64 &lt; production.jks</p><p><strong>on Linux:</strong></p><p>$ base64 -w 0 &lt; production.jks</p><p><strong>SIGNING_KEYSTORE_PASSWORD </strong>— Key store password</p><p><strong>SIGNING_KEY_PASSWORD </strong>— Key password</p><p><strong>SIGNING_KEY_ALIAS</strong> — Alias for the signing key</p><h4><strong>Step 2.</strong></h4><p>Update the build.gradle file to add the productionSigning config as below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/893e0910a48e5ff4c9e0d810ebf2eac0/href">https://medium.com/media/893e0910a48e5ff4c9e0d810ebf2eac0/href</a></iframe><p>We are trying to read from the keystore.properties file which we will create dynamically in the below pipeline.</p><h4><strong>Step 3.</strong></h4><p>Create bitbucket-pipelines.yml with the below custom pipeline</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/23e221a6f31059ad69bbd6506d923bb3/href">https://medium.com/media/23e221a6f31059ad69bbd6506d923bb3/href</a></iframe><p><strong>Few things to note:</strong></p><ol><li>The generated artifact can be downloaded from Bitbucket Pipelines — Artifact Tab</li><li>We have used size: 2x since the generation requires more cpu and will take lesser time. This does incur twice as much billing on the pipeline minutes.</li><li>We save the android-signing-keystore.jks to app/ path but we provide keystoreFileLocation variable without it. This is because the path is relative to the build.gradle when the productionSigning config is executed.</li></ol><h4>Useful Links:</h4><ol><li>We can take this a step further and publish them directly to the Google Playstore tracks. This requires a Google cloud publishing key along with the Playstore Signing Key.</li></ol><p><a href="https://bitbucket.org/blog/automate-publishing-your-android-application-with-bitbucket-pipelines-and-gradle">Automate publishing your Android application with Bitbucket Pipelines and Gradle - Bitbucket</a></p><p>2. While automating this, one might want to automatically bump up the version in the build.gradle</p><p><a href="https://medium.com/@IlyaEremin/npm-version-for-gradle-android-9137a7dc273c">Increase version code and version name on Android using Gradle script</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c986f80df354" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gramoday/generate-production-bundle-for-android-in-bitbucket-pipeline-c986f80df354">Generate production bundle for Android in Bitbucket Pipeline</a> was originally published in <a href="https://medium.com/gramoday">Gramoday</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swagger based Routing in Node JS/Express API]]></title>
            <link>https://medium.com/gramoday/swagger-based-routing-in-node-js-express-api-81a9554a5be1?source=rss----cbc7c7ba498---4</link>
            <guid isPermaLink="false">https://medium.com/p/81a9554a5be1</guid>
            <category><![CDATA[swagger]]></category>
            <category><![CDATA[express]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Ankit Gupta]]></dc:creator>
            <pubDate>Sun, 06 Feb 2022 03:49:18 GMT</pubDate>
            <atom:updated>2023-06-11T09:26:48.626Z</atom:updated>
            <content:encoded><![CDATA[<p>Traditionally, express comes with a router which can be used to define routes in your API.</p><p>A typical routes file looks like:</p><pre>app.get(&#39;/books/:id&#39;, booksController.getBook)<br>app.post(&#39;/books&#39;, booksController.createBook)<br>...</pre><p><a href="https://swagger.io/docs/specification/about/">Swagger</a> is the de-facto language for API documentation. Swagger uses the Open API spec to describe the API definitions.</p><p>Here in this article, I am going to talk about how to use Swagger which is an API documentation tool and connect it with Express API routes. This has the following benefits:</p><ol><li>You don’t have to explicitly define your routes anymore, they are defined using the swagger definition you have created for your APIs.</li><li>You can have certain middlewares that work on this API definition to do tasks like translation, id-lookup (which we will get to in the next articles)</li></ol><p>Let’s get started.</p><h4>Packages</h4><p>We will use the below 2 npm packages:</p><ul><li><a href="https://www.npmjs.com/package/swagger-routes-express">swagger-routes-express</a> — For connecting the swagger api definitions to express routes</li><li><a href="https://www.npmjs.com/package/swagger-ui-express">swagger-ui-express </a>— For displaying the API definitions on web</li></ul><p>Use npm install to install these dependencies</p><h4>Steps</h4><ol><li>Import the libraries in app.js</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1279239ff14ffa9102e5dad2b3630c9/href">https://medium.com/media/f1279239ff14ffa9102e5dad2b3630c9/href</a></iframe><p>2. Create api.yaml file for our swagger definitions</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b23a0a4d0b8bc7f361369fe88f4825d4/href">https://medium.com/media/b23a0a4d0b8bc7f361369fe88f4825d4/href</a></iframe><p>Here we have referenced another yaml books.yaml under schemas directory which contains all the API definitions for books.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bcc7e154c97796aa748520c8e61eb822/href">https://medium.com/media/bcc7e154c97796aa748520c8e61eb822/href</a></iframe><p>This is for modularity, and also preventing api.yaml file from getting large.</p><p>3. Load the swagger definition file</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/edb039099c977446554b43f18a285399/href">https://medium.com/media/edb039099c977446554b43f18a285399/href</a></iframe><p>I am using a helper function to load swagger definitions as I have referenced books.yaml within my api.yaml</p><p>4. Create routes.js file to map the operationId in swagger to express handler.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/95fd2eca1db68af06b9fde173e4eb2fa/href">https://medium.com/media/95fd2eca1db68af06b9fde173e4eb2fa/href</a></iframe><p>5. Finally, connect swagger to express and host your api definitions on /docs path in express</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec205f2f64df78bad63ba8b04285eebf/href">https://medium.com/media/ec205f2f64df78bad63ba8b04285eebf/href</a></iframe><p>You can now go to <a href="http://localhost:8082/docs">http://localhost:8082/docs</a> to access your API definitions. (8082 is the port I use on local development, change this to the port you have started your app on)</p><p>So there we have it — a working express routes with API definitions in swagger!</p><p>If you liked this, connect with me on <a href="https://www.linkedin.com/in/ankitgupta90/">LinkedIn</a> or <a href="https://twitter.com/_AnkitGupta">Twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81a9554a5be1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gramoday/swagger-based-routing-in-node-js-express-api-81a9554a5be1">Swagger based Routing in Node JS/Express API</a> was originally published in <a href="https://medium.com/gramoday">Gramoday</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Translation Middleware for Express APIs and MongoDB]]></title>
            <link>https://medium.com/gramoday/translation-middleware-for-express-apis-and-mongodb-b5853551b0db?source=rss----cbc7c7ba498---4</link>
            <guid isPermaLink="false">https://medium.com/p/b5853551b0db</guid>
            <category><![CDATA[expressjs]]></category>
            <category><![CDATA[middleware]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[translation]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Ankit Gupta]]></dc:creator>
            <pubDate>Sun, 06 Feb 2022 03:37:41 GMT</pubDate>
            <atom:updated>2023-07-17T02:19:53.976Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_jScNQbz-xF9LZ_z" /><figcaption>Photo by <a href="https://unsplash.com/@douglasamarelo?utm_source=medium&amp;utm_medium=referral">Douglas Lopes</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this post, I am going to talk about how to automatically perform translation on API responses using swagger metadata config, in an express middleware.</p><p><strong>The config-based approach has the below benefits:</strong></p><ol><li>Removes duplicate code being added for each route/handler</li><li>Takes a config-based approach to define the translation, which can make this nearly 100% error-free.</li><li>Development speed — Adding translation to the APIs is a breeze</li></ol><h3>Database</h3><p>For the database, a simple schema can be to create another translations collection that records the translations e.g.</p><pre>// translations collection schema<br>{<br>  table: string, // for e.g. crops<br>  column_id: string, // this is the crop_id<br>  column_id_value: int, // value for crop_id<br>  column_to_translate: string, // this can be crop_name<br>  en: string,<br>  hi: string,<br>  ...<br>}<br><br>// query to lookup<br>db.translations.find({<br>  table: &#39;crops&#39;,<br>  column_id: &#39;crop_id&#39;,<br>  column_id_value: 1,<br>  column_to_translate: &#39;crop_name&#39;<br>},<br>{<br>  en: 1,<br>  hi: 1,<br>  _id: 0<br>})</pre><p>One can add a compound index on the (table, column_id, column_id_value, column_to_translate) to optimize the read.</p><p>Since we always query by the 4 keys, we can also create a translationKey that merges these values and then index on this key instead.</p><p>For e.g., we could instead store &lt;prefix&gt;_crop_id_1_crop_name as the value for the translationKey and avoid passing in the value separately.</p><h3>API Layer</h3><p>In order to configure a translation middleware for your express APIs, you would need:</p><ol><li><a href="https://medium.com/@mailtoankitgupta/swagger-based-routing-in-node-js-express-api-81a9554a5be1">Swagger based routes</a></li><li><a href="https://www.npmjs.com/package/jsonpath">json-path</a> library to traverse the JSON tree</li><li><a href="https://www.npmjs.com/package/express-mung">mung</a> for transforming express response</li></ol><h3>Steps</h3><ol><li>Define translationConfig.yaml</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f43b37c73c12c33ae54fc79ae3dcacf6/href">https://medium.com/media/f43b37c73c12c33ae54fc79ae3dcacf6/href</a></iframe><p>2. Include it in the main swaggger.yaml</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/daca5ffe7471709aeffa5d807eff727c/href">https://medium.com/media/daca5ffe7471709aeffa5d807eff727c/href</a></iframe><p>3. Define the middleware translation.js</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eda12aa7ed4d29f9b42a8240029ec3d3/href">https://medium.com/media/eda12aa7ed4d29f9b42a8240029ec3d3/href</a></iframe><p>There are a few things going on in the above function:</p><ol><li>We go through all the translation configs defined in translationConfig.yaml</li><li>Create the unique translation keys for each field using its corresponding translateFn</li><li>Perform a one-time DB lookup for the keys in the collection named Translations</li><li>Query the body for the fieldPaths we need to replace</li><li>Find out the corresponding key nodes for these fieldPaths</li><li>Substitute the value from the translation map (for the required lang) in the node value</li></ol><p>Also, here is the simplified version of translationUtil.js</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eac84d603b6ae646f29613f887c0d739/href">https://medium.com/media/eac84d603b6ae646f29613f887c0d739/href</a></iframe><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5853551b0db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gramoday/translation-middleware-for-express-apis-and-mongodb-b5853551b0db">Translation Middleware for Express APIs and MongoDB</a> was originally published in <a href="https://medium.com/gramoday">Gramoday</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>