Skip to content

gimwonbae/music-library-spring

Repository files navigation

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

About

Music Web Library REST API using Spring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published