feat: Node.js + Express 백엔드 추가

- server.js: Express 서버, 정적파일 서빙 + API 3개
  - GET /api/greeting (랜덤 한국어 인사말)
  - POST /api/echo (에코 테스트)
  - GET /api/stats (서버 업타임/버전 정보)
- 정적 파일을 public/ 디렉토리로 이동
- index.html에서 fetch로 API 호출하는 버튼 추가
- .gitignore, package.json 추가
This commit is contained in:
2026-06-12 06:21:19 +00:00
parent 54850b79b1
commit 051c830039
9 changed files with 1037 additions and 44 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules/
.env