GithubHelp home page GithubHelp logo

bbs's Introduction

NestJS Bulletin Board System

NestJS Prisma

Release πŸ”–

Table of Contents
  1. μ†Œκ°œ
  2. API λ¬Έμ„œν™” 방식
  3. μš”κ΅¬μ‚¬ν•­
  4. ERD λ¬Έμ„œ
  5. Swagger UI
  6. 컀밋 μ»¨λ²€μ…˜

μ†Œκ°œ

NestJS 기반의 μ „μž κ²Œμ‹œνŒ(BBS) API μ„œλ²„

νŠΉμ§•

  • type-safe
  • μ‹œλ‚˜λ¦¬μ˜€ ν…ŒμŠ€νŠΈ μ½”λ“œ 보유
  • ERD/API λ¬Έμ„œ μžλ™ν™”

API λ¬Έμ„œν™”

  • swagger, sdk λΉŒλ“œ λͺ…λ Ήμ–΄
npm run build:nestia
  • swagger-ui μ„œλ²„ μ‹€ν–‰
npm run swagger

μš”κ΅¬μ‚¬ν•­

ν•„μˆ˜ 사항

  • μ†Œμ…œ κ°„νŽΈ 둜그인
  • κ²Œμ‹œκΈ€ 변경이λ ₯ μ €μž₯
  • κ²Œμ‹œκΈ€ μ²¨λΆ€νŒŒμΌ 제곡
  • μœ„μ§€μœ… 에디터 연동

μΆ”κ°€ 사항

  • κΆŒν•œ 관리(λΉ„κ³΅κ°œ κ²Œμ‹œνŒ)
  • μ†Œμ…œ κ°„νŽΈκ°€μž… μΆ”κ°€ ν”„λ‘œμ„ΈμŠ€
  • μž„μ‹œ κ²Œμ‹œκΈ€ μ €μž₯

컀밋 μ»¨λ²€μ…˜

  1. μœ λ‹€μ‹œν‹° μ»¨λ²€μ…˜μ„ 기반으둜 κΉƒλͺ¨μ§€λ₯Ό ν™œμš©ν•œ κΉƒ μ»¨λ²€μ…˜μ„ μ μš©ν•œλ‹€.

μ»¨λ²€μ…˜ ν‘œκΈ° μ˜ˆμ‹œ

Udacity Gitmoji emoji description
feat ✨ ✨ κΈ°λŠ₯ μΆ”κ°€
fix πŸ› πŸ› 버그 μˆ˜μ •
hotfix πŸš‘ πŸš‘ κΈ΄κΈ‰ μˆ˜μ •
(hot)fix πŸ”’ πŸ”’ λ³΄μ•ˆ 이슈 ν•΄κ²°
docs πŸ“ πŸ“ λ¬Έμ„œ μ—…λ°μ΄νŠΈ
style 🎨 🎨 μ½”λ“œ ꡬ쑰, ν¬λ§€νŒ… κ΄€λ ¨ μˆ˜μ •
style 🚚 🚚 λ¦¬μ†ŒμŠ€ 이동, 이름 λ³€κ²½
refactor ♻️ ♻️ ν”„λ‘œλ•μ…˜ μ½”λ“œ λ¦¬νŒ©ν† λ§
test βœ… βœ… ν…ŒμŠ€νŠΈ μΆ”κ°€/μˆ˜μ •
chore ⬆️ ⬆ dependencies μ—…λ°μ΄νŠΈ
chore πŸ‘· πŸ‘· CI λΉŒλ“œ μ‹œμŠ€ν…œ μΆ”κ°€/μˆ˜μ •
chore πŸ”§ πŸ”§ μ„€μ • 파일 μΆ”κ°€/μˆ˜μ •
chore βž• βž• dependency μΆ”κ°€
chore βž– βž– dependency 제거
chore πŸ—ƒοΈ πŸ—ƒοΈ DB κ΄€λ ¨ μˆ˜μ • 사항 적용
release πŸ”– πŸ”– μƒˆλ‘œμš΄ 버전 μΆœμ‹œ

Appendix

bbs's People

Contributors

rojiwon123 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

bbs's Issues

✨ κ²Œμ‹œνŒ μ‹œμŠ€ν…œ λ„μž…

