/SMOPS-BE

Selling My Oil Paintings Service

Primary LanguagePython

image

πŸ¦‰ SMOPS (Selling My Oil Paintings Service)

  • λ‚˜λ§Œμ˜ μœ ν™”λ₯Ό λ§Œλ“€μ–΄ νŒλ§€ν•˜κ±°λ‚˜ ꡬ맀할 수 μžˆλŠ” μ›Ή μ„œλΉ„μŠ€

🐼 Introduction

  • 주제 : μœ ν™” μ œμž‘ 및 판맀 μ‚¬μ΄νŠΈ
  • κΈ°κ°„ : 2022.06.28 (ν™”) ~ 2022.07.06 (수)
  • Team : κΉ€μ„ λ―Ό (Github), κΉ€λ―ΌκΈ° (Github), λ°•μž¬ν˜„ (Github), ν™©μ‹ ν˜œ (Github)

πŸ“š Project Structure

image


🀝 Project-Rules

Scheduling & API

Branch Info

  • main : LocalHost μ‹€ν–‰ branch
  • publish : EC2 Hosting μ‹€ν–‰ Branch

Repository Info

Figma Mock-up

image

DB Modeling

image


πŸ‘‰ Getting-Started

## FrontEnd Settings
$ git clone https://github.com/SeonminKim1/SMOPS-FE
$ cd SMOPS-FE/
- Install vscode extensions : Live Server 
- Run Live Server

## Backend Settings
$ git clone https://github.com/SeonminKim1/SMOPS-BE
$ cd SMOPS-BE/
$ pip install -r requirements.txt

- Make 'my_settings.py' from 'ex_my_settings.py
$ python manage.py makemigrations
$ python manage.py migrations
$ python manage.py runserver

# if you apply code convention by black & isort
$ python auto_cleancode.py

πŸ‘‰ Structure

β”Œβ”€smops
β”œβ”€β”€ smops               // project
β”‚   β”œβ”€β”€ urls.py       
β”‚   β”œβ”€β”€ settings.py     // setting
β”‚   └── ...
β”œβ”€β”€ art                 // app
β”‚   β”œβ”€β”€ models.py       // DB Model - User
β”‚   β”œβ”€β”€ views.py        // View Functions
β”‚   β”œβ”€β”€ serializers.py  // Serializers
β”‚   └── ...
β”œβ”€β”€ mygallery           // app
β”‚   β”œβ”€β”€ models.py       // DB Model - Restaurant, Category
β”‚   β”œβ”€β”€ views.py        // View Functions
β”‚   β”œβ”€β”€ serializers.py  // Serializers
β”‚   └── ...
β”œβ”€β”€ ai                  // app + ai GAN
β”‚   β”œβ”€β”€ service/        // AI Style Transfer 
β”‚   β”œβ”€β”€ models.py       // DB Model - Star 
β”‚   β”œβ”€β”€ views.py        // View Functions
β”‚   β”œβ”€β”€ upload.py       // AWS S3 Upload Code 
β”‚   β”œβ”€β”€ serializers.py  // Serializers
β”‚   └── ...
β”œβ”€β”€ user                // app
β”‚   β”œβ”€β”€ models.py       // DB Model - Diary
β”‚   β”œβ”€β”€ views.py        // View Functions
β”‚   β”œβ”€β”€ serializers.py  // Serializers
β”‚   └── ...
β”œβ”€β”€ media 
β”‚   └── test_img/       // test img    
β”‚
β”œβ”€β”€ **manage.py**           // 메인
└── requirements.txt

πŸ’» Development

πŸ‘‰ Login/Join Page

  • νšŒμ›κ°€μž… vaildation
  • 둜그인 JWT Token λΆ€μ—¬
  • image

πŸ‘‰ μœ ν™” 메인 νŽ˜μ΄μ§€

  • μœ ν™” μΉ΄ν…Œκ³ λ¦¬ 별 쑰회 : 인물화, 풍경화, μ •λ¬Όν™”, 동물화
  • μœ ν™” 필터링 별 쑰회
    • (1) μ •λ ¬ : 등둝일, 가격 λ“±
    • (2) 가격 λ²”μœ„ : ~10λ§Œμ›, ~30λ§Œμ›
    • (3) κ·Έλ¦Όν˜•νƒœ
  • μœ ν™” μ•„ν‹°μŠ€νŠΈ 검색 image

πŸ‘‰ μœ ν™” 상세 νŽ˜μ΄μ§€

  • μœ ν™” 정보 쑰회
  • μœ ν™” 둜그 쑰회 (νžˆμŠ€ν† λ¦¬)
  • μœ ν™” ꡬ맀 ν•˜κΈ°
  • μ‹œμ—° ν™”λ©΄ image

마이 가러리 νŽ˜μ΄μ§€

  • 보유 쀑인 λ‚΄ μœ ν™” 쑰회
  • μœ ν™” 판맀 μƒνƒœλ‘œ μ—…λ°μ΄νŠΈ / μ‚­μ œ
  • μœ ν™” 둜그 쑰회 (νžˆμŠ€ν† λ¦¬)
  • μ‹œμ—° ν™”λ©΄ image

μœ ν™” λ§Œλ“€κΈ° νŽ˜μ΄μ§€ (AI)

  • Base 이미지, Style 이미지 μ—…λ‘œλ“œ
  • StyleGAN λͺ¨λΈ ν•™μŠ΅ (RUN λ²„νŠΌ)
  • ν•™μŠ΅ κ²°κ³Ό λ‚΄ μœ ν™”λ‘œ 등둝
  • μ‹œμ—° ν™”λ©΄ image

AWS Infra

  • AWS EC2 μ΄μš©ν•œ μ™ΈλΆ€ Publish 배포
  • AWS S3 User 이미지 μ—…λ‘œλ“œ 및 정적 파일 관리
  • AWS IAM λΆ€μ—¬ν•˜μ—¬ Infra Team 곡동 관리