<?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 Jordi Hermoso on Medium]]></title>
        <description><![CDATA[Stories by Jordi Hermoso on Medium]]></description>
        <link>https://medium.com/@jordihermoso?source=rss-9ead26d5bf08------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*tTU9jwAUMrC5diAvXqSX9w.jpeg</url>
            <title>Stories by Jordi Hermoso on Medium</title>
            <link>https://medium.com/@jordihermoso?source=rss-9ead26d5bf08------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 00:00:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jordihermoso/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[A banking portal for my sharehouse]]></title>
            <link>https://jordihermoso.medium.com/a-banking-portal-for-my-sharehouse-e4010de6f0cc?source=rss-9ead26d5bf08------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4010de6f0cc</guid>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Jordi Hermoso]]></dc:creator>
            <pubDate>Tue, 16 Feb 2021 12:02:56 GMT</pubDate>
            <atom:updated>2021-02-16T12:02:56.856Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cFL7XGEKeodcIW3pRPsHIQ.png" /><figcaption><a href="https://91wal.now.sh/">https://91wal.now.sh</a></figcaption></figure><p><em>Recently my housemates have been having issues with our shared finances. We were asking questions like: How much money is in the account? Which week is the rent due?</em></p><p>Here are details of a little hack/project we came up with to solve a few of our shared banking issues.</p><h3>Context:</h3><ul><li>My housemates and I use a separate bank account to handle all costs and expenses associated with our rental</li><li>We use a bank named Up — a neo-bank (that recently released an <a href="https://developer.up.com.au/">online API</a> 👀 )</li></ul><h3>Problem:</h3><ul><li>Only one housemate (the account owner) has visibility over the payments, expenses, scheduled rent, and account balance.</li><li>It is troublesome following up on issues with payments that have bounced, checking if we have enough money to cover utilities etc.</li></ul><h3>Solution</h3><ul><li>Create a web-based application that shows a quick overview of our Houses finances.</li><li>Use Up’s API to source all of our Transaction, and Account Balance data in real-time.</li></ul><h3>Implementation</h3><p><em>The following is a rough guideline of my thought process and how we reached the final proof of concept.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zn5K0N7nOXD4CZP3KaJCHw.png" /></figure><h4>Getting started</h4><p>The first thing we’re going to want is to get our access token from Up’s website and try to ping the API.</p><p>To do this I installed a pretty basic querying application named <a href="https://insomnia.rest/">Insomnia</a> and tried to query the API.</p><h4>App framework</h4><p>Now that we know we can talk to Up’s API, we can decide how we want to build the app.</p><p>I decided to use Next.JS, a React Framework that uses Server Side Rendering and allows for quick API integration.</p><p><a href="https://nextjs.org/">Next.js by Vercel - The React Framework</a></p><p>This is great because it means we can use this to hide our sensitive banking queries to Up’s API. Leaving our secure token hidden from the client’s machine.</p><h4>Talking to Up’s API — leveraging open-api.json</h4><p>Up’s GitHub page for there API there’s an <a href="https://github.com/up-banking/api/blob/master/v1/openapi.json">OpenAPI file</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LxPXIdBLZVKfp_SwgTMqkA.png" /><figcaption><a href="https://github.com/up-banking/api/blob/master/v1/openapi.json">https://github.com/up-banking/api/blob/master/v1/openapi.json</a></figcaption></figure><p>When I first looked at it I had no idea what it was, but it seemed like the kind of thing someone would build a Typescript Generator library for, or some Client Library generator. Interesting 🤔</p><p>I went searching and found these two libraries:</p><ol><li><a href="https://www.npmjs.com/package/openapi-typegen">https://www.npmjs.com/package/openapi-typegen</a></li><li><a href="https://www.npmjs.com/package/openapi-typescript-codegen">https://www.npmjs.com/package/openapi-typescript-codegen</a></li></ol><p>The first option seemed to work, spitting out auto-generated types, but I was hoping for a bit more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tPtqDGiL4_03E-nDGP7aYw.png" /></figure><p>openapi-typescript-codegen ended up working best, providing an easily accessible client for invoking API methods e.g. client.getAccounts() , client.getTransactions()</p><p>Also providing intelli-sense code completions.</p><p>In just one yarn typegen... we have access to our:</p><ul><li>Account balances, and</li><li>Transaction data</li></ul><h4>UI Framework</h4><p>Chakra-UI is a great React component library with convenient features like responsiveness and dark mode built-in.</p><p><a href="http://chakra-ui.com/">Chakra UI - A simple, modular and accessible component library that gives you the building blocks you need to build your React applications.</a></p><h3>What’s next? 🚀</h3><ul><li>A way to log in and tune up your sharehouse dashboard</li><li>Custom reminders (for key dates like bin-days, utility bills etc.)</li><li>Support for other banks???</li></ul><h3>Thanks for reading 🤠</h3><p>Hope you enjoyed my short tutorial about a share house banking project built in Next.js. Please feel free to contact me — visit my <a href="https://www.linkedin.com/in/jordi-hermoso-34481813a/"><strong>LinkedIn</strong></a> or <a href="https://jordi.app/"><strong>website</strong></a>, or just send me an email <strong>jordi.hermoso.up@gmail.com</strong>. Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4010de6f0cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>