Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gurumukhi/gcp-myvibes
https://myvibes.appspot.com/
https://github.com/gurumukhi/gcp-myvibes
Last synced: about 1 month ago
JSON representation
https://myvibes.appspot.com/
- Host: GitHub
- URL: https://github.com/gurumukhi/gcp-myvibes
- Owner: gurumukhi
- License: apache-2.0
- Created: 2019-09-26T17:25:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T09:16:49.000Z (over 4 years ago)
- Last Synced: 2024-11-01T05:25:36.704Z (3 months ago)
- Language: JavaScript
- Size: 889 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Google Cloud Platform Node.js Samples [![Slack][slack_badge]][slack_link]
Node.js samples for [Google Cloud Platform products][cloud].
See [cloud.google.com/nodejs][cloud_nodejs] to get up and running with Node.js
on Google Cloud Platform.[slack_badge]: https://img.shields.io/badge/slack-nodejs%20on%20gcp-E01563.svg
[slack_link]: https://gcp-slack.appspot.com/
[cloud]: https://cloud.google.com/
[cloud_nodejs]: https://cloud.google.com/nodejs/## Setup
### Prerequisites
1. Install [Node.js version 8 or greater][node]
1. Clone this repository:git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git
1. Obtain authentication credentials.
Create local credentials by running the following command and following the
oauth2 flow (read more about the command [here][auth_command]):gcloud auth application-default login
Read more about [Google Cloud Platform Authentication][gcp_auth].
[node]: https://nodejs.org/
[auth_command]: https://cloud.google.com/sdk/gcloud/reference/beta/auth/application-default/login
[gcp_auth]: https://cloud.google.com/docs/authentication#projects_and_resources### How to run a sample
1. Change directory to one of the sample folders, e.g. `storage-transfer`:
cd storage-transfer/
1. Install the sample's dependencies (see the sample's README for details):
npm install
1. Run the sample:
node sample_file.js [args]...
## Other sample applications
### Bookshelf tutorial app
The [Bookshelf app][bookshelf_docs] is a sample web app written in Node.js that
shows you how to use a variety of Google Cloud Platform features.View the [tutorial][bookshelf_docs] or the [source code][bookshelf_code].
[bookshelf_docs]: https://cloud.google.com/nodejs/getting-started/tutorial-app
[bookshelf_code]: https://github.com/GoogleCloudPlatform/nodejs-getting-started### Node.js Codelab
In the [Node.js Web App Google Cloud Platform][codelab_docs] codelab, you learn
how to integrate Google Cloud Platform services into a Node.js web application
to store data, upload images, and authenticate users.View the [tutorial][codelab_docs] or the [source code][codelab_code].
[codelab_docs]: https://gcplab.me/codelabs/cloud-nodejs/index.html
[codelab_code]: https://github.com/googlecodelabs/cloud-nodejs## Contributing
Contributions welcome! See the [Contributing Guide][contrib].
[contrib]: CONTRIBUTING.md