https://github.com/vientorepublic/spring
스프링 프레임워크 기반 REST API 구현 예시
https://github.com/vientorepublic/spring
java rest-api spring spring-boot
Last synced: 2 months ago
JSON representation
스프링 프레임워크 기반 REST API 구현 예시
- Host: GitHub
- URL: https://github.com/vientorepublic/spring
- Owner: vientorepublic
- License: mit
- Created: 2025-03-15T07:13:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-19T17:40:37.000Z (3 months ago)
- Last Synced: 2026-03-20T02:54:14.568Z (3 months ago)
- Topics: java, rest-api, spring, spring-boot
- Language: Java
- Homepage:
- Size: 272 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring
스프링 프레임워크 기반 REST API 구현 예시
# Requirements
- Java 21
- MySQL or MariaDB
# Features
- JWT 토큰 기반 사용자 인증
- 기본적인 CRUD 쿼리를 사용하는 게시글 작성, 조회, 수정, 삭제
# Properties
- JWT 서명 키 생성: `openssl rand -hex 64`
```
spring.application.name=springproj
spring.datasource.url=jdbc:mariadb://(Database Host)/(Database Name)
spring.datasource.username=(Database User)
spring.datasource.password=(Database Password)
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
# spring.jpa.properties.hibernate.jdbc.time_zone=Asia/Seoul
# spring.jpa.show-sql=true
jwt.secret=(JWT Secret)
```