Skip to content

πŸ₯„ λŒ€ν•™μƒ κ²½ν—˜ 정리 κ°€μ΄λ“œ

Notifications You must be signed in to change notification settings

sqooop/sqoop-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sqoop-Server

πŸ™‹β€β™‚οΈ Profile

이름

였승재

μž„μ°¬κΈ°

Image Image
μ—­ν•  λ¦¬λ“œ μ„œλ²„ 개발자 μ„œλ²„ 개발자
Github oh980225 Lim-Changi

βš™ Dependencies module

  "dependencies": {
    "aws-sdk": "^2.817.0",
    "clean-css": "~4.1.11",
    "constantinople": "~3.1.1",
    "cookie-parser": "~1.4.4",
    "cors": "^2.8.5",
    "debug": "~2.6.9",
    "express": "~4.16.1",
    "http-errors": "~1.6.3",
    "install": "^0.13.0",
    "jsonwebtoken": "^8.5.1",
    "multer": "^1.4.2",
    "multer-s3": "^2.9.0",
    "mysql2": "^2.2.5",
    "sequelize": "^6.3.5",
    "sequelize-cli": "^6.2.0"
  }

πŸ”— ER Diagram

DB

πŸ‘¨πŸ»β€πŸ€β€πŸ‘¨πŸ» Database Relationship

// 1 : N 관계 User : Activity
db.User.hasMany(db.Activity, { onDelete: 'cascade' });
db.Activity.belongsTo(db.User);

// 1 : N 관계 User : Education
db.User.hasMany(db.Education, { onDelete: 'cascade' });
db.Education.belongsTo(db.User);

// 1 : N 관계 Activity : QuestionCard
db.Activity.hasMany(db.QuestionCard, { onDelete: 'cascade' });
db.QuestionCard.belongsTo(db.Activity);

// 1 : N 관계 Activity : Hashtag
db.Activity.hasMany(db.Hashtag, { onDelete: 'cascade' });
db.Hashtag.belongsTo(db.Activity);

🧱 Server Architecture

Architecture

πŸ“ƒ 핡심 κΈ°λŠ₯ μ„€λͺ…

우리 μ„œλΉ„μŠ€μ˜ 핡심은 λ°œλ“±μ— 뢈 떨어진 μ·¨μ€€μƒμ—κ²Œ μ§ˆλ¬Έμ„ 톡해 취쀀생, λŒ€ν•™μƒ ν™œλ™ 정리 κΈ°λŠ₯을 μ œκ³΅ν•˜λŠ” 것이닀. 그렇기에 우리의 핡심 κΈ°λŠ₯은 μ§ˆλ¬Έλ“€κ³Ό 그에 λŒ€ν•œ 닡변을 ν†΅ν•΄μ„œ μ‚¬μš©μžκ°€ μžμ‹ μ˜ ν™œλ™μ„ λ”μš± ꡬ체화할 수 μžˆκ²Œν•˜κ³  그것을 κΈ°λ‘ν•΄μ£ΌλŠ” 것이닀. 그리고 μ΄λ ‡κ²Œ κ΅¬μ²΄ν™”ν•œ ν™œλ™λ“€μ„ ν•„μš”μ— λ”°λΌμ„œ μ‚¬μš©μžκ°€ μ°Ύμ•„λ³Ό 수 μžˆμ–΄μ•Όν•˜κΈ°μ— 각 쑰건에 λ”°λ₯Έ 필터링 κΈ°λŠ₯ λ˜ν•œ 우리의 핡심 κΈ°λŠ₯이닀.

[Core Feature]

Method Sumary
GET μž‘μ„±ν•΄λ†“μ€ Question Card 쑰회
POST 슀쿱 μ €μž₯ λˆ„λ₯Ό λ•Œ Question Card μ €μž₯
PUT 슀쿱 μˆ˜μ • λˆ„λ₯Ό λ•Œ μž‘μ„±ν•΄λ†“μ€ Question Card μˆ˜μ •
GET λͺ¨μ•„λ³΄κΈ°μ—μ„œ 쑰건에 λ”°λΌμ„œ ν™œλ™μ„ ν•„ν„°λ§ν•΄μ„œ λͺ¨μ•„보기

🀝 μ—­ν•  λΆ„λ‹΄

Together

  • λ°μ΄ν„°λ² μ΄μŠ€ 섀계

였승재

  • ν™œλ™ 정보저μž₯ [POST]
  • 슀쿱 μ €μž₯ λˆ„λ₯Όλ–„λ§ˆλ‹€ Question Card [POST]
  • Question [GET]
  • μž‘μ„±ν•΄λ†“μ€ Question Card [GET]
  • μž‘μ„±ν•΄λ†“μ€ Question Card Update [PUT]
  • ν™œλ™ ν΄λ¦­μ‹œ, ν™œλ™λ³„ Data [Get]
  • API λͺ…μ„Έμ„œ μž‘μ„±

μž„μ°¬κΈ°

  • νšŒμ›κ°€μž… [POST]
  • 둜그인 [POST]
  • ν•΄μ‹œνƒœκ·Έ 생성 [POST]
  • μœ μ €λ³„ ν™œλ™ Data 전체 [GET]
  • 즐겨찾기 Update [PUT]
  • 즐겨찾기 ν™œλ™ 전체 [GET]
  • μœ μ €λ³„ 전체 ν•΄μ‹œν…Œκ·Έ [GET]
  • ν™œλ™ 필터링 λͺ¨μ•„보기 [GET]
  • 아킀텍쳐 μž‘μ„±

πŸ“• API Specification

πŸ“–LINK

About

πŸ₯„ λŒ€ν•™μƒ κ²½ν—˜ 정리 κ°€μ΄λ“œ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published