Skip to content

Silicon-Valley-Online-Internship/PillGood_MainWAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pill Good Project Client Part Repository

GitHub License GitHub repo size GitHub contributors GitHub stars GitHub forks GitHub issues

팀 K - CoCo(Corona Coder)의 Pill Good 를 소개합니다.
Introducing CoCo(Corona Coder)(K-Team)'s Pill Good

제목을 입력해주세요 _002

이 프로젝트는 사진 내의 알약의 색과 모양, 각인을 인식하고 학습된 데이터를 기반하여 알약의 종류를 판단하는 기능을 지원하는 웹기반 프로젝트입니다.
This project is a web-based project that supports a function that recognizes pill's color, shape, imprint in pictures.

The technologies used in this project

  • Client
    • React
  • Server
    • Spring
    • Flask
    • AWS
  • Data processing
    • Tensorflow
    • Maria DB
    • ELK(Elasticsearch, Logstach, Kibana)
  • Deployment, Management
    • Docker
    • Git
    • Jira Software

How to install

> git clone https://github.com/Silicon-Valley-Online-Internship/Client-Spring-React.git
intellij 에서 프로젝트 run

How did we link React and SpringBoot?

  1. IntelliJ 에서 제공해주는 Spring initializar를 통해 Spring Boot 프로젝트 생성 (type : Gradle, dependency : Spring Web )

  2. SpringProjectName\src\main\ 경로에 React 프로젝트 파일 추가 ( 아직 react 파일이 없다면 create-react-app를 통해 설치해 줄 수 있다.)

  3. 설치가 완료 후 설치한 파일로 경로 이동
> cd [react Project name] 
> npm install 
  1. 정상적으로 잘 작동된다면 npm start 을 실행

  2. npm run-script build 명령어를 실행 compiled successfully라고 뜨면 제대로 빌드된 것이다.

  3. npm run eject를 실행시킨다. -> 만약 에러가 난다면 Git에 전부 데이터를 Push 하고 다시 시도한다.

  4. 새로 생성된 [react Project name]/config/paths.js에 가서 appBuild: resolveApp('build')에 /static을 추가해준다.
appBuild: resolveApp('build') -> appBuild: resolveApp('build/static')
  1. 이후 [react Project name]/build로 가서 모든 파일을 삭제한다.

  2. spring의 build.gradle파일에서 react와 spring이 같이 빌드될 수 있도록 정의해준다.(코드 참고)

  3. build & run 했을때 아래와 같은 결과가 나오면

    image
    localhost:8080에서 react화면이 호출되는 것을 확인할 수 있습니다.

TODO

final release : 2021-02-04


Member

Front :
류서현 ryuish541@gmail.com
박찬 dkssudgkdl9@naver.com

Back :
최용석 dydtjr1717@gmail.com
안성진 seongjin.dev@gmail.com

About

의약품 인식 서비스 'Pill Good'의 Main WAS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors