-
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): remove Redis, clustering. Convert session storage to …
…Mongo. upgrade to latest Express and related libraries convert tasks to be triggered directly instead of via Redis+Clustering convert cron to call new tasks remove deprecated express-annotations remove API docs since they depended upon express-annotations convert rate metering to in-memory only since Redis is no longer an option temporarily disable CSRF protection Fixes gdg-x#96 gdg-x#80
- Loading branch information
Showing
19 changed files
with
198 additions
and
717 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
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,38 +1,33 @@ | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="span12"> | ||
<h2>API Specification</h2> | ||
<div class="card"> | ||
<div class="card-wh-body"> | ||
{{restDiscovery.title}} Version: {{restDiscovery.version}}, BaseURL: {{restDiscovery.baseUrl}}<br/> | ||
Status: <b>{{restDiscovery.status}}</b> | ||
</div> | ||
</div> | ||
<div class="card"> | ||
<div class="card-wh-body"> | ||
<ul> | ||
<li>All Routes support JSONP (just add your callback in the query, e.g. ?callback=myfunc)</li> | ||
<li>Simple API Keys, OAuth & will be introduced later.</li> | ||
<li>The API is rate limited. Please check the X-RateLimit-* headers for details</li> | ||
<li>API Responses might be cached. Check the X-Cacher-Hit header.</li> | ||
<li>Please file any bug reports and/or feature requests at | ||
<div class="row"> | ||
<div class="span12"> | ||
<h2>API Specification</h2> | ||
<div class="card"> | ||
<div class="card-wh-body"> | ||
GDG-X Hub API Version: v1, BaseURL: https://hub.gdgx.io/api/v1/<br/> | ||
Status: <b>alpha</b> | ||
</div> | ||
</div> | ||
<div class="card"> | ||
<div class="card-wh-body"> | ||
<ul> | ||
<li>All Routes support JSONP (just add your callback in the query, e.g. ?callback=myfunc)</li> | ||
<li>Simple API Keys, OAuth & will be introduced later.</li> | ||
<li>The API is rate limited. Please check the X-RateLimit-* headers for details</li> | ||
<li>API Responses might be cached. Check the X-Cacher-Hit header.</li> | ||
<li>Please file any bug reports and/or feature requests at | ||
<a href="https://github.com/gdg-x/hub/issues">https://github.com/gdg-x/hub/issues</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div ng-repeat="route in restDiscovery.resources.url.methods" class="span6 card" style="min-height: 105px"> | ||
<div class="card-wh-body"> | ||
<div class="clearfix"> | ||
<span ng-class="route.method">{{route.method|uppercase}}</span> | ||
<div class="pull-right"><b>{{route.path}}</b></div> | ||
</div> | ||
<br/> | ||
<div class="pull-right" style="text-align: right; margin-bottom: 10px;">{{route.doc.summary}}</div> | ||
</div> | ||
</div> | ||
</div> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="span12 card"> | ||
<div class="card-wh-body" style="margin: 12px 32px 32px 32px; font-size: 24px"> | ||
Google Cloud Endpoints Support via OpenAPI Spec Coming Soon! | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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 |
---|---|---|
|
@@ -9,10 +9,5 @@ module.exports = { | |
sender: 'GDG[x] Hub <[email protected]>', | ||
transport: 'Direct', | ||
error_recipient: process.env.ADMIN_EMAIL // jshint ignore:line | ||
}, | ||
redis: { | ||
host: process.env.REDIS_DB_HOST, | ||
port: process.env.REDIS_DB_PORT, | ||
password: process.env.REDIS_DB_PASSWORD | ||
} | ||
}; |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.