Skip to content

GGoMak/Swith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swith

Version

  • SpringBoot : 2.1.7.RELEASE
  • DB : 8.0.18 MySQL Community Server
  • Gradle : gradle-4.10.2
  • Jquery : min.js-v3.4.1, form.js-v4.2.2
  • Bootstrap : v3.3.7

Gradle

// Spring
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('org.springframework.boot:spring-boot-starter-data-jpa')

// Database
compile('com.h2database:h2')
compile('mysql:mysql-connector-java')
compile('org.modelmapper:modelmapper:2.3.7')

// Security, OAuth
compile('org.springframework.boot:spring-boot-starter-oauth2-client')
compile('org.springframework.boot:spring-boot-starter-security')

// Google Chart
compile('com.googlecode.json-simple:json-simple:1.1.1')
compile('com.fasterxml.jackson.core:jackson-databind:2.9.4')

// Plugin
compileOnly('org.projectlombok:lombok')
testCompile('org.springframework.boot:spring-boot-starter-test')

Usage

  • Linux(Ubuntu)
git clone https://github.com/GGoMak/Swith.git
gradle build
cd build/libs
java -jar {프로젝트명}-1.0-SNAPSHOT.jar
  • 인메모리 DB가 아닌 mySQL DB사용 시 application.properties 파일 수정
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://{주소}:3306/{Database이름}?serverTimezone=UTC&characterEncoding=UTF-8
spring.datasource.username={DB 아이디}
spring.datasource.password={DB 패스워드}
  • src/main/java/com/ggomak/springboot2/service/ContentService.java 파일에서 Content 경로 수정
File file = new File("{Content 폴더 경로명}" + content.getContentName() + ".mp4");

v1.0

  • 게시판 작성자 목록 추가
  • 로그인, 로그아웃 버튼 추가드
  • 로그인 폼 개선
  • 소셜로그인(구글, 페이스북, 네이버, 카카오)기능 추가

v1.1

  • Spring Security를 이용한 자체 로그인 및 회원가입 구현 + Password Hashing(salt)
  • ajax를 이용한 회원가입 예외처리
  • 게시판 파일 업로드 및 다운로드 기능 추가

v1.2

  • 메인페이지 및 강의페이지 추가
  • 네비게이션 바 구현(게시판 탭, 메인페이지, 강의 탭)
  • 동영상 스트리밍 지원
  • 소스 공유를 위해 mysql에서 in-memory db로 변경

v1.3

  • 구글 차트를 이용한 집중도 페이지 구현
  • 게시판 댓글 DB 구현

v1.3.1

  • User session 정보 및 Content session 정보 추가
  • 집중도 처리 restAPI 구현

Log 정보

  • 0001 : Request Contents
  • 0002 : Save Data
  • 0003 : Load Data(Reqeust Concentrate Data)
  • 0004 : No Contents Session

구현 예정

  • 로그인 예외처리
  • 웹캠 사용

Referenced

About

Java Spring기반 인터넷 강의 집중도 분석 웹 프로젝트

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors