December 16, 2018

405 words 2 mins read



Expense tracker using Google Sheets as a storage written in React

repo name jakubgarfield/expenses
repo link
language JavaScript
size (curr.) 2560 kB
stars (curr.) 1065
created 2017-06-06
license MIT License

๐Ÿ’ฐExpenses is a progressive web application on top of Google Sheets ๐Ÿ“‰ written in React โš›๏ธ. It is only a static HTML that works great on mobile ๐Ÿ“ฑ and can be deployed anywhere.

Check out the demo but please be considerate and don’t break it for others.

Delete expense

It was inspired by the expense-manager by mitul45 and it uses the material web components and material icons.


  • Multiple accounts
    • Checking, savings, joint, etc.
  • Categories
  • Google Sheet as a backend
    • Great privacy and access control.
    • Don’t share sensitive data with 3rd party.
    • Unlimited analysis up to your sheet skill.
  • Works great on mobile
    • Progressive Web App. Loads quickly and works as a standalone app.
  • Beautiful material design
    • Better than native ;)
  • Recurring expenses
  • Monthly summary
    • This month. Last month. You immediately know how you doing.

Get started

You will need a somewhat recent version of Node and a place to deploy static HTML under a custom domain (doesn’t have to be top level). To get the full offline support with service workers you’ll need HTTPS โ€“ CloudFlare works fine or you can use your own certificate.

  1. make a copy of Expense Sheet to your drive File -> Make a copy...
  2. note the id of your new sheet (it’s part of the URL)
  3. clone, install dependencies and build the app:
npm i && REACT_APP_SHEET_ID=<replace with your sheet id> npm run build
  1. copy the content of build folder to your server

Recurring Expenses

Zapier is a service for connecting apps and automating your workflows. And it can be used to add recurring expenses with the Google Sheets Integrations.

Select a trigger โ€“ it could be every month, week, or based on anything else.

Use the Create Spreadsheet Row integration and select your expense sheet and fill it with the desired values. Easy.

Zapier setup for recurring expenses


Adding another person (for example your partner) to the app is easy โ€“ you just give them access to the expense sheet in Google Sheets.

After that, they have the same access as you are and can add expenses through the same URL.

If you like this project โ€“ you might also enjoy React Digest newsletter ๐Ÿ—ž. Subscribe to get the top 5 news from React community every week.

comments powered by Disqus