Skip to content

MpqM/NodeJS_Board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Board

⚪ About Project

  • 패스워드 인증기반 글(작성, 수정, 삭제, 조회), 댓글(작성, 삭제)을 가진 게시판 서비스 앱
  • 『Node.js 백엔드 개발자 되기』내 게시판 프로젝트의 기능(암호화 기능)과 오류 개선
  • NodeJs, Express, MongoDB, 템플릿엔진인 express-handlebars를 사용해 게시판 서비스 앱 구축

⚪ Running Screen || Video



⚪ Built With

express nodedotjs mongodb


⚪ Getting Started

# prerequisites: npm, node, MongoDB Connection URL
# execution
git clone https://github.com/MpqM/WebApp_Board.git
# Change the MONGO_CONNECTION_STRING value in the configs/mongodb-connection.jsfile with yours
npm install
npm start

⚪ Description

  • Post
    • 게시글 작성시 비밀번호 해쉬 처리후 DB저장
    • 게시글 상세보기를 통해 게시물 정보(댓글, 작성자, 작성일자 등)확인
    • 게시글 수정, 삭제시 check-pasword API 을 통해 비인가적인 삭제 호출 막음
  • Comment
    • DB의 Post에 배열 형식으로 Post DB에 존재
    • 댓글 작성시 비밀번호 해쉬 처리후 Post DB destruct 후 저장
    • 댓글 삭제시 2중 쿼리사용 API를 통해 비밀번호 인증후 삭제
  • List
    • 리스트에서 게시글 목록, 검색, 페이지 네이션
    • 페이지네이션구현 -> utils/paginator.js 참조

⚪ Writer


⚪ Acknowledgments & License & reference


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published