Michael Bumann 81d86315aa Merge branch 'form-submission-thank-you-page'
* form-submission-thank-you-page:
  Cleanup
  Remove testing page render
  Add icon svg on the submission thank you page
  Make codes more readable
  Make the submission thank you page vertically centered
  Fix the identation of codes
  Implement the submission thank you page
  Define a custom layout for submission thank you page
2020-04-22 21:00:34 +02:00
2020-04-05 23:35:53 +02:00
2020-04-15 14:53:33 +02:00
2020-04-13 23:11:46 +02:00
2020-04-13 23:11:46 +02:00
2020-04-05 23:35:53 +02:00
2020-04-14 11:50:01 +02:00
2020-04-05 23:35:53 +02:00
2020-04-05 23:35:53 +02:00
2020-04-05 23:35:53 +02:00
2020-04-05 23:35:53 +02:00
2020-04-05 23:35:53 +02:00
2020-04-05 23:35:53 +02:00
2020-04-05 23:35:53 +02:00
2020-04-15 14:53:33 +02:00
2020-04-14 14:13:06 +02:00
2020-04-05 23:35:53 +02:00
2020-04-05 23:35:53 +02:00
2020-04-09 16:06:08 +02:00
2020-04-14 14:13:06 +02:00

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

Additionally an encryption master key needs to be configured. lockbox is used to encrypt sensitive data (e.g. access_token) at rest.

  • LOCKBOX_MASTER_KEY

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

Description
No description provided
Readme 885 KiB
Languages
Ruby 55.5%
HTML 32.4%
JavaScript 7.2%
CSS 4.9%