Skip to content

Commit

Permalink
feat: 체결 시스템이 구현된 독립 Auctioneer 서버 추가
Browse files Browse the repository at this point in the history
* chore: Initialize Auctioneer Server
* chore: mongoose 의존성 추가
* refactor: 누락된 리턴 타입 추가
* fix: 변수명 오탈자 수정
* fix: 삭제된 라우터 인덱싱 제거
* feat: 매도 체결 기능  추가

Co-authored-by: nawhes <[email protected]>
  • Loading branch information
SYN0P and nawhes authored Nov 11, 2021
1 parent c0ddf65 commit 96a1930
Show file tree
Hide file tree
Showing 61 changed files with 7,043 additions and 7,410 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.workingDirectories": ["back", "front"]
"eslint.workingDirectories": ["auctioneer", "back", "front"]
}
11 changes: 11 additions & 0 deletions auctioneer/.env.dev.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CLIENT_URL = ''

PORT=3000
SOCKET_PORT = 3333

MONGODB_HOST = ''
MONGODB_USER = ''
MONGODB_PASSWORD = ''

GITHUB_CLIENT_ID = ''
GITHUB_CLIENT_SECRET = ''
11 changes: 11 additions & 0 deletions auctioneer/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CLIENT_URL = ''

PORT=3000
SOCKET_PORT = 3333

MONGODB_HOST = ''
MONGODB_USER = ''
MONGODB_PASSWORD = ''

GITHUB_CLIENT_ID = ''
GITHUB_CLIENT_SECRET = ''
32 changes: 32 additions & 0 deletions auctioneer/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"env": {
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"airbnb-base",
"airbnb-typescript/base",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"project": "tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"no-unused-vars": "warn",
"prettier/prettier": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/export": "off",
"dot-notation": "off",
"@typescript-eslint/dot-notation": "off"
}
}
107 changes: 107 additions & 0 deletions auctioneer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# 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
.env.dev

# parcel-bundler cache (https://parceljs.org/)
.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

# etc
ormconfig.json
11 changes: 11 additions & 0 deletions auctioneer/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"singleQuote": true,
"semi": true,
"useTabs": true,
"tabWidth": 4,
"trailingComma": "all",
"printWidth": 130,
"arrowParens": "always",
"endOfLine": "auto",
"parser": "typescript"
}
13 changes: 13 additions & 0 deletions auctioneer/ormconfig.sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"type": "mysql",
"host": "",
"port": 3306,
"username": "",
"password": "",
"database": "",
"entities": [
"./src/models/*.ts"
]
}
]
Loading

0 comments on commit 96a1930

Please sign in to comment.