λͺ©ν‘œ

  • κ²Œμ‹œκΈ€μ— μ†Œμ†μ„ λΆ€μ—¬ν•œλ‹€.
  • κ²Œμ‹œνŒ κΈ°μ€€μœΌλ‘œ κ²Œμ‹œκΈ€λ“€μ„ 검색할 수 μžˆλ‹€.
  • κ²Œμ‹œνŒ λ‹¨μœ„λ‘œ κ²Œμ‹œκΈ€ 및 λŒ“κΈ€μ— λŒ€ν•œ κΆŒν•œ 검사λ₯Ό μΆ”κ°€ν•œλ‹€.

κΆŒν•œ 체계

  1. μ„œλΉ„μŠ€λŠ” μ—¬λŸ¬ κΆŒν•œ 그룹을 μƒμ„±ν•œλ‹€.
  2. κ²Œμ‹œνŒμ€ νŠΉμ • μ•‘μ…˜μ— λŒ€ν•΄ ν—ˆμš© 그룹을 μ§€μ •ν•œλ‹€.
  3. λͺ¨λ“  μ‚¬μš©μžλŠ” ν•˜λ‚˜μ˜ νŠΉμ • 그룹에 μ†ν•œλ‹€. (μΌμ’…μ˜ 계급)
  4. μ‚¬μš©μžμ˜ μ†Œμ† 그룹이 ν—ˆμš©λœ 그룹인 κ²½μš°μ— μ•‘μ…˜μ„ μˆ˜ν–‰ν•  수 μžˆλ‹€.
  5. μ‚¬μš©μžμ˜ μ†Œμ† 그룹이 없을 μˆ˜λ„ 있으며 μ΄λŠ” λΉ„νšŒμ›κ³Ό λ™μΌν•œ κΆŒν•œμ„ λΆ€μ—¬ν•œλ‹€.
  6. κ²Œμ‹œνŒμ΄ null 그룹에 λŒ€ν•΄ μ•‘μ…˜μ„ ν—ˆμš©ν•˜λ©΄ λΉ„νšŒμ› ν˜Ήμ€ (그룹이 μ—†λŠ”)미인증 νšŒμ›μ€ ν•΄λ‹Ή μ•‘μ…˜μ„ μˆ˜ν–‰ν•  수 μžˆλ‹€.
  7. μ“°κΈ° μž‘μ—…μ€ ν•„μˆ˜μ μœΌλ‘œ νšŒμ›λ§Œ κ°€λŠ₯ν•˜λ‹€.(λ§Œμ•½ null 그룹에 λŒ€ν•΄ μ“°κΈ°λ₯Ό ν—ˆμš©ν•˜λ©΄, λΉ„νšŒμ›μ€ μ“Έ 수 μ—†κ³  미인증 νšŒμ›μ€ μ“Έ 수 μžˆλ‹€.)

✨ 채널 μ‹œμŠ€ν…œ λ„μž…

  • λͺ¨λ“  κ²Œμ‹œνŒ μ„œλΉ„μŠ€λŠ” νŠΉμ • 채널 ν•˜λ‚˜μ— μ†ν•œλ‹€.
  • λͺ¨λ“  κ²Œμ‹œνŒ, κ²Œμ‹œκΈ€, λŒ“κΈ€μ€ μ±„λ„λ‹¨μœ„λ‘œ κ΅¬λΆ„λœλ‹€.
    즉, 채널은 독립적인 κ²Œμ‹œνŒ μ„œλΉ„μŠ€λ₯Ό μ˜λ―Έν•œλ‹€.
    e.g., μ• λΈŒλ¦¬νƒ€μž„μ—μ„œ "μ„Έμ’…λŒ€ν•™κ΅"와 "κ±΄κ΅­λŒ€ν•™κ΅" 같은 관계

(전체 μ±„λ„μ—μ„œ ν•«μ΄μŠˆ κ²Œμ‹œλ¬Ό 등등을 λͺ¨μ•„λ³΄λŠ” apiλ₯Ό λ³„λ„λ‘œ κ°œλ°œλ„ κ³ λ €)

♻️ API λ¦¬νŒ©ν† λ§

λͺ©ν‘œ

더 ν™•μž₯μ„±μžˆλŠ” API 섀계
-> ν˜„μž¬ api 섀계방식은 "λ‚΄ κ²Œμ‹œκΈ€", "인기글" "μ΅œμ‹ κΈ€" 뢈러였기 등등을 κ΅¬ν˜„ν•  λ•Œ, 일관성이 λ–¨μ–΄μ§ˆ 것 κ°™λ‹€.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.