yarn global add @rocketseat/omni
Após instalar o omni da rocketseat, execute omni init [pasta/nomeprojeto] --only=server
para inicar um projeto básico do nodeJS
#!/bin/sh | |
# Homebrew Script for OSX | |
# To execute: save and `chmod +x ./brew-install-script.sh` then `./brew-install-script.sh` | |
echo "Installing brew..." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo "Installing brew cask..." | |
brew update |
SPACESHIP_PROMPT_ORDER=( | |
user # Username section | |
dir # Current directory section | |
host # Hostname section | |
git # Git section (git_branch + git_status) | |
hg # Mercurial section (hg_branch + hg_status) | |
exec_time # Execution time | |
line_sep # Line break | |
vi_mode # Vi-mode indicator | |
jobs # Background jobs indicator |
yarn add eslint eslint-config-airbnb-base eslint-config-prettier eslint-plugin-import -D
yarn add nodemon sucrase prettier eslint-plugin-prettier -D
{ | |
"above": "The {{field}} should be above {{argument.0}}.", | |
"accepted": "The {{field}} should have been accepted", | |
"after": "The {{field}} should be a date after {{argument.0}}", | |
"after_offset_of": "The {{field}} should be after {{argument.0}} {{argument.1}} from today’s date", | |
"alpha": "The {{field}} should contain letters only", | |
"alpha_numeric": "The {{field}} should contain letters and numbers only", | |
"array": "The {{field}} should be an ARRAY.", | |
"before": "The {{field}} should be a date before {{argument.0}}.", | |
"before_offset_of": "The {{field}} should be before {{argument.0}} {{argument.1}} from today’s date", |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
var params = { | |
TableName: 'users_certificates' | |
}; | |
dynamodb.scan(params, onScan); | |
function onScan(err, data) { | |
if (err) { | |
console.error(err); | |
}else { |