SpringBoot, Vue web project
Honey-Combo
는 1인 가구를 위한 음식 조합을 공유하기 위한 소셜 네트워크 서비스(Social Networking Service, SNS) 입니다. 사용자가 직접 요리한 사진을 피드로 게시해 여러 사용자들과 공유하며 소통할 수 있습니다.
여기를 클릭해 사이트를 확인하세요
아래 방법을 따르시면 프로젝트를 실행시킬 수 있습니다.
깃헙의 레포지토리를 클론합니다.
$ git clone https://github.com/YongjoonSeo/1st_pjt_301.git
yarn을 설치합니다.
$ yarn install
Honey-combo
서비스를 사용하기 위해서는 다음과 같은 방법으로 실행합니다:
데이터베이스를 설정합니다.
honey-combo.sql을 참고해서 데이터베이스를 생성합니다. (여기를 눌러 erd를 확인하세요.)
application.yml
에 데이터베이스 설정을 추가합니다.
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url : jdbc
//localhost:3306/honeycombo?characterEncoding=UTF-8&serverTimezone=Asia/Seoul
username : {데이터베이스 계정 아이디}
password : {데이터베이스 계정 비밀번호}
백엔드 서버를 실행합니다.
IDE에 import 후 실행합니다.
: IntelliJ, STS와 같은 IDE를 사용하는 경우, backend
를 import하여 실행합니다.
war파일을 생성 후 실행합니다.
$ gradlew -DskipTests=true build
$ java -jar [filename].war
프론트엔드를 실행합니다.
$ yarn serve
해당 서비스는 AWS EC2
를 이용하여 배포하였습니다. 사전에 여기를 참고해서 AWS EC2
계정을 생성하세요.
배포를 하기위해서는 다음과 같은 방법으로 실행합니다:
여기를 클릭하세요.
![]() |
![]() |
![]() |
![]() |
---|---|---|---|
latest | latest | latest | latest |
Technology | Description | Official website |
---|---|---|
Vue | Front-end framework | https://vuejs.org/ |
Vue-router | Routing library | https://router.vuejs.org/ |
Vuex | Global State Management library | https://vuex.vuejs.org/ |
vuex-persistedstate | Persist and rehydrate your Vuex state between page reloads | https://www.npmjs.com/package/vuex-persistedstate |
Axios | HTTP communication library | https://github.com/axios/axios |
Vuetify | Vue UI library | https://vuetifyjs.com/ |
vue-cookies | A simple Vue.js plugin for handling browser cookies | https://www.npmjs.com/package/vue-cookies |
vue-chartjs | Wrapper for Chart.js in vue | https://vue-chartjs.org/ |
vue-cropperjs | A Vue wrapper component for cropperjs | https://www.npmjs.com/package/vue-cropperjs |
sweetalert | A beautiful replacement for messages | https://sweetalert.js.org/guides/ |
vue-google-oauth2 | Handling Google sign-in and sign-out for Vue.js applications | https://www.npmjs.com/package/vue-google-oauth2 |
Technology | Dscription | Official Website |
---|---|---|
Spring Boot | Container + MVC framework | https://spring.io/projects/spring-boot |
Spring Security | Authentication and authorization | https://spring.io/projects/spring-security |
Redis | Distributed cache | https://redis.io/ |
JWT | JWT login support | https://jwt.io/ |
MySQL | RDBMS | https://www.mysql.com/ |
JPA | ORM framework | https://spring.io/projects/spring-data-jpa |
QueryDsl | Java persistence query language | http://www.querydsl.com/ |
Lombok | Simplified object packaging tool | https://projectlombok.org/ |
OAuth | Authentication and authorization | https://oauth.net/ |
Swagger-UI | Document production tool | https://github.com/swagger-api/swagger-ui |
Copyright (c) 2015 Juns Alen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.