https://github.com/rishav394/expenses-react-native
A React Native, nodeJS app and server which can communicate with Google Sheets to perform CRUD operations
https://github.com/rishav394/expenses-react-native
Last synced: 8 months ago
JSON representation
A React Native, nodeJS app and server which can communicate with Google Sheets to perform CRUD operations
- Host: GitHub
- URL: https://github.com/rishav394/expenses-react-native
- Owner: rishav394
- Created: 2020-06-17T09:08:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T18:35:43.000Z (about 6 years ago)
- Last Synced: 2025-01-17T08:45:06.540Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 424 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Expenses
[]()
A demonstration of how a react-native app can work with google sheets directly.
## Folder breakdown
1. Root directory is the client - uses expo
2. `server` directory is the backend - uses node js and googleapis
## How to run
0. Clone the repo
1. Rename `.env.example` to `.env` in the server directory
2. Set environment variables accordingly there
3. Start server by running `cd server`, `yarn` and then `yarn run start`
4. Start client by running `yarn` and then `yarn run start`
## TODO
* Add, update, delete data from Google Sheet - Server
* Eject - expo
## What the server expects
The server expects the reposnse from google sheet to have all the names in Col A and their entries next to them.
Something like this:
| Name (Row not actually in the sheet) | Amount1 | Amount2 |
|-------------------------------------- |--------: |--------- |
| Luigi | 200 | |
| Ryu | 500 | -20.12 |
| Zen | -123.34 | 199 |
| Mario | | 123 |