Potly
TrueLayer + Monzo integration to ensure you don't overspend on your credit cards π³
But mainly, a project to deep dive into web development and all the tools involved.
Planned features
- Select which transactions should and shouldn't be moved to a pot
- Connect a partner's Monzo, declare how much of each transaction was whose, and have both have money moved.
Roadmap
- Stylish site β
- Dark mode β
- Login β
- Connect to TrueLayer π
- View all your transactions π
- Connect to Monzo π
- Apportion split transactions π
Inspiriation
As a young person, I'm told repeateadly by elders that I should focus on my credit score, so that when (if ever!) I'm in the market to buy a house, the banks won't do me a dirty π¦
A key component in building your score is ensuring that you do not miss a payment.
Now, clearly, to do this you must have the money to pay off your statement. Yet the purpose of a credit card is to pay with money that you don't yet have. hmmmm π€
So I'm thinking, if using my credit card impacted my debit card balance, it'd be tougher to overspend!
So spawns this tool - designed to maintain pots within your Monzo account(s) that you can withdraw from when the time comes to pay your bills πΈ
Documentation
Tools
- Vercel https://vercel.com/
- Planetscale https://planetscale.com/
- NextJS https://nextjs.org/
- Node https://nodejs.org/en/
- TrueLayer Data API https://truelayer.com/data-api/
- Monzo API https://docs.monzo.com/
- Turborepo https://turborepo.org/
Setup
- Clone the repo.
npm i -g yarn@1 vercel && yarn
vercel login && vercel link && vercel env pull
- Install pscale cli
pscale login
Starting the app
pscale connect potly <yourbranch>
yarn dev
Updating the DB Schema
- Create a planetscale branch off main
pscale branch create potly <branchname>
- Connect to the branch
pscale connect potly <branchname>
- Update the Prisma schema
- Push your schema changes
yarn prisma db push
- Validate your changes work
- Create a deploy request and add a link to it to your PR `pscale deploy-request create potly
- Merge branch and merge deploy request manually at the same time