-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update(server): setup for GAE Flex and Cloud Endpoints.
Relates to gdg-x#100
- Loading branch information
Showing
9 changed files
with
223 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
test/ | ||
|
||
node_modules/ | ||
.git/ | ||
coverage/ | ||
npm-debug.log | ||
|
||
.dockerignore | ||
Dockerfile | ||
|
||
.gitignore | ||
.gitattributes | ||
.editorconfig | ||
.idea/ | ||
*.md | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
.DS_Store | ||
node_modules | ||
public | ||
.tmp | ||
/node_modules | ||
/public | ||
/.tmp | ||
/tmp | ||
.sass-cache | ||
app/bower_components | ||
heroku | ||
/app/bower_components | ||
/views | ||
dist | ||
.idea | ||
/dist | ||
/.idea | ||
newrelic_agent.log | ||
.c9 | ||
mongodb | ||
*.log | ||
.env | ||
.env-prod | ||
npm-debug.log.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.6.1 | ||
6.9.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
runtime: nodejs | ||
env: flex | ||
handlers: | ||
- url: /.* | ||
script: IGNORED | ||
endpoints_api_service: | ||
name: api.gdgx.io | ||
config_id: 2017-03-18r0 | ||
network: | ||
instance_tag: https-server | ||
name: gdg-x | ||
automatic_scaling: | ||
min_num_instances: 1 | ||
max_num_instances: 2 | ||
cool_down_period_sec: 300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
cron: | ||
- description: daily 9am EST ingestion job | ||
url: / | ||
schedule: every day 13:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "1.0.0", | ||
"title": "GDG-X Hub API", | ||
"description": "API for using data from the Google Developer Groups (GDG) Hub.", | ||
"license": { | ||
"name": "MIT" | ||
}, | ||
"contact": { | ||
"name": "GDG-X Support", | ||
"email": "support@gdgx.io" | ||
} | ||
}, | ||
"host": "api.gdgx.io", | ||
"basePath": "/api/v1", | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"schemes": [ | ||
"https" | ||
], | ||
"paths": { | ||
"/chapters": { | ||
"get": { | ||
"operationId": "listChapters", | ||
"description": "Returns a list containing all Chapters", | ||
"responses": { | ||
"200": { | ||
"description": "Success", | ||
"schema": { | ||
"$ref": "#/definitions/ChapterList" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"ChapterList": { | ||
"type": "object", | ||
"properties": { | ||
"count": { | ||
"type": "number" | ||
}, | ||
"pages": { | ||
"type": "number" | ||
}, | ||
"page": { | ||
"type": "number" | ||
}, | ||
"perpage": { | ||
"type": "number" | ||
}, | ||
"items": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/Chapter" | ||
} | ||
} | ||
} | ||
}, | ||
"Chapter": { | ||
"type": "object", | ||
"properties": { | ||
"_id": { | ||
"type": "string" | ||
}, | ||
"created_at": { | ||
"type": "string" | ||
}, | ||
"updated_at": { | ||
"type": "string" | ||
}, | ||
"site": { | ||
"type": "string" | ||
}, | ||
"group_type": { | ||
"type": "string" | ||
}, | ||
"country": { | ||
"type": "string" | ||
}, | ||
"state": { | ||
"type": "string" | ||
}, | ||
"city": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"__v": { | ||
"type": "number" | ||
}, | ||
"organizers": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"geo": { | ||
"$ref": "#/definitions/Location" | ||
} | ||
} | ||
}, | ||
"Location": { | ||
"type": "object", | ||
"required": [ | ||
"lng", "lat" | ||
], | ||
"properties": { | ||
"lng": { | ||
"type": "number" | ||
}, | ||
"lat": { | ||
"type": "number" | ||
} | ||
} | ||
} | ||
}, | ||
"security": [ | ||
|
||
], | ||
"securityDefinitions": { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters