Skip to content
@krowdfunding-projects

krowdfunding-projects

크라우드 펀딩 프로젝트 with MSA (프레임워크, 언어 자유)

image

프로젝트를 실행하기 위한 준비물 🐡

  • mysql //username : fund password: 1234 default port 사용 (3306)
  • h2 // username : sa default port 사용 (8082)
  • redis // default port 사용 (6379)
  • kafka 카프카 설정 파티션은 3개로 해주고 log가 저장될 경로는 각자 알아서 지정.
  • elasticsearch // default port 사용 (9200)
  • zipkin // default port 사용 (9411)
## 프로젝트 실행 순서 🩹
1. run krowdFunding-EureakaServer
2. run KrowdFunding-ApiGateway
// 항상 ./gradlew bootRun이나 스프링애플리케이션 실행하기 귀찮으면 아래와 같이 도커로 띄우시면됩니다 만들어놨어요!!
#### 참고로 김준성은 m1이라 platform붙인거고 안붙이셔도 됩니다.
// docker run -it -p 8888:8888 --platform linux/amd64 anima94/eureka
// docker run -it -p 9001:9001 --platform linux/amd64 anima94/configserver

3. run KrowdFunding-ConfigServer
4. run KrowdFunding domainServer ex) ProductServer 
- 단, spring active profile jvm argument 값을 넣어야함 ex) local, prod , gcp
- 각 server.port는 0으로 해주세요 

각 datasource는 config-server에서 읽으며 구성파일은 여기서 프로파일 정보와 함께 읽어들임.

배포는 gcp에 할예정이며 spring,django,flask, java, kotlin, python언어는 상관없이 eureka를 바라볼 수 있게 개발하면 동작함. (다만 rewritepath필요)

스프링프레임워크를 사용할경우 필수 의존성 ⏰

implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-hateoas")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.cloud:spring-cloud-starter-netflix-eureka-client")
implementation("org.springframework.cloud:spring-cloud-config-client")
implementation 'org.springframework.cloud:spring-cloud-sleuth-zipkin'
implementation 'org.springframework.cloud:spring-cloud-starter-sleuth'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'

runtimeOnly("com.h2database:h2")
runtimeOnly("mysql:mysql-connector-java")


//   optional(필수 사항 아닌 각 도메인 구현하는 사람의 필요하에 추가)
implementation("com.querydsl:querydsl-jpa:$querydslVersion")
implementation 'org.springframework.data:spring-data-elasticsearch:4.4.0'
implementation 'org.springframework.kafka:spring-kafka'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.jsonwebtoken:jjwt-api:0.11.1'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.1', 'io.jsonwebtoken:jjwt-jackson:0.11.1'
compileOnly 'org.projectlombok:lombok' //자바로 할사람만
annotationProcessor 'org.projectlombok:lombok'

현재 대략 구상안

image

d32237f759e71cd3c228c27b96601b73_1547457159_4914

Popular repositories Loading

  1. KrowdFunding-EurekaServer KrowdFunding-EurekaServer Public

    krowdFunding Projects의 Eurekaserver

    Java

  2. KrowdFunding-ApiGateWay KrowdFunding-ApiGateWay Public

    KrowdFunding Projects의 Netty ApiGateWay

    Java

  3. KrowdFunding-ProductServer KrowdFunding-ProductServer Public

    KrowdFunding Projects의 ProductDomainServer

    Kotlin

  4. Krowdfunding-ConfigProperties Krowdfunding-ConfigProperties Public

    KrowdFunding Projects의 ConfigServer에서 사용할 구성파일입니다. dartasource 등 properties

  5. KrowdFunding-ConfigServer KrowdFunding-ConfigServer Public

    KrowdFunding Projects의 깃 기반 config Server입니다.

    Kotlin

  6. .github .github Public

    krowdfunding MSA 프로젝트를 실행하기 위한 설정 README.

Repositories

Showing 9 of 9 repositories
  • KrowdFunding-AuthServer Public

    KrowdFunding AuthServer with MSA

    krowdfunding-projects/KrowdFunding-AuthServer’s past year of commit activity
    Kotlin 0 0 0 0 Updated Jun 28, 2022
  • KrowdFunding-ApiGateWay Public

    KrowdFunding Projects의 Netty ApiGateWay

    krowdfunding-projects/KrowdFunding-ApiGateWay’s past year of commit activity
    Java 0 0 0 0 Updated Jun 25, 2022
  • KrowdFunding-ProductServer Public

    KrowdFunding Projects의 ProductDomainServer

    krowdfunding-projects/KrowdFunding-ProductServer’s past year of commit activity
    Kotlin 0 0 4 (1 issue needs help) 0 Updated Jun 18, 2022
  • .github Public

    krowdfunding MSA 프로젝트를 실행하기 위한 설정 README.

    krowdfunding-projects/.github’s past year of commit activity
    0 0 0 0 Updated Jun 1, 2022
  • KrowdFunding-OrderServer Public

    KrowdFunding Projects의 OrderDomainServer

    krowdfunding-projects/KrowdFunding-OrderServer’s past year of commit activity
    0 0 0 0 Updated May 31, 2022
  • KrowdFunding-UserServer Public

    KrowdFunding User/Auth server (Deprecated) -_-

    krowdfunding-projects/KrowdFunding-UserServer’s past year of commit activity
    0 0 0 0 Updated May 29, 2022
  • Krowdfunding-ConfigProperties Public

    KrowdFunding Projects의 ConfigServer에서 사용할 구성파일입니다. dartasource 등 properties

    krowdfunding-projects/Krowdfunding-ConfigProperties’s past year of commit activity
    0 0 0 0 Updated May 28, 2022
  • KrowdFunding-ConfigServer Public

    KrowdFunding Projects의 깃 기반 config Server입니다.

    krowdfunding-projects/KrowdFunding-ConfigServer’s past year of commit activity
    Kotlin 0 0 1 (1 issue needs help) 0 Updated May 17, 2022
  • KrowdFunding-EurekaServer Public

    krowdFunding Projects의 Eurekaserver

    krowdfunding-projects/KrowdFunding-EurekaServer’s past year of commit activity
    Java 0 MIT 0 0 0 Updated May 6, 2022

Top languages

Loading…

Most used topics

Loading…