Giter VIP home page Giter VIP logo

clone-pinterest's Introduction

PinterestBE

항해99 8기 7주차 5조 백엔드 레포지토리입니다

!! 서비스 시연 영상 자리 !!

!! 백앤드 다이어그램 !!

팀원

성함 GitHub Contact
이민석 @unchaptered 기술 블로그 / TIL 용 블로그
황수민 @sumin-dev -
이수범 @subeom-Lee -

image image

모듈 리스트

"dependencies": {
    "joi": "^17.6.0",               // 유효성 검증 라이브러리
    "cors": "^2.8.5",               // CORS 이슈 해결을 위한 라이브러리
    "express": "^4.18.1",           // Express 라이브러리

    "jsonwebtoken": "^8.5.1",       // JWT 생성을 위한 아리브러리
    "axios": "^0.27.2",             // Kakao 사용자 정보 요청을 위한 라이브러리

    "sequelize": "^6.21.4",         // ORM 라이브러리
    "mysql2": "^2.3.3",             // ORM 사용을 위한 종속성 라이브러리

    "dotenv": "^16.0.1",            // 적용 대기 중인 라이브러리

    // 버젼 이슈가 존재하기 때문에 다음 버전을 준수해야함
    "multer": "^1.4.5-lts.1",       // multipart-form 해석을 위한 라이브러리
    "multer-s3": "^2.10.0",         // aws-sdk 와 multer 호환을 위한 종속성 라이브러리
    "aws-sdk": "^2.1195.0",         // aws 서비스를 사용하기 위한 라이즈러리
},
"devDependencies": {
    "prettier": "^2.7.1",           // 팀 컨밴션 통일을 위한 라이브러리
    "husky": "^8.0.1",              // Git Hooks 지원 라이브러리
    "lint-staged": "^13.0.3",       // Git add 에 대해서 문서 수정 (서식에 맞게) 라이브러리

    "sequelize-cli": "^6.4.1",      // Sequelize 지원 라이브러리

    "jest": "^28.1.3",              // 테스트 코드 라이브러리
    "faker": "^5.5.3",              // Mock Data 생성 라이브러리
    "node-mocks-http": "^1.11.0",   // Mock Req, Res 생성 라이브러리
    "supertest": "^6.2.4",          // 테스트 코드 라이브러리
    "superagent": "^8.0.0",         // 테스트 코드 라이브러리

    "cross-env": "^7.0.3",          // 적용 대기 중인 라이브러리
},

API 명세서

  • 작성일 : 2022-08-19

pin

pinId     : number
userId    : number
title     : string
content   : string
picKey    : string
picUrl    : string

comment

commentId  : number
userId     : number
pinId      : number
content    : string
createdAt  : Date

`localhost:3000/api/pin?page=${1}&pageCount=${10}`

Response Form

isSuccess : boolean
message   : string
result    : object
{
  isSuccess: true,
  message: '',
  result: {
  }
}

JWT Error JWT 에러 존재

//  JWT 토큰이 필요한 도메인에서는 다음의 에러가 발생할 수 있습니다.
{
  isSuccess: false,
  message: “토큰이 필요합니다. || “만료된 토큰입니다. || “유효하지 않은 토큰입니다. || err.message,
  result: {}
}

api1 api2 api3 api4 api5


ERD

erd


폴더 트리

폴더구조

clone-pinterest's People

Contributors

unchaptered avatar sumin-dev avatar subeom-lee avatar

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.