Go to file
Yannick 038321a6ec Integrate bulma css package in the project
Integrated bulma css package in the project and included, it's
css into the application css file
2020-04-06 15:54:44 +02:00
app Integrate bulma css package in the project 2020-04-06 15:54:44 +02:00
bin Hello tinyforms 2020-04-05 23:35:53 +02:00
config Loglevel configuration for production 2020-04-06 09:46:32 +02:00
db Hello tinyforms 2020-04-05 23:35:53 +02:00
lib Hello tinyforms 2020-04-05 23:35:53 +02:00
log Hello tinyforms 2020-04-05 23:35:53 +02:00
public Hello tinyforms 2020-04-05 23:35:53 +02:00
storage Hello tinyforms 2020-04-05 23:35:53 +02:00
tmp Hello tinyforms 2020-04-05 23:35:53 +02:00
vendor Hello tinyforms 2020-04-05 23:35:53 +02:00
.browserslistrc Hello tinyforms 2020-04-05 23:35:53 +02:00
.gitignore Hello tinyforms 2020-04-05 23:35:53 +02:00
Gemfile Use dotenv to load .env configurations 2020-04-06 11:21:56 +02:00
Gemfile.lock Use dotenv to load .env configurations 2020-04-06 11:21:56 +02:00
Procfile Hello tinyforms 2020-04-05 23:35:53 +02:00
README.md Update README.md 2020-04-06 09:21:20 +00:00
Rakefile Hello tinyforms 2020-04-05 23:35:53 +02:00
babel.config.js Hello tinyforms 2020-04-05 23:35:53 +02:00
config.ru Hello tinyforms 2020-04-05 23:35:53 +02:00
env.example Hello tinyforms 2020-04-05 23:35:53 +02:00
package-lock.json Integrate bulma css package in the project 2020-04-06 15:54:44 +02:00
package.json Integrate bulma css package in the project 2020-04-06 15:54:44 +02:00
postcss.config.js Hello tinyforms 2020-04-05 23:35:53 +02:00
yarn.lock Integrate bulma css package in the project 2020-04-06 15:54:44 +02:00

README.md

Tinyforms

Form endpoint that allows to push data from a static HTML form directly into a google spreadsheet.

Installation

Requirements

  • ruby 2.6 or higher
  • PostgreSQL

Installation

Install gem dependencies and setup the database:

$ bundle install
$ rails db:setup

Configuration

To use the application the Google API client needs to be configured using the following environment variables:

  • GOOGLE_CLIENT_ID
  • GOOGLE_PROJECT_ID
  • GOOGLE_CLIENT_SECRET

You can get those from the Google APIs Dashboard

Store those in a .env file; see env.example for an example.

Run the application

$ rails server # loads the configruation from the .env file

Open localhost:3000