Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-programming

Using Node.js in 2021
📌: Do it! Node.js 프로그래밍 (정재곤, 이지스퍼블리싱) 학습 예제 모음

Last Commit

🚀 Introduction

『Do it! Node.js 프로그래밍』(정재곤 저, 이지스퍼블리싱)을 학습하며 따라 만든 예제 코드 모음입니다. Node.js 기초 문법과 콜백 처리부터 Express 프레임워크를 이용한 웹 서버 구축(세션, 로그인, 파일 업로드), MongoDB 연동까지 단계적으로 정리했습니다.


✨ Features

  • 🧮 Node.js 기초 문법 (NodeExample1) 계산기 예제와 콜백 함수 실습(ch02), 파일 시스템 및 로깅 처리(ch04), 추가 코어 모듈 실습(ch05)

  • 🌐 Express 웹 서버 구축 (ExpressExample) app.js부터 app13.js까지 기능을 단계적으로 확장하며 학습: 기본 라우팅 → 정적 파일 서빙 → express-session을 통한 세션 관리 → 로그인 처리(login.html, login2.html, login3.html) → multer를 이용한 파일 업로드 → express-error-handler를 통한 에러 핸들링

  • 🍃 MongoDB 연동 (DatabaseExample) Express 기반 서버에 mongodb 드라이버를 연동하여 세션 및 미들웨어와 함께 데이터베이스 처리 실습


📂 Folder Structure

nodejs-programming/
├── NodeExample1/       # Node.js 기초 문법 & 코어 모듈
│   ├── ch02/             # 계산기, 콜백 함수
│   ├── ch04/             # 파일 시스템, 로깅
│   └── ch05/             # 추가 코어 모듈 실습
├── ExpressExample/      # Express 웹 서버 (라우팅 → 세션 → 로그인 → 파일 업로드 → 에러 핸들링)
└── DatabaseExample/     # Express + MongoDB 연동

🛠️ Built With

  • Runtime: Node.js
  • Framework: Express
  • Database: MongoDB
  • Key Modules: body-parser, cookie-parser, express-session, multer, express-error-handler

📖 Reference

  • 『Do it! Node.js 프로그래밍』- 정재곤, 이지스퍼블리싱

📧 Contact

About

Do it! Node.js 프로그래밍 (정재곤, 이지스퍼블리싱) 학습 예제 모음

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages