-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat/setting server] 개발환경세팅 #31
Conversation
- 타입스크립트용 express 웹 서버 생성 - 5000번 포트 생성 - app.ts 생성
- eslint, prettier 적용
|
"host": "localhost", | ||
"port": 3306, | ||
"username": "test", | ||
"password": "test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.env를 활용하는게 좋을 거 같습니다
}, | ||
"plugins": ["react", "@typescript-eslint"], | ||
"rules": { | ||
"import/no-unresolved": 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
react 용 eslint 인거처럼 보입니다
express에서도 이걸 사용해도 되나요?
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "nodemon ./src/www.ts" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
배포용 script가 필요해 보입니다
"semi": true, | ||
"quoteProps": "as-needed", | ||
"jsxSingleQuote": false, | ||
"trailingComma": "es5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prettier도 리액트용 prettier인 거 같습니다
내용
고민