Skip to content

marmelab/ra-data-google-sheets

Repository files navigation

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 and Google API helpers to work with private documents.

More details are coming on marmelab's blog.

Screencast

Development

Requirements:

  • Dependencies are managed by yarn
  • Commands are launched using make

Setup:

Install the dependencies with:

make install

Start:

Start the demo application in watch mode with:

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:

make build