https://github.com/igorrendulic/googleflexbigquery
Analytics for RESTful interface via Google Appengine Flex, BigQuery and Datastudio
https://github.com/igorrendulic/googleflexbigquery
analytics-server appengine-java rest-api
Last synced: 6 months ago
JSON representation
Analytics for RESTful interface via Google Appengine Flex, BigQuery and Datastudio
- Host: GitHub
- URL: https://github.com/igorrendulic/googleflexbigquery
- Owner: igorrendulic
- License: apache-2.0
- Created: 2017-12-26T23:18:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-31T22:39:12.000Z (about 8 years ago)
- Last Synced: 2025-03-03T04:41:29.639Z (12 months ago)
- Topics: analytics-server, appengine-java, rest-api
- Language: Java
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Logging REST events in BigQuery
Corresponding article on how to create and visualize REST API call reports: [Corresponding article](https://medium.com/@igor_98383/analytics-for-restful-interfaces-579856dea9a9)
## Curl commands for interacting with REST API:
```
curl -H "Content-Type: application/json" -X POST -d '{"time":"2017-12-25T14:26:50.466"}' http://localhost:8080/api/ping
```
```
curl -H "Content-Type: application/json" http://localhost:8080/api/ping
```
```
curl -H "Content-Type: application/json" -X POST -d '{"userName":"Igor"}' http://localhost:8080/api/greeting
```
```
curl -H "Content-Type: application/json" http://localhost:8080/api/greeting
```
## Deploy to Flex Engine
```
mvn appengine:deploy
```
or add to specific project if you have multiple google cloud accounts:
```
mvn appengine:deploy -Dapp.deploy.project=yourprojectid
```