Skip to content

๐ŸšŒ ๊ฐ•์›๋Œ€ํ•™๊ต ํ†ต๊ณผํ•˜๋Š” 300๋ฒˆ ๋ฒ„์Šค ๋„์ฐฉ์‹œ๊ฐ„์„ ์•Œ๋ ค์ฃผ๋Š” ์›น์•ฑ

Notifications You must be signed in to change notification settings

ventulus95/kangwonBusApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸšŒ ๊ฐ•์›๋Œ€ํ•™๊ต 300 BUS ์•Œ๋ฆผ์ด ๐ŸšŒ

๊ฐ•์›๋Œ€ 300๋ฒˆ ๋ฒ„์Šค ์•Œ๋ฆผ ์›น์•ฑ

ย 

๋ชฉ์ฐจ

ย ย 

ํ”„๋กœ์ ํŠธ์— ๋Œ€ํ•˜์—ฌ

์™œ ์ด ํ”„๋กœ์ ํŠธ๋ฅผ ๊ธฐํšํ–ˆ์—ˆ๋Š”๊ฐ€?

๊ฐ•์›๋Œ€ํ•™๊ต์— ์งํ†ต์„ ๊ฐ€๋Š” ๋ฒ„์Šค๋Š” ์ง€๋‚œ 19๋…„๋„ 11์›” ์ค‘๋ฐ˜์ฏค๋ถ€ํ„ฐ ์ง€๋‚˜๋‹ค๋‹ˆ๊ธฐ ์‹œ์ž‘ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋Š” ์ด ๋ฒ„์Šค๊ฐ€ ์–ธ์ œ ์˜ค๋Š”์ง€ ์ •ํ™•ํ•˜๊ฒŒ ํŒŒ์•…ํ•˜๊ธฐ๊ฐ€ ๊ทธ๋‹น์‹œ์—๋Š” ์–ด๋ ค์› ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ๋ฒ„์Šค ์•Œ๋ฆผ์•ฑ์„ ๋งŒ๋“ค์–ด์„œ ๋ฐฐํฌ ํ˜น์€ ์ถœ์‹œ๋ฅผ ํ•ด๋ณด๋ฉด ์–ด๋–จ๊นŒ๋ผ๋Š” ๋งˆ์Œ์— ์ œ์ž‘ํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

(๋ฌผ๋ก  ๋ฒ„์Šค๊ฐ€ ์ฒ˜์Œ ๋Œ์•„๋‹ค๋‹๋•Œ ์ฏ”์Œ์—๋Š” ๋„ค์ด๋ฒ„ ์ง€๋„๋‚˜ ์นด์นด์˜ค ์ง€๋„์—๋Š” ์•ˆ๋–ด์ง€๋งŒ ํ˜„์žฌ๋Š” ๋ชจ๋‘ ๋œจ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.)

๊ฐœ๋ฐœ ๊ณผ์ •๋“ค

์›๋ž˜๋Š” ๋ณด์ผ๋Ÿฌ ํ”Œ๋ ˆ์ดํŠธ๋ฅผ ์ ์šฉํ•ด์„œ ๋งŒ๋“ค์—ˆ์—ˆ๋˜ ํ”„๋กœ์ ํŠธ์˜€์œผ๋‚˜, React+Spring Boot์˜ ์—ฐ๋™์„ ์„ฑ๊ณตํ•˜์—ฌ ์ด ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋กœ ์˜ฎ๊ฒผ์Šต๋‹ˆ๋‹ค ๋‹น์‹œ์—๋Š” gradle๋กœ ์ž‘์—…ํ•˜์˜€์œผ๋‚˜ ํ˜„์žฌ๋Š” Maven์œผ๋กœ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค. ๋‹น์‹œ์˜ ์ปค๋ฐ‹์„ ํ™•์ธํ•˜์‹œ๋ ค๋ฉด, https://github.com/ventulus95/KangwonBUS/commits/master ๋ฅผ ์ฐธ๊ณ ํ•ด์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

ย 

๊ธฐ์ˆ  ์Šคํƒ

  • Java 8
  • Spring Boot 2.2.4.RELEASE
  • React
  • Maven

ย 

Getting Started

ย 

Details

Description

ย 

ย 

Architecture

<์‚ฌ์ง„ ํ•„์š”>

