An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# ra-data-google-sheets: a data provider for react-admin, based on Google Sheets


hackday

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).

![Screencast](./assets/screencast.gif)

## 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
```