- Node.js 환경 구성
$ npm install -g nvm
$ nvm install 18.19.0
$ nvm use 18.19.0
- 개발용 인증서 생성
$ mkdir cert
$ openssl req -nodes -new -x509 -keyout cert/key.pem -out cert/cert.pem -days 365 -config cert/openssl.cnf
$ npm run local
$ npm run dev
# https://192.168.2.95:4002/
$ npm run prod
# https://192.168.2.95:4000/
/front /server /test
- 웹서버
- 웹소켓서버
- 데이터베이스
- 로그인
- 사용자, 관리자 역할 구분
- 인증 토큰 관리
- 게시판
- 채팅