Skip to content

Commit 3c2c217

Browse files
authored
Update README.md
1 parent f9662c9 commit 3c2c217

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
1-
# Google Spreadsheet Script
1+
## Collect user data in google sheets (instead of DB)
2+
3+
A script (more like a function that can be used in any node.js env) to store data in google spreadsheets.
4+
5+
Can be used as a quick hack where we don't need DB but want to collect some user data. (or migrate existing data to sheets)
6+
7+
This example is hard coded. Modify the script and data/input as per your use case.
8+
9+
10+
#### How to run?
11+
12+
```
13+
1. Create a .env file
14+
2. Store your sheet api_key and email_id inside the .env file
15+
3. Run spreadsheet.js using node
16+
17+
// the concept can be extended to work on cliend-side
18+
19+
```
20+
21+
222

3-
A script to store data in google spreadsheets. Modify as per use case.
423

524

0 commit comments

Comments
 (0)