ODINAKACHUKWU / ruby_google_spreadsheet

This repo is for a web app built with Sinatra framework for saving data in google spreadhseet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Google Spreadsheet

This is a sample application that uses Sinatra to host a site that saves data in a Google Sheet.

Running the application

Get setup with Google Sheets

Follow the steps in this blog post to create the credentials for a service account in the Google APIs Console. Download the credentials and copy them to this project with the filename client_secret.json.

You will also need to create a blank spreadsheet and give your service account access to edit.

Download, prepare and start the app

Clone this repository with the command:

git clone https://github.com/ODINAKACHUKWU/ruby_google_spreadsheet.git
cd ruby_google_spreadsheet

Install the dependencies:

bundle install

Start the app:

bundle exec ruby app.rb

Visit: http://localhost:4567

Learning source:

Twilio blog: by PHIL NASH

About

This repo is for a web app built with Sinatra framework for saving data in google spreadhseet


Languages

Language:Ruby 64.3%Language:HTML 32.3%Language:CSS 3.4%