Skip to content

๐Ÿ‘ฉโ€๐ŸŽจ AIary | Dall-E ๊ธฐ๋ฐ˜ ๊ทธ๋ฆผ์ผ๊ธฐ ์ž‘์„ฑ ์„œ๋น„์Šค

Notifications You must be signed in to change notification settings

AI-ary/docker-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽจ AIary ๐ŸŽจ

์–ด๋ฅธ๋“ค์˜ ๋™์‹ฌ์„ ์ฐพ์•„๋ผ!

๋ฐฉํ•™์ˆ™์ œ๋กœ ๊ทธ๋ฆฌ๋˜ ๊ทธ๋ฆผ์ผ๊ธฐ๋ฅผ AIary์— ๊ทธ๋ฆฌ์ž!
์ผ๊ธฐ์žฅ๊ณผ ๊ทธ๋ฆผ์€ ๋‚ด๊ฐ€ ์ œ๊ณตํ• ๊ฒŒ
์Šคํ† ๋ฆฌ๋Š” ๋ˆ„๊ฐ€ ์งค๋ž˜?

๐Ÿง Introduce

image
์ผ๊ธฐ๋ฅผ ์ž‘์„ฑํ•ด ์ €์žฅํ•ด๋ณด์„ธ์š”
์ผ๊ธฐ์žฅ์—์„œ ํ‚ค์›Œ๋“œ๋ฅผ ์ถ”์ถœํ•ด ๊ทธ๋ฆผ์ผ๊ธฐ์— ์‚ฌ์šฉํ•  ๊ทธ๋ฆผ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค
์ด ์„ธ์ƒ์— ๋‹จ ํ•˜๋‚˜๋ฐ–์— ์—†๋Š” ๊ทธ๋ฆผ ์ผ๊ธฐ๋ฅผ ์ž‘์„ฑํ•ด๋ณด์„ธ์š”

ํ˜„์žฌ๋Š” ์„œ๋ฒ„ ์ค‘์ง€๋œ ์ƒํƒœ์ž…๋‹ˆ๋‹ค!

๐Ÿ”— www.aiary.net





๐ŸŒˆ Feature

JWT๋ฅผ ์ด์šฉํ•œ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ

image image

์ปค๋ฒ„์‚ฌ์ง„, ํ…Œ๋งˆ ๋ณ€๊ฒฝ ๋ฐ ์‹œ์ž‘

image image

์ผ๊ธฐ์ž‘์„ฑ(with ํ‚ค์›Œ๋“œ)

์ผ๊ธฐ๋ฅผ ์ž‘์„ฑํ•˜๊ณ  <๊ทธ๋ฆผ๊ฐ€์ ธ์˜ค๊ธฐ> ๋ฅผ ๋ˆ„๋ฆ…๋‹ˆ๋‹ค. AI ๋กœ ํ‚ค์›Œ๋“œ๋ฅผ ์ถ”์ถœํ•˜์—ฌ ์ด๋ฏธ์ง€๋ฅผ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค.
๊ทธ๋ฆผ์„ ์„ ํƒํ•˜๊ฑฐ๋‚˜ <๊ทธ๋ฆผ๊ทธ๋ฆฌ๊ธฐ>๋กœ ์ง์ ‘ ๊ทธ๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
image

์ผ๊ธฐ์ž‘์„ฑ(with Dall-E)

์ผ๊ธฐ๋ฅผ ์ž‘์„ฑํ•˜๊ณ  ๋ฅผ ๋ˆ„๋ฆ…๋‹ˆ๋‹ค. Dall-E AI ๋กœ ์ถ”์ถœ๋œ ์ด๋ฏธ์ง€๋ฅผ ์„ ํƒํ•˜์—ฌ ๊ทธ๋ฆผ์ผ๊ธฐ๋ฅผ ์™„์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
image

์บ˜๋ฆฐ๋”๋กœ ์ผ๊ธฐ ์กฐํšŒ

image

์ผ๊ธฐ ๊ฒ€์ƒ‰

image




๐Ÿ’ป Tech Stack

- Frontend: Vite, React, TypeScript, React-Query, Zustand, Styled-Components
- Backend : SpringBoot, Spring-Security, JPA, Gradle, Flask
- Web Server: Nginx
- Asynchronous: Celery, Rabbitmq
- WSGI: Gunicorn
- Database: AWS RDS MySQL, Redis
- AI : KoNLPy, Dall-E 2
- Deployment: Docker, AWS EC2, AWS S3 bucket
- API Test : Postman
- API Documentation : Swagger
- Others: Github, Notion, Zoom, Slack, Figma



๐Ÿ“• API

์ผ๊ธฐ, ์œ ์ € ๊ด€๋ จ API

image

  • api/users/login : ์‚ฌ์šฉ์ž ์ •๋ณด ํ™•์ธ, ๋กœ๊ทธ์ธ
  • api/users/logout: ๋กœ๊ทธ์•„์›ƒ
  • api/users/join : ํšŒ์›๊ฐ€์ž…
  • api/users/profile: ์‚ฌ์šฉ์ž ์ปค๋ฒ„ ์ด๋ฏธ์ง€ ์กฐํšŒ, ๋ณ€๊ฒฝ
  • api/users/theme: ํ…Œ๋งˆ ๋ณ€๊ฒฝ

  • api/diaries : ์ผ๊ธฐ ๋ชฉ๋ก ์กฐํšŒ, ๋“ฑ๋ก
  • api/diaries/{diaryId}: ์ผ๊ธฐ ์‚ญ์ œ
  • api/diaries/search: ์ผ๊ธฐ ์ œ๋ชฉ/๋‚ด์šฉ ๊ฒ€์ƒ‰


๐Ÿณ How to start

1. clone the repository

git clone https://github.com/AI-ary/docker-v2.git


2. Set environment file

Path: /docker-v2/backend-spring/src/main/resources/application.yml
RDS, Redis, JWT ์ถ”๊ฐ€

server:
  servlet:
    context-path: /api

spring:
  application:
    name: aiary
  jpa:
    database: mysql
    show-sql: true
    hibernate:
      ddl-auto: update
    properties:
      hibernate:
        dialect: org.hibernate.dialect.MySQL8Dialect
        format_sql: true
    generate-ddl: true
  redis:
    host: localhost   # ๋กœ์ปฌ: localhost / docker: redis
    port: 6379

  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url:
    username:
    password:

cloud:
  aws:
    s3:
      bucket:
    stack.auto:
    region.static:
    credentials:
      accessKey:
      secretKey:

jwt:
  secret:

Path: /docker-v2/Ai-flask/.env AI ํ™˜๊ฒฝ๋ณ€์ˆ˜
# Dalle Open AI
OPEN_AI_KEY=

# Database
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_SCHEMA=
DB_PORT=

# RabbitMq
RABBITMQ_USER=
RABBITMQ_PASSWORD=

# S3
ACCESS_KEY_ID=
SECRET_ACCESS_KEY=
S3_BUCKET_REGION=
S3_BUCKET_NAME=


3. Run

docker-compose -f docker-compose.prod.yml up --build



๐Ÿ‘จโ€๐Ÿ’ป Members

๊ณ ์›์ค€ ๋ฐ•ํฌ๊ฒฝ ๋ฐ•์ค€์ˆ˜ ์ด๋ฏผ์ง€ ์ž„๊ด‘์ˆ˜ ์ด์˜ˆ์€
PM Leader, Backend, DevOps Backend, DevOps Frontend Frontend Design

Footer

About

๐Ÿ‘ฉโ€๐ŸŽจ AIary | Dall-E ๊ธฐ๋ฐ˜ ๊ทธ๋ฆผ์ผ๊ธฐ ์ž‘์„ฑ ์„œ๋น„์Šค

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •