-
테스트를 먼저 만들고 테스트를 통과하기 위해 코드를 작성하는 것을 의미한다.
-
코드를 만들고 테스트를 하여 제대로 동작하는지 반복하면서 이에 대한 피드백을 적극적으로 받는 개발 방법이다.
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
🌞 Morning 57 commits ▊░░░░░░░░░░░░░░░░░░░░ 4.1% | |
🌆 Daytime 425 commits ██████▍░░░░░░░░░░░░░░ 30.4% | |
🌃 Evening 695 commits ██████████▍░░░░░░░░░░ 49.7% | |
🌙 Night 222 commits ███▎░░░░░░░░░░░░░░░░░ 15.9% |
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
{ | |
"arrowParens": "always", | |
"bracketSpacing": true, | |
"htmlWhitespaceSensitivity": "css", | |
"insertPragma": false, | |
"jsxBracketSameLine": false, | |
"jsxSingleQuote": false, | |
"printWidth": 80, | |
"proseWrap": "preserve", | |
"quoteProps": "as-needed", |
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
module.exports = { | |
env: { | |
browser: true, | |
es2021: true, | |
node: true, | |
}, | |
extends: ['eslint:recommended', 'plugin:react/recommended'], | |
parserOptions: { | |
ecmaVersion: 12, | |
sourceType: 'module', |
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
const express = require('express'); | |
const passport = require('passport'); | |
require('dotenv').config(); | |
const indexRouter = require('./routes/index'); | |
const port = process.env.PORT || 3000; | |
const app = express(); | |
app.use(passport.initialize()); |
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
module.exports = { | |
apps: [ | |
{ | |
name: '', | |
script: './app.js', | |
instances: 0, | |
exec_mode: 'cluster' | |
} | |
] | |
}; |
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
const port = process.env.PORT || 3000; | |
const path = require('path'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
module.exports = { | |
mode: 'development', | |
entry: { app: ['babel-polyfill', './src/index.js'] }, | |
output: { | |
filename: 'bundle.[hash].js', | |
publicPath: '/', |
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
Show hidden characters
{ | |
"presets": [ | |
"@babel/preset-env", | |
"@babel/preset-react" | |
] | |
} |
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
// https://www.acmicpc.net/problem/5397 | |
function stdin_text() { | |
const readline = require('readline') | |
const rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
const input = []; | |
let isFirstLine = false; |