You should have the following completed on your computer before the workshop:
This file contains hidden or 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Main Process", | |
"type": "node", | |
"request": "launch", | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": | |
"${workspaceRoot}/node_modules/.bin/electron", |
This file contains hidden or 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
encoding = UTF-8 | |
fontName = "Fira Code" | |
fontSize = 14 | |
lineEndings = '\n' | |
showInvisibles = false | |
softWrap = true | |
tabSize = 2 | |
fileBrowserGlob = "{*,.tm_properties,.htaccess,.gitignore,.jshintrc,.eslintrc,.babelrc}" | |
include = "{$include,.tm_properties,.htaccess,.gitignore,.jshintrc,.eslintrc,.babelrc}" |
This file contains hidden or 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
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:import/errors", |
This file contains hidden or 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
[user] | |
name = Steve Kinney | |
email = [email protected] | |
[credential] | |
helper = osxkeychain | |
[filter "lfs"] | |
process = git-lfs filter-process | |
required = true | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f |
This file contains hidden or 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
export NVM_DIR="/Users/stevekinney/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
export GREP_OPTIONS='--color=auto' | |
export CLICOLOR=1 | |
export LESS='--quit-if-one-screen --RAW-CONTROL-CHARS --no-init --tabs=4' | |
export LS_COLORS=GxFxCxDxBxegedabagaced | |
export TREE_COLORS='di=1;36:ln=1;35:so=1;32:pi=1;33:ex=1;31:bd=34;46:cd=34;33:fi=0:or=4;31' | |
export LSCOLORS=$LS_COLORS | |
export EDITOR=vim |
You should have the following completed on your computer before the workshop:
- Have Node.js installed on your system. (Recommended: Use nvm.)
- Unfortunately, you'll need to be on Node 9.x or earlier. Dependencies are hard and one of the dependencies of one of our dependencies is set to not allow Node 10.x.
- Install
yarn
withbrew install yarn
.
- Create an AWS account. (This will require a valid credit card.)
- Install multi-factor authentication app (e.g. Authy, Google Authenticator, Duo).
- Install the AWS CLI. (
brew install awscli
should do the trick. Otherwise, you'll need Python and PIP, which you can install usingbrew install python
.)
This file contains hidden or 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
{ | |
"Records": [ | |
{ | |
"cf": { | |
"config": { | |
"distributionDomainName": "d3j9cel339anj4.cloudfront.net", | |
"distributionId": "E3U8Q34NJRFZ8Y", | |
"eventType": "viewer-request", | |
"requestId": "EvyNcmriLUwwIKecK5dpPHehUpzBcO2BolZQ9O3Q95A9DxtOuEwRUw==" | |
}, |
This file contains hidden or 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
language: node_js | |
node_js: | |
- '8' | |
cache: | |
yarn: true | |
directories: | |
- node_modules | |
script: | |
- yarn test | |
before_deploy: |
Bryan Hughes
Serverless is taking the backend world by storm, and for good reason. It promises infinite scalability and never having to manage a server again. Serverless mostly achieves these goals the same way that functional programming does. You define inputs and outputs without using state...and state is what makes scaling hard.
Much like functional programming though, being productive in serverless requires a tricky shift in mindset. This workshop will walk you through creating a serverless application with Node.js, teach you best practices, and teach you how to think serverless.