Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4기-김주웅] 1~2주차 과제 : 계산기 구현 미션 제출합니다. #161

Open
wants to merge 21 commits into
base: JuwoongKim
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
07dd9d9
chore : 루트 디렉토리 프로젝트 초기화
JuwoongKim Jun 6, 2023
c5b44c0
docs : README.md 불필요한 항목제거
JuwoongKim Jun 6, 2023
5350e4d
chore : junit5에 대한 의존성 버전 변경
JuwoongKim Jun 6, 2023
e67619a
feat : 롬북 추가
JuwoongKim Jun 10, 2023
7bae5d1
feat : 프로그램 초기 동작 구조 생성
JuwoongKim Jun 10, 2023
451492e
feat : 연산 입력값 검증 기능 추가 및 테스트
JuwoongKim Jun 10, 2023
9052efa
feat : 연산 입력값 공백 전처리 기능 추가 및 테스트
JuwoongKim Jun 10, 2023
5ac7699
* feat : 입력 값 파씽 기능 추가
JuwoongKim Jun 10, 2023
a10e125
chore : String 숫자여부 판단을 위한 의존성 추가
JuwoongKim Jun 10, 2023
6439421
feat : 연산 입력 값 후위 표기식 변환 기능 추가 + parseExpression 입출력 타입변환
JuwoongKim Jun 10, 2023
b4ce338
feat : 다중연산 기능 구현
JuwoongKim Jun 10, 2023
76e52dd
test : 0으로 나누어 발생하는 ArithmeticException 예외 테스트 코드 작성
JuwoongKim Jun 10, 2023
e861350
chore : gradle-wrapper 버전변경
JuwoongKim Jun 10, 2023
a23441b
feat : 입출력을 BufferedReader로 변경
JuwoongKim Jun 10, 2023
c1928df
feat : 연산자 enum 람다식 변경
JuwoongKim Jun 10, 2023
6a6bc9c
feat : 임시 예외처리
JuwoongKim Jun 10, 2023
2fd1184
feat : 계산 결과를 저장할 모델, repository 구현 및 테스트 코드 작성
JuwoongKim Jun 10, 2023
b7f98cd
feat : 연산 기록 저장 및 조회 기능 반영
JuwoongKim Jun 10, 2023
cff0639
faet : javaCode Convetion 적용
JuwoongKim Jun 10, 2023
6cac2df
feat : 레포지토리 명칭변경
JuwoongKim Jun 11, 2023
60b31aa
feat : 사용자 정의 exception 작성 및 적용
JuwoongKim Jun 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 145 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
# Created by https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,java
# Edit at https://www.toptal.com/developers/gitignore?templates=intellij+all,gradle,java

### Intellij+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Intellij+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.

.idea/*

!.idea/codeStyles
!.idea/runConfigurations

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

### Gradle ###
.gradle
**/build/
!src/**/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Avoid ignore Gradle wrappper properties
!gradle-wrapper.properties

# Cache of project
.gradletasknamecache

# Eclipse Gradle plugin generated files
# Eclipse Core
.project
# JDT-specific (Eclipse Java Development Tools)
.classpath

### Gradle Patch ###
# Java heap dump
*.hprof

# End of https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,java
5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
# java_calculator
자바 계산기 구현 미션 Repository입니다.

### 이곳은 공개 Repo입니다.
1. 여러분의 포트폴리오로 사용하셔도 됩니다.
2. 때문에 이 repo를 fork한 뒤
3. 여러분의 개인 Repo에 작업하며
4. 이 Repo에 PR을 보내어 멘토의 코드 리뷰와 피드백을 받으세요.

### Branch 명명 규칙 + 팀의 PR규칙 정하기
1. 여러분 repo는 알아서 해주시고 😀(본인 레포니 main으로 하셔두 되져)
2. prgrms-be-devcourse/spring-board 레포로 PR시 branch는 gituser_id을 적어주세요 :)
- base repo : `여기repo` base : `username` ← head repo : `여러분repo` compare : `main`또는 `github_id`
3. 실제 진행할 PR규칙은 멘토+팀원들과 정하여 진행해주세요 :)
- ← head repo : `여러분repo` compare : `main`로 할지
- 또는 ← head repo : `여러분repo` compare : `github_id`로 할지
- 참고 : [Github 위치 및 피드백 기준 가이드](https://www.notion.so/backend-devcourse/Github-e1a0908a6bbf4aeaa5a62981499bb215)

### 과제를 통해 기대하는 역량

- 깃허브를 통한 코드리뷰를 경험해보자
Expand Down
25 changes: 25 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
plugins {
id 'java'
}

group 'org.example'
version '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

dependencies {

implementation 'org.apache.commons:commons-lang3:3.12.0'

implementation 'org.projectlombok:lombok'
implementation 'org.projectlombok:lombok:1.18.22'

testImplementation(platform('org.junit:junit-bom:5.9.3'))
testImplementation('org.junit.jupiter:junit-jupiter')
}

test {
useJUnitPlatform()
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading