GPT 3.5 model을 이용해 집에 남는 음식 재료를 조합해 음식
레시피를 추천하는 서비스입니다.
- 집에 있는 재료를 활용하여 창의적인 레시피를 제작하고 공유함으로써 요리 스킬을 향상시킬 수 있습니다.
- 식품의 낭비를 줄이고 지속 가능 한 식품 생산의 가치를 강조할 수 있습니다.
- 집에서 건강하고 균형 잡힌 식사를 쉽게 만들어 먹을 수 있습니다.
![image](https://private-user-images.githubusercontent.com/45661217/290974778-a217202b-daf7-4e5e-b5ac-3311923d17cf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMzU5ODIsIm5iZiI6MTcyNjAzNTY4MiwicGF0aCI6Ii80NTY2MTIxNy8yOTA5NzQ3NzgtYTIxNzIwMmItZGFmNy00ZTVlLWI1YWMtMzMxMTkyM2QxN2NmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA2MjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ1Mjk0NmQyOWU4NzM1OWQ0MGM5ZDRhMmQ4NGJmYzYzNTgzZDNmMjgyZDljOGRmNjAwYjdkODAzMTMyZGE4Y2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fD1MG2OBJvEONrXLCo7t9KweD4NKm3WYXQHvzc2iSmI)
![image](https://private-user-images.githubusercontent.com/45661217/290974747-f2b7f5ba-c973-45a1-a22b-7ff5fe3db02d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMzU5ODIsIm5iZiI6MTcyNjAzNTY4MiwicGF0aCI6Ii80NTY2MTIxNy8yOTA5NzQ3NDctZjJiN2Y1YmEtYzk3My00NWExLWEyMmItN2ZmNWZlM2RiMDJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA2MjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBlMjVhNjY5NjNiNTUzYmI5NzJhNTY2NjI4NjFkNDM1YzNjODU1OTEwMTEwYWJlYzQwNjZiMWIyNjg3MWIxNDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-QZOLPqUro6lofV23nbz4eX2v7Q3gAgpF1nH8KCIhTg)
- Kotiln / Spring / JPA
- Authorization : Spring Security
- DOCS : Swagger
- AWS: S3, CloudFront
- DB : MySql, Redis
![image](https://private-user-images.githubusercontent.com/45661217/290354795-0b3f6758-79b1-4df2-8890-18c27771894c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMzU5ODIsIm5iZiI6MTcyNjAzNTY4MiwicGF0aCI6Ii80NTY2MTIxNy8yOTAzNTQ3OTUtMGIzZjY3NTgtNzliMS00ZGYyLTg4OTAtMThjMjc3NzE4OTRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA2MjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhYzVlYTIzNThmY2U0MWRjZmQ2MGZhNDc4ZjYzNDViNDIxZTAxYmYzNmMwYmU4Zjg5MWZhYzBmZTRhZjVjOTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.p6E53SoqpwABZ1BG6ZHuANa9dv7LHVFlKGROmgzwXyc)
application.properties 파일에 설정한 환경 변수를 모두 입력해주세요.
-Dspring.profiles.active=local
vm 옵션으로 실행합니다. MySQL 데이터베이스는 properties의 ddl-auto 설정을 통해 스키마를 만들 수 있습니다.
프로젝트 실행하기
Recipe-GPT 서비스는 프론트와 백엔드가 분리되어있습니다.
백엔드 서비스인 이 프로젝트를 먼저 실행한 후, 프론트 앱을 실행하면 앱 구동이 완료됩니다.
Backend API Server (this repository).
Frontend repository
레시피 질문
- 레시피 질문 페이지에서 재료를 이용한 레시피 질문이 가능합니다.
- 채팅방을 생성하고 삭제할 수 있습니다.
- 마음에 드는 요리를 선택하면 추가 질문을 해 요리의 자세한 정보가 나타납니다.
레시피 커뮤니티
- 레시피를 AI에게 받았으면 좋은 레시피를 공유할 수 있습니다.
- 레시피 커뮤니티 페이지에서 다른 사람이 공유한 레시피를 확인할 수 있습니다.
레시피 질문 flow
- 재료 조미료 입력
![image (3)](https://private-user-images.githubusercontent.com/45661217/290977808-b13af39e-6069-46c7-bb52-75f1b05b16fe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMzU5ODIsIm5iZiI6MTcyNjAzNTY4MiwicGF0aCI6Ii80NTY2MTIxNy8yOTA5Nzc4MDgtYjEzYWYzOWUtNjA2OS00NmM3LWJiNTItNzVmMWIwNWIxNmZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA2MjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThhMzU3YjFiYzc5ZDgwYTc0ZGI5OGM5NTEyODRhMmIwMzNhOTI1NTFmOTI0MzZmZTgyNGE0OWE1Y2ZkMjNiYjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7Z5ZNEPN8SiHsvmDR_wl6s2VzrDoZ4gZB-7eO7FH3Dk)
- 레시피 선택 & 확인
![image (5)](https://private-user-images.githubusercontent.com/45661217/290977815-69c8f080-0429-4f80-8773-9abbf8ce4e77.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMzU5ODIsIm5iZiI6MTcyNjAzNTY4MiwicGF0aCI6Ii80NTY2MTIxNy8yOTA5Nzc4MTUtNjljOGYwODAtMDQyOS00ZjgwLTg3NzMtOWFiYmY4Y2U0ZTc3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA2MjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0N2I3NjBmMWFhYjFlZDExMGY4YTc5YzVhYjQzMjRkNDE4MDMwZDk5MGNjZGZmYTM3NjQ0NTlmNWExOGJhNjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.E9l5TH9I4GMJ2zjMbRxgIti0_cVuRX4BmhcRrh61Bf4)
- 레시피 공유
![image (6)](https://private-user-images.githubusercontent.com/45661217/290977817-836b33a3-32dc-494b-81e1-66117f87868b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMzU5ODIsIm5iZiI6MTcyNjAzNTY4MiwicGF0aCI6Ii80NTY2MTIxNy8yOTA5Nzc4MTctODM2YjMzYTMtMzJkYy00OTRiLTgxZTEtNjYxMTdmODc4NjhiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA2MjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFjMWM4MWI5MDBlZDI3YjkxMDVhMmU5NjEzZDY0NzgwNjg1ZmE0NDAyYjk5MTQwZWZhZWEwNTU4ZjI5OWNiNzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pmqbh_DbPxR5zg_MDPNgPF1DpUnDPckxQLayprszhrg)