Skip to content

TeamBeMe/BeMeServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BeMeServer๐Ÿ““

dependencies module (package.json)

  "dependencies": {
    "aws-sdk": "^2.820.0",
    "body-parser": "^1.19.0",
    "crypto": "^1.0.1",
    "express": "^4.17.1",
    "firebase-admin": "^9.4.2",
    "jsonwebtoken": "^8.5.1",
    "moment": "^2.29.1",
    "morgan": "^1.10.0",
    "multer": "^1.4.2",
    "multer-s3": "^2.9.0",
    "mysql2": "^2.2.5",
    "node-schedule": "^1.3.2",
    "sequelize": "^6.3.5"
  },
  • aws-sdk : aws s3 ํŒŒ์ผ ์—…๋กœ๋“œ ๋„๊ตฌ

  • body-parser : Request body ์—์„œ parameter ์ถ”์ถœ

  • crypto : ํŒจ์Šค์›Œ๋“œ ์•”ํ˜ธํ™” ๋ฐ ์ธ์ฆ

  • express : ์›น, ์„œ๋ฒ„ ๊ฐœ๋ฐœ ํ”„๋ ˆ์ž„์›Œํฌ

  • firebase-admin: fcm ์‚ฌ์šฉ์„ ์œ„ํ•œ ํŒŒ์ด์–ด๋ฒ ์ด์Šค ๋ชจ๋“ˆ

  • jsonwebtoken : JWT(Json Web Token) ์ƒ์„ฑ ๋ฐ ์ธ์ฆ

  • moment: utc ์‹œ๊ฐ„์„ ํ•œ๊ตญ ์‹œ๊ฐ„๋Œ€๋กœ ๋ณ€๊ฒฝ

  • morgan: ๋กœ๊ทธ ๊ธฐ๋ก ๋„๊ตฌ

  • multer : ํŒŒ์ผ ์—…๋กœ๋“œ ๋„๊ตฌ

  • multer-s3 : AWS S3 ํŒŒ์ผ ์—…๋กœ๋“œ ๋„๊ตฌ

  • mysql2: mysql2 ๋ชจ๋“ˆ

  • node-schedule: ๋งค์ผ ๊ฐ™์€ ์‹œ๊ฐ„๋Œ€์— ์งˆ๋ฌธ ์—…๋กœ๋“œ๋ฅผ ์œ„ํ•œ ๋„๊ตฌ

  • sequelize: MySQL์„ ์ง€์›ํ•˜๋Š” Node.js ORM.

ER diagram

์Šคํฌ๋ฆฐ์ƒท 2021-01-15 ์˜ค์ „ 1 07 26

์„œ๋ฒ„ ์•„ํ‚คํ…์ณ

์Šคํฌ๋ฆฐ์ƒท 2021-01-15 ์˜ค์ „ 3 03 27

ํ•ต์‹ฌ ๊ธฐ๋Šฅ ์„ค๋ช…

ํ™ˆํ™”๋ฉด

  • ๋งค์ผ ๊ฐ™์€ ์‹œ๊ฐ„ ์งˆ๋ฌธ ์—…๋กœ๋“œ
  • ์งˆ๋ฌธ ๋ณ€๊ฒฝ, ์งˆ๋ฌธ ๋” ๋ฐ›๊ธฐ
  • ๋‹ต๋ณ€ํ•˜๊ธฐ

๋‘˜๋Ÿฌ๋ณด๊ธฐ ํƒญ

  • ๋‹ค๋ฅธ ์‚ฌ๋žŒ ๊ธ€ ๋‘˜๋Ÿฌ๋ณด๊ธฐ
  • ์ƒ์„ธํŽ˜์ด์ง€ ๊ฐ€์ ธ์˜ค๊ธฐ
  • ๋Œ“๊ธ€, ๋Œ€๋Œ“๊ธ€ ์ž‘์„ฑํ•˜๊ธฐ
  • ์Šคํฌ๋žฉ, ์œ ์ € ์ฐจ๋‹จํ•˜๊ธฐ

ํŒ”๋กœ์ž‰ ํƒญ

  • ํŒ”๋กœ์ด, ํŒ”๋กœ์›Œ ๊ธ€ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ

๋งˆ์ดํŽ˜์ด์ง€ ํƒญ

  • ๋‚ด๊ฐ€ ์“ด ๊ธ€ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
  • ๋‹ค๋ฅธ ์‚ฌ๋žŒ ํŽ˜์ด์ง€์˜ ๊ธ€ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
  • ๋‚ด๊ฐ€ ์Šคํฌ๋žฉํ•œ ๊ธ€ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
  • ์—ฐ์† ์ถœ์„ ๊ธฐ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ

์•Œ๋ฆผ

  • ๋งค์ผ ๊ฐ™์€ ์‹œ๊ฐ„์— ์งˆ๋ฌธ ์•Œ๋ฆผ ๋ฐ›๊ธฐ
  • ํŒ”๋กœ์šฐ, ๋Œ“๊ธ€ ๋ฐœ์ƒ์‹œ ์•Œ๋ฆผ ๋ฐ›๊ธฐ

ํŒ€๋ณ„ ์—ญํ•  ๋ถ„๋‹ด

๊น€๊ฐ€์˜

  • ๋ฐฑ์•ค๋“œ ๋ฆฌ๋“œ ๊ฐœ๋ฐœ์ž
  • DB ์„ค๊ณ„ ๋ฐ ๊ตฌ์ถ•
  • ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ, ์ฐจ๋‹จ ๋“ฑ ์œ ์ € ๊ด€๋ฆฌ ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ํŒ”๋กœ์ž‰ํƒญ ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ๋‹ต๋ณ€ ๋Œ“๊ธ€ ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ๋‹ต๋ณ€ ์ƒ์„ธ ํŽ˜์ด์ง€ ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ๋งˆ์ดํŽ˜์ด์ง€ ์—ฐ์† ์ถœ์„์ผ ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ์•Œ๋ฆผ ๊ธฐ๋Šฅ ๊ตฌํ˜„

๊น€์ง€ํ˜„

  • DB ์„ค๊ณ„ ๋ฐ ๊ตฌ์ถ•
  • ๋งค์ผ ๊ฐ™์€ ์‹œ๊ฐ„ ์งˆ๋ฌธ ์—…๋กœ๋“œ ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ์งˆ๋ฌธ ๋ณ€๊ฒฝ, ์งˆ๋ฌธ ๋” ๋ฐ›๊ธฐ, ๊ณต๊ฐœ ์—ฌ๋ถ€ ์ˆ˜์ • ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ๋‹ต๋ณ€ ์Šคํฌ๋žฉ ๊ธฐ๋Šฅ ๊ตฌํ˜„
  • ๋‹ต๋ณ€ ๋‘˜๋Ÿฌ๋ณด๊ธฐ ๊ธฐ๋Šฅ ๊ตฌํ˜„

About

๐Ÿ““ BeMe Server ๐Ÿ““

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published