Skip to content

Repository files navigation

PinterestBE

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

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

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

팀원

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

imageimage

모듈 리스트

"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: {}}

api1api2api3api4api5


ERD

erd


폴더 트리

폴더구조

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages