Giter Site home page Giter Site logo

mlog_server's Introduction

나만의 블로그: Mlog

2023년 8월 26일 도메인 발급 완료

블로그 주소 - https://flex2020.com/

😎 프로젝트 진행인원

해당 프로젝트는 개인 프로젝트로 진행하였습니다.

📌 프로젝트 소개

이 프로젝트는 저의 학습 기록과 정리를 위해 velog를 관리하던 중 나만의 블로그를 만들면 좋지 않을까? 라는 생각에 시작하게 되었습니다.

나만의 블로그를 만들게 된다면 블로그를 만들면서 배우게 되는 새로운 기술도 있고 기존에 알고 있던 기술들을 갈고 닦을 기회가 생긴다고 생각했습니다.

또한, 사이트를 직접 운영하게 된다면 경험해보지 못한 새로운 오류를 마주하고 그 오류를 해결하는 능력을 키울 수 있을 것이라고 생각하여 해당 프로젝트를 진행하게 되었습니다.

📌 프로젝트 목표

  • 스프링 부트와 JPA를 학습하고 실제로 사용함으로써, 기술의 숙련도를 향상시키기 위함.
  • 프로젝트를 진행하며 새롭게 배운 점 혹은 다시 한번 알게 된 점을 정리하기 위함.
  • AWS를 통해 실제 서비스를 배포하고 운영하여 실제 운영단계에서 일어날 수 있는 일들을 경험하기 위함.

📌 시스템 동작 설계

image

모든 방문자가 사용가능한 서비스는 포스트 열람과 프로젝트 열람입니다.

포스트와 프로젝트 모두 작성은 관리자 로그인을 통해 권한을 얻고 이용이 가능합니다.

📌 데이터베이스 설계

image

2023-10-26 기준 데이터베이스 구조입니다.

데이터베이스 구조는 개발 중 컬럼이 추가되거나 변경될 가능성이 있습니다.

📃 API 명세

API 명세는 미완성 입니다.

API 명세보기

👉 시작 가이드

요구 사항

시스템을 동작시키기 위해 아래 요소들을 설치해주세요.

설치 및 실행

  1. git bash를 이용해 아래 명령어를 입력하거나, GitHub Desktop을 이용해 레포지토리를 clone해주세요.
$ git clone http://github.com/flex2020/mlog_server.git
  1. IntelliJ를 실행시킨 후 프로젝트 폴더를 Open 해주세요.
  2. IntelliJ에서 src/main/resources폴더에 application.yml파일을 생성하고 아래의 내용을 입력해주세요.
  3. DB에서 mlog 데이터베이스를 생성해주세요. (문자 인코딩은 utf8-unicode-ci로 선택해주세요.)
server:
  port: 8080
  error:
    include-message: always

spring:
  datasource:
    driver-class-name: org.mariadb.jdbc.Driver
    url: jdbc:mariadb://localhost:3306/데이터베이스명
    username: 사용자명
    password: 비밀번호

  jpa:
    open-in-view: false
    generate-ddl: true
    show-sql: true
    hibernate:
      ddl-auto: none
    properties:
      hibernate:
        show_sql: true
        format_sql: true
        default_batch_fetch_size: 15
    database-platform: org.hibernate.dialect.MariaDB106Dialect
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 50MB

logging:
  level:
    org.hibernate.type.descriptor.sql: trace

jwt:
  secret: jwt 생성에 사용되는 비밀키

path:
  original: /home/ubuntu/mlog/resource/original/
  thumbnail: /home/ubuntu/mlog/resource/thumbnail/
  connect: /api/files/**
  window: file:///C:/home/ubuntu/mlog/resource/
  ubuntu: file:///home/ubuntu/mlog/resource/
  1. IntelliJ에서 Shift + F10 단축키를 이용해 어플리케이션을 실행해주세요.

🛠 개발 환경

용도 기술
IDE IntelliJ, SQLyog
형상관리 Git, GitHub
언어 Java (openjdk 18)
프레임워크 스프링부트, Spring Security, JPA
데이터베이스 MariaDB 10.9

mlog_server's People

Contributors

flex2020 avatar

Watchers

 avatar

mlog_server's Issues

포스트의 시리즈 기능 추가

포스트의 시리즈 기능 추가

  1. 시리즈 테이블 추가 (시리즈명, 포스트ID)
  2. 시리즈 CRUD 구현
  3. 시리즈별 포스트 목록 API 구현

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.