- Java 11
- IntelliJ IDEA or eclipse
- MySQL Workbrench
- Redis
Clone this repo to your local machine using:
git clone https://github.com/Beach-Combine/Backend.git
- Add
env.properties
inresources
- Fill in the blank space after the equal sign with your own words
application.spring.datasource.url=jdbc:mysql://localhost:3306/beachcombine?serverTimezone=Asia/Seoul
application.spring.datasource.username=root
application.spring.datasource.password=
application.jwt.secret=
application.jwt.secret_refresh=
application.spring.cloud.gcp.storage.credentials.location=classpath:beach-combine-3770712535c0.json
application.spring.cloud.gcp.storage.project-id=
application.spring.cloud.gcp.storage.bucket=
application.spring.cloud.gcp.geocodingAPI=
application.spring.datasource.databaseAPI=
- Add
beach-combine-3770712535c0.json
inresources
- Private key issued by GCP (If you don't want to use image-related APIs, it's okay to just create a file and leave the file content empty)
- Creating a database called
beachcombine
in MySQL workbrench compileQuerydsl
- Change the value of the
ddl-auto
variable insideapplication.yml
fromnone
tocreate
only on the first execution. - Run
BackendApplication
- Download apk file ⭐ here ⭐. (Available for Android version 12 or higher)
- You can use it right away by installing it on your smartphone!
- Currently, this service is providing beta service for Busan, Korea
Our service is currently focused on Busan, South Korea. Therefore, we provide a testing feature for customers in inland areas or those who cannot visit Busan to experience the entire cleaning process.
Upon entering the home screen, users will see a Test
button. When they press this button, their current location will be moved to the Busan area, allowing them to explore various features. If users move to a different location from their current position, the screen will reflect the corresponding change. Feel free to click on nearby markers to experience different feedback.
Please note that this feature is designed solely for testing purposes and is not reflected in the actual database. Therefore, no rewards will be given upon completing the entire cleaning process. Keep this in mind!
In the actual Busan sea, all features can be used without any issues. Come and enjoy Busan!
v1.0.0 release
- Added Main Feature(Cleaning the beach)
- Added Community Feature
- Added Ranking Feature
- Added Mypage Feature
v1.1.0 release
- Added Admin Feature
- Added Testing Feature
- Added Notification Feature
- Added Tutorial Feature
- jar build :
gradle build
- image creation :
docker build -t yourAccountName/repositoryName ./
- push to Docker Hub :
docker push yourAccountName/repositoryName
(AccoutName
and RepositoryName
are from Docker Hub)
- Pull from Docker Hub :
docker pull yourAccountName/repositoryName
- Create image as configured in Docker-compose.yml :
docker tag yourAccountName/repositoryName dockerImageName
- Run Docker Compose :
docker-compose up
(dockerImageName
should be written as the image name in Docker-compose.yml)
- Work individually on each branch
local - feature/Issue#-feature
- After completing the task, submit a PR to
remote - develop
. - After code review, receive approval and merge
- Every time a merge occurs in
remote - develop
, all team members pull fromremote - develop
to maintain the latest status
Tag name | Description |
---|---|
feat | Commits that add a new feature |
fix | Commits that fix a bug |
hotfix | Fix an urgent bug in issue or QA |
build | Commits that affect build components |
chore | Miscellaneous commits |
style | Commits for code styling or format |
docs | Commits that affect documentation only |
test | Commits that add missing tests or correcting existing tests |
refactor | Commits for code refactoring |
- Variables, functions, and class names should use camelCase.
- For functions, use a verb followed by a noun. e.g.) getInfo()
- Column names stored in the DB should use snake_case. e.g.) member_id
- URL names should use kebab-case, consisting of lowercase nouns.
- Use hyphens (-) as separators, and avoid using separators when possible. e.g.) www.example.com/user
- To improve readability, builders are required instead of constructors
권보민 | 추서연 |
---|---|