Skip to content

100-hours-a-week/2-hazel-jo-community-be

Repository files navigation

커뮤니티 : The Hazel Grove

💁 Introduce

The Hazel Grove는 사용자가 게시글을 작성하고 댓글을 달며 소통할 수 있는 커뮤니티 웹 애플리케이션입니다.


📚 Stacks

🖥️ Frontend

⚙️ Backend


✨ Main features

📝 게시글 관리

  • 게시글 작성, 수정, 삭제
  • 게시글 상세 페이지: 좋아요, 댓글 확인, 조회수 집계

👤 유저 관리

  • 회원가입 및 로그인
  • 사용자 정보 수정
  • 비밀번호 변경
  • 회원 탈퇴

💬 댓글 관리

  • 댓글 작성, 수정, 삭제

🚀 Starting Guide

⚙️ 의존성 설치

npm install

환경 변수 설정

.env 파일 생성 및 데이터베이스 설정 추가

🖥️ 프론트엔드

node server.js

🛠️ 백엔드

node index.js

🔗 접속 링크

http://localhost:3000


📂 Short Directory

  • config/: 데이터베이스 설정
  • data/: JSON 더미 데이터
  • controllers/: 요청 처리 담당 컨트롤러
  • middlewares/: 미들웨어 함수
  • models/: 데이터베이스 모델
  • routes/: API 라우트

📁 Directory

📁 config
   └── mariadb.js
📁 data
   ├── comments.json
   ├── users.json 
   └── posts.json
📁 controllers
   ├── auth-controller.js
   ├── comment-controller.js
   ├── post-controller.js
   └── user-controller.js
📁 middlewares 
   ├── auth.js
   └── multer.js
📁 models
   ├── auth-model.js
   ├── comment-model.js
   ├── post-model.js
   └── user-model.js
📁 routes
   ├── auth-routes.js
   ├── comment-routes.js
   ├── post-routes.js
   └── user-routes.js

✉️ Contributing

  • 이슈 등록 : 버그 리포트나 새로운 아이디어는 Issue에 등록해주세요.
  • https://github.com/100-hours-a-week/2-hazel--jo-community-issue

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published