Git Product home page Git Product logo

nestjs-e-commerce-example's Introduction

만약 커머스가 아니라 NestJS에 대한 예제가 필요하다면 아래를 참고하세요.
https://github.com/picktogram/server

nestjs-e-commerce

e-commerce 프로젝트를 진행하기 위한 B.E. 설정 및 기본 코드를 구현합니다.
B.E.나 F.E. 구분할 것 없이 양자에게 도움이 되기를 바랍니다.
더 나은 방법, 기능 추가 등은 아래로 문의주시면 감사하겠습니다.

email : [email protected]

How to use?

  1. MySQL 설치

  2. .env에 각종 값들을 모두 기입 ( 기입 후에는 .env.example 파일 이름을 .env로 고쳐주세요. )

  3. 아래 명령어로 tables를 MySQL 상에 synchronize.

    $ npm install # 필요한 node package module을 install 합니다.
    $ npm run schema:sync # 정의된 entity들을 즉시 생성합니다.
    • 만약 잘못된 데이터가 있다면 일단 workbench로 삭제해주세요.
    • 또는 schema:drop 후 schema:sync로 DB를 삭제, 재생성해주세요.
  4. 서버 실행 후 F.E. 에 자유롭게 연동

    $ npm run start:dev # 또는 npm run start
  5. localhost:3000/api 경로에서 swagger 문서 확인 가능

    • 해당 문서를 통해 경로, 기능, Request와 Response를 확인합니다.

추후 pm2를 이용한 클러스터링을 설명하겠습니다.

nestjs-e-commerce-example's People

Contributors

kakasoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nestjs-e-commerce-example's Issues

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.