Backend Test Java Spring

This commit is contained in:
brausjonas
2023-05-08 01:25:36 +02:00
parent 57ebdf002d
commit 624731ed18
18 changed files with 973 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<includedPredefinedLibrary name="Node.js Core" />
</component>
</project>
+7 -1
View File
@@ -14,13 +14,19 @@ const inter = Inter({subsets: ['latin']})
export default function Home(p) {
const url = "http://localhost:8080/weeks"
return (
<>
<div style={{height: 50}}></div>
<CalenderView/>
<Button onClick={() => {
fetch(url + "?id=1", {method: "GET"}).then(response => response.json()).then(json => {
console.log(json.days[1].text)
});
}} text={"Fetch"}/>
</>
)