https://github.com/marmelab/ra-data-google-sheets
A data provider for react-admin, based on Google Sheets
https://github.com/marmelab/ra-data-google-sheets
hacktoberfest react react-admin
Last synced: about 2 months ago
JSON representation
A data provider for react-admin, based on Google Sheets
- Host: GitHub
- URL: https://github.com/marmelab/ra-data-google-sheets
- Owner: marmelab
- License: mit
- Created: 2020-04-01T08:16:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T11:31:17.000Z (over 4 years ago)
- Last Synced: 2024-04-13T02:08:38.043Z (about 1 year ago)
- Topics: hacktoberfest, react, react-admin
- Language: JavaScript
- Homepage: https://marmelab.com/react-admin
- Size: 1.96 MB
- Stars: 29
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ra-data-google-sheets: a data provider for react-admin, based on Google Sheets
![]()
Archived Repository
The code of this repository was written during a Hack Day by a marmelab developer. It's part of the distributed R&D effort at marmelab, where each developer spends 2 days a month for learning and experimentation.
This code is not intended to be used in production, and is not maintained.
Create a Google Sheet spreadsheet, add your data and build an entire admin app on it.
This module provides a [react-admin data provider](https://marmelab.com/react-admin/DataProviders.html#data-providers) and Google API helpers to work with private documents.
More details are coming on [marmelab's blog](https://marmelab.com).

## Development
**Requirements:**
- Dependencies are managed by [yarn](https://yarnpkg.com/)
- Commands are launched using `make`**Setup:**
Install the dependencies with:
```sh
make install
```**Start:**
Start the demo application in watch mode with:
```sh
make start
```## Data
You can find data in the `./assets/` folder to help you reproducing the demo.
These data are formatted using **CSV files separated by comma**.
1. Devs:
1. Create a first tab named `devs`
2. Import the content of the file `/assets/ra-data-google-sheets-devs.csv`2. Devs:
1. Create a second tab named `projects`
2. Import the content of the file `/assets/ra-data-google-sheets-projects.csv`## Distribution
**Build:**
Build the library using:
```sh
make build
```