Skip to content

Commit

Permalink
Migrate to Google Cloud Platform
Browse files Browse the repository at this point in the history
  • Loading branch information
15Dkatz committed Jan 6, 2019
1 parent efae496 commit 16311b7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
17 changes: 17 additions & 0 deletions .gcloudignore
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

# Node.js dependencies:
node_modules/
11 changes: 4 additions & 7 deletions README.md
@@ -1,17 +1,14 @@
### Announcement:
### Announcement

Due to high usage, the heroku limits have been exceeded! I'll work on getting the API up again as soon as possible, while also implementing rate limiting, so that the service is usable by all.
Thank you!

I've created a new heroku instance in the meantime. But I plan to create a more long-term solution with rate limiting on AWS. Stay tuned!
This API has migrated to the Google Cloud Platform!

## Endpoints:

### Grab a random joke!
[https://official-joke-api.herokuapp.com/random_joke](https://official-joke-api.herokuapp.com/random_joke)
[https://official-joke-api.appspot.com/random_joke](https://official-joke-api.appspot.com/random_joke)

### Grab ten random jokes!
[https://official-joke-api.herokuapp.com/random_ten](https://official-joke-api.herokuapp.com/random_ten)
[https://official-joke-api.appspot.com/random_ten](https://official-joke-api.appspot.com/random_ten)

## How these jokes were collected

Expand Down
1 change: 1 addition & 0 deletions app.yaml
@@ -0,0 +1 @@
runtime: nodejs10

0 comments on commit 16311b7

Please sign in to comment.