Spring Boot๊ฐ€ ๋ฐฑ์—”๋“œ Rest API์„œ๋ฒ„๋ฅผ ๋‹ด๋‹นํ•˜๊ณ  ํŠน์ • URL์— ๋”ฐ๋ผ์„œ JSON ๊ฐ’์„ ํŒŒ์‹ฑํ•ด์„œ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๊ฒƒ์„ React๊ฐ€ ๊ทธ JSON๊ฐ’์„ ๋ฐ›์•„ ํ™”๋ฉด์„ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค.

ย 

Demo


Run

  1. ์‹คํ–‰์‹œํ‚ค๊ธฐ ์ „ ์ฃผ์˜์‚ฌํ•ญ src/main/resources/application.yml ์˜ ํ‚ค๊ฐ’์ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— application.yml ํŒŒ์ผ์„ ์ƒ์„ฑํ•ด์ฃผ์…”์•ผ์ง€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

    spring:
      thymeleaf.cache: false
      template.cache: false
    
    data:
      ServiceKey: [์ž๊ธฐ๊ฐ€ ๊ฐ€์ง€๊ณ ์žˆ๋Š” ๊ณต๊ณต๋ฐ์ดํ„ฐ ํฌํ„ธ์˜ API ํ‚ค๊ฐ’]
  2. Run์‹œ ReactspringbootApplication ๋ฅผ ์ง์ ‘ Runํ•˜์—ฌ๋„ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

    แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2020-03-02 แ„‹แ…ฉแ„’แ…ฎ 12 11 52

  3. ํ˜น์€ Maven์˜ plug-in์˜ Spring-boot:run ์„ ์ด์šฉํ•ด๋„ ์ •์ƒ์ ์œผ๋กœ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

    ์Šคํฌ๋ฆฐ์ƒท 2020-03-02 ์˜คํ›„ 12 05 08

Deploy

  1. ๋นŒ๋“œ๋ฅผ ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” Maven์˜ Install์„ ์ด์šฉํ•ฉ๋‹ˆ๋‹ค.

reactspringboot-0.0.1-SNAPSHOT.jar ํŒŒ์ผ๋ช…์ด ์ €์žฅ๋ฉ๋‹ˆ๋‹ค.

๋ช…๋ น์–ด์ธ ./mvnw clean install๋ฅผ ์ด์šฉํ•˜๊ฑฐ๋‚˜

์Šคํฌ๋ฆฐ์ƒท 2020-03-02 ์˜ค์ „ 11 49 45

์ด๋ฏธ์ง€ ์†์˜ install ์ด์šฉํ•ฉ๋‹ˆ๋‹ค.

๊ฐ„ํ˜น ์ด์ „ build๊ฐ€ ๊ทธ๋Œ€๋กœ ์ด์šฉ๋˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜๋„ ์žˆ์œผ๋ฏ€๋กœ Cleanํ›„ Install ํ•ด์ฃผ์‹œ๋Š”๊ฑธ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.

ย 

  1. ํŒŒ์ผ ์ €์žฅ ์œ„์น˜

    ํŒŒ์ผ์€ target/reactspringboot-0.0.1-SNAPSHOT.jar ์— ์žˆ๊ณ  src ํด๋”์™€ ๋™์ผ์œ„์น˜์— ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค.

ย 

  1. ์„œ๋ฒ„์— ์˜ฌ๋ฆฌ๋Š” ์ž‘์—… FTP ์„œ๋ฒ„์™€ SSH๋ฅผ ์ด์šฉํ•˜๋Š” ๋ฐฉ๋ฒ• ์ค‘ SSH ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

scp : scp ํŒŒ์ผ์ฃผ์†Œ [ID๋ช…]@[IP์ฃผ์†Œ]:[์„œ๋ฒ„์˜ํด๋”๊ฒฝ๋กœ] ๋ฅผ ํ†ตํ•ด์„œ ์˜ฎ๊น๋‹ˆ๋‹ค.

ย 

  1. ์‹คํ–‰

    java -jar [ํŒŒ์ผ๋ช….jar]

์Šคํฌ๋ฆฐ์ƒท 2019-11-25 ์˜ค์ „ 12 35 49

Contributers

  • ๊ฐœ๋ฐœ

About

๐ŸšŒ ๊ฐ•์›๋Œ€ํ•™๊ต ํ†ต๊ณผํ•˜๋Š” 300๋ฒˆ ๋ฒ„์Šค ๋„์ฐฉ์‹œ๊ฐ„์„ ์•Œ๋ ค์ฃผ๋Š” ์›น์•ฑ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published