项目作者: jcpsantiago

项目描述 :
Example web form with google drive integration
高级语言: Clojure
项目地址: git://github.com/jcpsantiago/clj-googledrive-form.git
创建时间: 2019-08-24T05:53:01Z
项目社区:https://github.com/jcpsantiago/clj-googledrive-form

开源协议:Eclipse Public License 2.0

下载


CircleCI

clj-googledrive-form

Creating a form to upload files to Google Drive was useful for a project at work,
so here’s a version of that for posteriority.

I followed the usual procedure to create an OAuth token for a webapp, but then
used OAuth Playground to get
a refresh token by using my app’s client-id and secret. Finally, took that
refresh token and used for the authentication process. All the calls to Google
Drive are done using the REST API interface.

Another neat thing is the integration with Slack through a webhook, so I get notified
whenever someone uploads a new file.

I did the frontend using Tachyons CSS which was a delight,
once I discovered Tachyons TL;DR.

If you feel like sending a spreadsheet to a stranger’s Google Drive folder,
here’s this app deployed: https://clj-googledrive-form.herokuapp.com/