Skip to content

Latest commit

ย 

History

History
322 lines (279 loc) ยท 11.2 KB

README.md

File metadata and controls

322 lines (279 loc) ยท 11.2 KB

Photoon

์‚ฌ์ง„์„ ๋งŒํ™” ๊ทธ๋ฆผ์ฒด๋กœ ๋ณ€๊ฒฝํ•ด์ฃผ๋Š” ์„œ๋น„์Šค
๋งŒํ™”์ฃผ์ธ๊ณต์ด ๋˜๊ณ ์‹ถ์€ ์–ด๋ฆด์  ๊ฟˆ ์„ ์ด๋ฃจ์–ด๋“œ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค.

1. System Architecture

image


2. Tech Stack


3. Installation

Clone Repository

git clone https://github.com/2022-SeongNam-Pre-Internship-TeamE/PhoToon

Set environment file

Path : /Photoon/backend/config/my_settings.py
Django secret key & MySQL ํ™˜๊ฒฝ๋ณ€์ˆ˜

from pathlib import Path
BASE_DIR = Path(__file__).resolve().parent.parent


MY_SECRET = {
    "SECRET_KEY" : ''
}

MY_DATABASES = {
    'default': {
    	'ENGINE': 'django.db.backends.mysql',
        'NAME': '',
        'USER': '',
        'PASSWORD': '',
        'HOST': 'mysql',
        'PORT': '3306',
     }
}

Path : /Photoon/backend/.env
S3 bucket ๋ฐ MySQL container ํ™˜๊ฒฝ๋ณ€์ˆ˜

DEBUG=False
AWS_S3_ACCESS_KEY_ID=''
AWS_S3_SECRET_ACCESS_KEY=''
AWS_STORAGE_BUCKET_NAME=''

## RDS ์—ฐ๋™ ์‹œ ํ•˜๋‹จ ๋ถ€๋ถ„์€ ํ•„์š”์—†์Šต๋‹ˆ๋‹ค.
## Mysql ์ปจํ…Œ์ด๋„ˆ ์—ฐ๋™ ์‹œ ํ•˜๋‹จ ๋ถ€๋ถ„ ์ž‘์„ฑํ•˜๊ณ  docker-compose.prod.yml ํŒŒ์ผ์—์„œ mysql ์ปจํ…Œ์ด๋„ˆ ๋ถ€๋ถ„ ์ฃผ์„ ํ•ด์ œํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.
MYSQL_DATABASE=
MYSQL_ROOT_PASSWORD=  
TZ=Asia/Seoul

Path : /Photoon/frontend/.env
์นด์นด์˜คํ†ก ๊ณต์œ ํ•˜๊ธฐ ํ™˜๊ฒฝ๋ณ€์ˆ˜

REACT_APP_KAKAO_KEY=''
REACT_APP_IMAGE_URL='https://{AWS_STORAGE_BUCKET_NAME}.s3.{AWS_STORAGE_BUCKET_REGION}.amazonaws.com/'

Path : /Photoon/.env
RabbitMQ ํ™˜๊ฒฝ๋ณ€์ˆ˜

RABBITMQ_HOST=
RABBITMQ_USER=
RABBITMQ_PASSWORD=
RABBITMQ_VHOST=

Run

cd frontend
npm install --legacy-peer-deps
cd ..
docker-compose -f docker-compose.prod.yml up --build

4. ER Diagram

photoon_erd


5. API

swagger

image image image image image


6. Features

๋ฉ”์ธ ํ™”๋ฉด ๋กœ๊ทธ์ธ
์ด๋ฏธ์ง€ ์—…๋กœ๋“œ & ํฌ๋กญ ๋งํ’์„  ์ž…๋ ฅ
์˜ต์…˜ ์„ ํƒ ๊ฒฐ๊ณผ ์ด๋ฏธ์ง€
์นด์นด์˜คํ†ก ๊ณต์œ  ๋งˆ์ดํŽ˜์ด์ง€

7. Team Member

์‚ฌ์ง„
์ด๋ฆ„ ๊ณ ์›์ค€ ์ด๋ฏผ์ง€ ๋ฐฐ์ค€์ผ ๋ฐ•ํฌ๊ฒฝ ๋ผ์˜ˆ์ง„ ๊น€์ฐฝ๋ฏผ
์—ญํ•  Team Leader
frontend
frontend
backend
devops
backend
backend
AI
frontend
backend
GitHub

8. Demo


9. Reference


10. Copyright

Distributed under the Apache-2.0 License. See LICENSE for more information.