Git Product home page Git Product logo

market's Introduction

market

프로젝트 소개

  • Node.js와 express를 활용한 내배캠 장터 백엔드 서버를 제작

기술 스택

  1. 웹 프레임워크: Node.js에서 가장 대표적인 웹 프레임워크인 Express.js를 사용합니다.
  2. 패키지 매니저: 빠른 설치 속도와 우수한 패키지 관리를 지원하는 npm 또는 yarn 패키지 매니저를 사용합니다.
  3. 모듈 시스템: 최신 JS 문법을 지원하는 ES6 모듈 시스템 또는 기본 CommonJS 모듈 시스템을 사용합니다.
  4. 데이터베이스: MongoDB Cloud에서 대여한 대표적인 NoSQL인 MongoDB Atlas을 사용합니다.
  5. ODM: MongoDB의 데이터를 쉽게 읽고 쓰게 해주는 mongoose ODM을 사용합니다.
  6. AWS EC2 와 Gabia를 사용한 배포 IP 주소: http://15.165.19.125/

주요 기능

  1. 상품 작성 API
    • 상품명, 작성 내용, 작성자명, 비밀번호를 request에서 전달받기
    • 상품은 두 가지 상태, 판매 중(FOR_SALE)및 판매 완료(SOLD_OUT) 를 가질 수 있습니다.
    • 상품 등록 시 기본 상태는 판매 중(FOR_SALE) 입니다.
  2. 상품 목록 조회 API
    • 상품명, 작성자명, 상품 상태, 작성 날짜 조회하기
    • 상품 목록은 작성 날짜를 기준으로 내림차순(최신순) 정렬하기
  3. 상품 상세 조회 API
    • 상품명, 작성 내용, 작성자명, 상품 상태, 작성 날짜 조회하기
  4. 상품 정보 수정 API
    • 상품명, 작성 내용, 상품 상태, 비밀번호를 request에서 전달받기
    • 수정할 상품과 비밀번호 일치 여부를 확인한 후, 동일할 때만 글이 수정되게 하기
    • 선택한 상품이 존재하지 않을 경우, “상품 조회에 실패하였습니다." 메시지 반환하기
  5. 상품 삭제 API
    • 비밀번호를 request에서 전달받기
    • 수정할 상품과 비밀번호 일치 여부를 확인한 후, 동일할 때만 글이 삭제되게 하기
    • 선택한 상품이 존재하지 않을 경우, “상품 조회에 실패하였습니다." 메시지 반환하기
  6. 상품 전체 삭제 API
    • 상품이 존재하지 않을 경우, “상품이 존재하지 않습니다." 메시지 반환하기

market's People

Contributors

joeunparkdev avatar

Watchers

 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.