Skip to content
Snippets Groups Projects
Commit 0f2ed84d authored by 김 유림's avatar 김 유림
Browse files

please upload please

parent 5fb8069c
No related branches found
No related tags found
No related merge requests found
Showing with 63774 additions and 230 deletions
FROM openjdk:17
CMD ["./mvnw", "clean", "package"]
ARG JAR_FILE=target/myweb*.jar
COPY ${JAR_FILE} app.jar
EXPOSE 80
ENTRYPOINT ["java", "-jar", "/app.jar"]
\ No newline at end of file
......@@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@CrossOrigin("*")
public class myWebController{
@Autowired
......
......@@ -10,7 +10,7 @@ import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(schema = "favoriteMusic")
@Table(name = "favoriteMusic")
@Getter
@Setter
@ToString
......@@ -23,6 +23,8 @@ public class FavoriteMusic {
@Column private String artistViewUrl;
@Column private String collectionName;
@Column private String collectionViewUrl;
@Column private String artworkUrl100;
@Column private String collectionCensoredName;
......
......@@ -5,6 +5,8 @@ import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.Column;
@Getter
@Setter
@ToString
......@@ -17,6 +19,10 @@ public class FavoriteMusicRequestDto {
private String collectionName;
private String collectionViewUrl;
private String artworkUrl100;
private String collectionCensoredName;
public FavoriteMusic toEntity(){
FavoriteMusic music = new FavoriteMusic();
......@@ -26,7 +32,8 @@ public class FavoriteMusicRequestDto {
music.setArtistViewUrl(this.artistViewUrl);
music.setCollectionName(this.collectionName);
music.setCollectionViewUrl(this.collectionViewUrl);
music.setArtworkUrl100(this.artworkUrl100);
music.setCollectionCensoredName(this.collectionCensoredName);
return music;
}
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<!doctype html>
<html>
<head>
<title> muiBasic </title>
<meta charset="UTF-8"/>
</head>
<body>
<div id="app"></div>
<script src="./bundle.js" type="text/javascript"></script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment