Code Monkey home page Code Monkey logo

fbmessengerbot's Introduction

Google Cloud Platform NodeJS Samples

This repository holds Node.js samples used throughout cloud.google.com.

Build Status Coverage Status

Table of Contents

Google App Engine

This is a collection of samples and instructions to run common nodejs frameworks and applications on Google App Engine.

Google (Cloud) Products

Frameworks

Databases

Tools

Other Examples

Google BigQuery

Google Compute Engine

Google Cloud Datastore

Google Cloud Functions

Google Cloud Logging

Google Cloud Pub/Sub

Google Cloud Storage

Google Prediction API

Other Example Apps

More information

Contributing

Contributions welcome!

See CONTRIBUTING.md

Running the tests

  1. git clone [email protected]:GoogleCloudPlatform/nodejs-docs-samples.git
  2. cd nodejs-docs-samples
  3. npm install
  4. Start Redis
  5. Start Memcached
  6. Set the GCLOUD_PROJECT environment variable to id of your project
  7. Set the TEST_BUCKET_NAME environment variable to the name of a test Google Cloud Storage bucket.
  8. Set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path to a service account file. You can download one from your Google project's "permissions" page.
  9. npm test

Since the tests use AVA, you can use the --match option to run only the tests that match a provided pattern.

Run only the tests that match a pattern:

npm test -- -- --match="<pattern>"

Only run the tests for the datastore sample:

npm test -- -- --match="datastore"

Skip the tests that match a pattern:

npm test -- -- --match="!<pattern>"

Run all but the datastore tests:

npm test -- -- --match="!datastore"

Skip the tests that require Redis and Memcached:

npm test -- -- --match="express-memcached-session|redis"

License

Apache Version 2.0

See LICENSE

fbmessengerbot's People

Contributors

mgodsay avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.