Skip to content

Commit

Permalink
Merge pull request #105 from boostcamp-2020/develop
Browse files Browse the repository at this point in the history
deploy: 3주차 배포
  • Loading branch information
Do-ho authored Dec 3, 2020
2 parents 25ac174 + be08016 commit 7717890
Show file tree
Hide file tree
Showing 169 changed files with 32,752 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

> 구현 내용 및 작업 했던 내역
- [ ] 작업 내역 1
- [ ] 작업 내역 2
- [ ] 작업 내역 3
- [ ] 작업 내역 4
- [x] 작업 내역 1
- [x] 작업 내역 2
- [x] 작업 내역 3
- [x] 작업 내역 4


## :construction: PR 특이 사항
Expand Down
139 changes: 139 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# Created by https://www.toptal.com/developers/gitignore/api/react,node,vscode,dotenv
# Edit at https://www.toptal.com/developers/gitignore?templates=react,node,vscode,dotenv

### dotenv ###
.env
*.env

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env.test
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

### react ###
.DS_*
**/*.backup.*
**/*.back.*

node_modules

*.sublime*

psd
thumb
sketch

### vscode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# End of https://www.toptal.com/developers/gitignore/api/react,node,vscode,dotenv
11 changes: 11 additions & 0 deletions client/.babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": [
[
"@babel/preset-env",
{
"corejs": "2",
"useBuiltIns": "entry"
}
]
]
}
58 changes: 58 additions & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"env": {
"browser": true,
"node": true,
"es2021": true
},
"ignorePatterns": ["node_modules/"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"airbnb-base",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "prettier"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"linebreak-style": 0,
"no-use-before-define": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}
13 changes: 13 additions & 0 deletions client/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"printWidth": 150,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"semi": true,
"useTabs": false,
"arrowParens": "always",
"endOfLine": "lf",
"jsxBracketSameLine": true,
"jsxSingleQuote": false
}
27 changes: 27 additions & 0 deletions client/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const path = require('path');

module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-actions',
'@storybook/addon-knobs',
],
webpackFinal: async(config, { configType }) => {
config.resolve.alias = {
...config.resolve.alias,
'@components': path.resolve(__dirname, '../src/components'),
'@pages': path.resolve(__dirname, '../src/pages'),
'@theme': path.resolve(__dirname, '../src/common/theme'),
'@utils': path.resolve(__dirname, '../src/common/utils'),
'@store': path.resolve(__dirname, '../src/common/store'),
'@dispatch': path.resolve(__dirname, '../src/common/dispatch'),
'@imgs': path.resolve(__dirname, '../public/imgs')
}
return config;
}
}
4 changes: 4 additions & 0 deletions client/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
}
1 change: 1 addition & 0 deletions client/env/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SERVER_ADDR=localhost:3000
Loading

0 comments on commit 7717890

Please sign in to comment.