Code Monkey home page Code Monkey logo

membertoyproject's Introduction

더커머스 토이 프로젝트 - 유형석

프로젝트 환경

  • jdk 1.8
  • spring boot 2.6.2
  • Gradle

설치 방법

필수 조건

  • jdk1.8 설치
  • git 설치

설치

  1. 빈 파일 생성 후 프로젝트 클론
git clone https://github.com/Carrotww/memberToyProject.git
cd memberToyProject
  1. 프로젝트 빌드
./gradlew build
  1. 프로젝트 실행
java -jar build/libs/toy-0.0.1-SNAPSHOT-plain.jar1-SNAPSHOT.jar

API 문서

Swagger 사용 url - API Sheet

폴더 구조 설명

  1. 공통된 기능을 위한 global 폴더를 둔 후 member 도메인에 관련된 기능들을 추가하기 위해 member 폴더에 member 관련 기능을 넣었습니다.
  2. global 에 공통된 응답을 위한 ApiResponse dto Error Handling을 위한 GlobalExceptionHandler를 추가하였으며 password encoding을 위해 spring security를 추가했습니다.
  3. member 폴더에 member entity, controller, service, dto, repository 폴더로 구성하였습니다.

데이터 모델 설계

  1. member entity
  • id : 데이터베이스 기본 키
  • memberLoginId : 로그인을 위한 member id
  • password : 로그인을 위한 비밀번호
  • nickname : Member 닉네임
  • phoneNumber : 전화번호
  • email : email
  1. basemodel entity
  • createdAt : 생성 시간
  • lastModifiedAt : 수정 시간

모의 데이터 추가

  • /src/main/resources/data.sql 경로에 h2 데이터베이스용 모의 user 객체 추가

membertoyproject's People

Contributors

carrotww 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.