Skip to content

당근 마켓 기본적인 기능을 따라해보자.

Notifications You must be signed in to change notification settings

parkjunsun/daangn

Repository files navigation

✨ 당근 마켓 따라하기

🤷‍♂️당근 마켓 기본적인 기능을 따라해보자.



⚒ 기술스택

  • Backend

    • Java
    • Spring boot
    • Spring Security
    • Thymeleaf
  • DB & ORM

    • PostgreSQL
    • JPA
  • Frontend

    • HTML, CSS, Javascript
    • jQuery



💾 ERD 설계



⚙ 환경설정

  • application.yml

spring:
  application:
    name: main-server
  datasource:
    driver-class-name: org.postgresql.Driver
    url: jdbc:postgresql://localhost:5432/****
    username: ****
    password: ****
  jpa:
    hibernate:
      ddl-auto: create
    properties:
      hibernate:
        dialect: org.hibernate.dialect.PostgreSQLDialect
        format_sql: true
  data:
    mongodb:
      host: localhost
      port: 27017
      database: ****
  thymeleaf:
    cache: false
  messages:
    basename: messages, errors
  security:
    oauth2:
      client:
        registration:
          kakao:
            client-id: ****
            client-name: Kakao
            scope:
              - profile_nickname
              - account_email
              - profile_image
            authorization-grant-type: authorization_code
            redirect-uri: ****
            client-authorization-method: POST
          naver:
            client-id: ****
            client-secret: ****
            scope:
              - name
              - email
            client-name: Naver
            authorization-grant-type: authorization_code
            redirect-uri: ****
          google:
            client-id: ****
            client-secret: ****
            scope:
              - profile
              - email
        provider:
          kakao:
            authorization-uri: https://kauth.kakao.com/oauth/authorize
            token-uri: https://kauth.kakao.com/oauth/token
            user-info-uri: https://kapi.kakao.com/v2/user/me
            user-name-attribute: id
          naver:
            authorization-uri: https://nid.naver.com/oauth2.0/authorize
            token-uri: https://nid.naver.com/oauth2.0/token
            user-info-uri: https://openapi.naver.com/v1/nid/me
            user-name-attribute: response



logging.level:
  org.hibernate.SQL: debug

About

당근 마켓 기본적인 기능을 따라해보자.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages