show dbs
(MOVED TO https://github.com/mze3e/api-cheat-sheet)
-
Build the API with consumers in mind--as a product in its own right.
- Not for a specific UI.
- Embrace flexibility / tunability of each endpoint (see #5, 6 & 7).
- Eat your own dogfood, even if you have to mockup an example UI.
-
Date/Time/Timestamp:: There is a standard: Use it: ISO 8601 in
UTC
:{ "createdTimestamp": "2017-11-15T18:10:24.343Z" }
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
# A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis) | |
# Check our Studio: https://gentlenode.com/ | |
# Iron Router > Configuration | |
Router.configure | |
layoutTemplate: 'Main' | |
loadingTemplate: 'Loading' |
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 script proxies multiple subdomains for a Meteor Application. More to edit. | |
"use strict"; | |
var httpProxy = require('http-proxy'), | |
http = require('http'), | |
accesslog = require('access-log'), | |
addresses; | |
var LISTENPORT = 80; //port we're listening to the outside world |
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
METEOR CORE: | |
Anywhere: Meteor.isClient | |
Anywhere: Meteor.isServer | |
Anywhere: Meteor.startup(func) | |
Anywhere: Meteor.absoluteUrl([path], [options]) | |
Anywhere: Meteor.settings | |
Anywhere: Meteor.release | |