Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PreviewTechnologies/WP-REST-API-GoogleAppEngine
https://github.com/PreviewTechnologies/WP-REST-API-GoogleAppEngine
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/PreviewTechnologies/WP-REST-API-GoogleAppEngine
- Owner: PreviewTechnologies
- License: mit
- Created: 2017-04-17T21:06:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T21:14:29.000Z (over 7 years ago)
- Last Synced: 2024-08-01T13:36:55.462Z (3 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
####WP REST API via Google App Engine
Serve your wordpress site's POST with []WP REST API](https://developer.wordpress.org/rest-api) + []Google App Engine](https://cloud.google.com/appengine/) (as reverse proxy theoritically) to your visitors.Super-fast, static-like webpage with your backend WP data.
#### Usage
Just clone this repo.- Signup to Google Cloud Platform,
- Create APP engine project.
- Change Wordpress site url from `public/index.php`
- Change service name to default or whatever your want in `app.yaml` fileDeploy the application in your App Engine by issuing the following command.
`gcloud app deploy --project=YOUR-GOOGLECLOUD-PROJECTID --version=whateverYOUWANT`
Now it's done! you can now browse your Google APP Engine app url something like `****.appspot.com`.
Use this as your WP REST API endpoint and start using. Enjoy serving static pages
with this REST API JSON data.Facing any trouble, contact me anytime at `[email protected]` or at twitter [@shaharia](https://twitter.com/shaharia)
My article about this implementation are available on [https://blog.shaharia.com/supercharge-wp-rest-api-with-google-app-engine](https://blog.shaharia.com/supercharge-wp-rest-api-with-google-app-engine)