Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 1.56 KB

README.md

File metadata and controls

72 lines (52 loc) · 1.56 KB

Music Web Library RESTful API

Tech Stack

REST API

Spring MVC, Swagger, Spring HATEOAS(not now)

Authentication & Authorization

Spring Security, jjwt

Database

Maria DB, Spring Data JPA, phpMyAdmin

Build

gradle, Docker

Test

Junit5, Mockito

Prerequisities

Docker

Docker Compose

Windows and macOS

Docker Compose is included in Docker Desktop for Windows and macOS.

Linux

release page

Usage

(1) Clone Repo

git clone https://github.com/waristo/music-library-spring.git

(2) Start Docker Containers (MariaDB, phpmyadmin, Spring)

docker-compose -f docker-compose.yml up

Build

(1) build jar

./gradlew clean build

(2) build docker image

docker build -t waristo/mwl:latest .

(3) upload to docker hub

docker push waristo/mwl:latest

API Document (after start docker-compose)

http://localhost:8080/swagger-ui.html 스크린샷 2021-08-12 오후 11 32 48

phpMyAdmin (after start docker-compose)

http://localhost:8000 스크린샷 2021-08-12 오후 11 34 18