Practice/# kwlee#14
Open
Lks9172 wants to merge 3 commits intodevelopmentfrom
Open
Conversation
- 8000번 포트로 접속하는 app 구현 - '/' 라우팅 구현
- html렌더링 설정구현 - 'routes' 디렉토리 추가 - '/kwlee', '/hello' 라우팅 구현
- console에 '정상접속중'출력하는 미들웨어 구현 - '/kwlee', '/hello' 라우팅에 '정상접속중' 미들웨어 적용
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.node.js와 express설치 및 간단한 서버 구동 하기 https://dejavuqa.tistory.com/378
2.app.listen () 함수에 대해서 이해하기 - https://www.geeksforgeeks.org/express-js-app-listen-function/
html파일 렌더링하기 - https://d2fault.github.io/2018/12/26/20181226-nodejs-html-load-with-express/
next()와 미들웨어이해 및 간단한 미들웨어 구현 - https://backback.tistory.com/333
router객체로 라우팅 분리하기 - https://backback.tistory.com/341
require()와 module.expots() - https://medium.com/@chullino/require-exports-module-exports-%EA%B3%B5%EC%8B%9D%EB%AC%B8%EC%84%9C%EB%A1%9C-%EC%9D%B4%ED%95%B4%ED%95%98%EA%B8%B0-1d024ec5aca3