GithubHelp home page GithubHelp logo

madcowley / irma-response-bot-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irma-response/irma-response-bot-api

0.0 1.0 0.0 637 KB

API for irma response bot

JavaScript 93.12% Makefile 6.88%

irma-response-bot-api's Introduction

Irma Response Bot API

An API for the purposes of creating a chatbot connecting Floridians with shelters and help requests.

This is a simple API which converts queries for a ZIP code into a lat/long, and then queries the Irma API with that lat/long.

Demo: https://us-central1-irma-response-bot.cloudfunctions.net/sheltersByZip?zip=34972

Installation (Mac osx with Homebrew)

You will need a version of nodejs installed.

brew cask install google-cloud-sdk
npm install

gcloud components update && gcloud components install beta

Deploying the Cloud function

First, create a project in Google Developers Console: https://console.developers.google.com

Then, you will need to deploy the cloud function to your project. There is a quickstart here and also you might find the cloud console helpful.

Log in from the command line:

gcloud auth login
gcloud config set project irma-response-bot

You will need to make a bucket to store the build artifact:

gsutil mb -p [PROJECT_ID] gs://[BUCKET_NAME]

Deploy the app:

# TODO: this needs to dynamically look up the project ID and bucket name
make deploy

irma-response-bot-api's People

Contributors

ernieatlyd avatar tabinfl avatar tdooner 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.