Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tnguyen14/notes
https://github.com/tnguyen14/notes
google-drive markdown notes
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tnguyen14/notes
- Owner: tnguyen14
- Created: 2015-08-07T18:05:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T20:13:40.000Z (over 7 years ago)
- Last Synced: 2024-04-14T22:48:33.429Z (9 months ago)
- Topics: google-drive, markdown, notes
- Language: JavaScript
- Homepage: https://lab.tridnguyen.com/notes
- Size: 323 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes
[![js-happiness-style](https://img.shields.io/badge/code%20style-happiness-brightgreen.svg)](https://github.com/JedWatson/happiness)
[![Build Status](https://travis-ci.org/tnguyen14/notes.svg?branch=master)](https://travis-ci.org/tnguyen14/notes)
[![Coverage Status](https://coveralls.io/repos/github/tnguyen14/notes/badge.svg?branch=master)](https://coveralls.io/github/tnguyen14/notes?branch=master)## Usage
- Follow [this instruction](https://developers.google.com/drive/v3/web/quickstart/nodejs#step_1_turn_on_the_api_name) to create a Google API project with the Drive API enabled.
- Instead of Application Type "**Other**", choose "**Web application**"
- Under "Authorized JavaScript origins" and "Authorized redirect URIs", enter your production URL as the first value and development URL as the second (such as `http://localhost:4002`).
- Create a `private` directory and move the downloaded JSON credentials file to `private/client_secret.json`.
- Create a `.env` file with the value of `NODE_ENV` set to either `production` or `development`.
- Add the "Authorized JavaScript origins" to the `.env` file under `AUTHORIZED_ORIGINS`, separated by comma
- Server: `npm run dev` on development, or `npm start` on production.
- Add your server URL as `API_URL` to `.env` file.
- Client: `npm run deploy`