Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
javab_20230928
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
javab_20230928
Commits
199c74a6
Commit
199c74a6
authored
Nov 10, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index.html w Thymeleaf
parent
bcd5fb64
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
pom.xml
PC38-RestSpring/pom.xml
+4
-0
WebController.java
PC38-RestSpring/src/main/java/sklep/web/WebController.java
+14
-0
index.html
PC38-RestSpring/src/main/resources/templates/index.html
+12
-0
No files found.
PC38-RestSpring/pom.xml
View file @
199c74a6
...
...
@@ -25,6 +25,10 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-thymeleaf
</artifactId>
</dependency>
<dependency>
<groupId>
org.postgresql
</groupId>
...
...
PC38-RestSpring/src/main/java/sklep/web/WebController.java
0 → 100644
View file @
199c74a6
package
sklep
.
web
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.GetMapping
;
@Controller
public
class
WebController
{
@GetMapping
(
"/"
)
public
String
root
()
{
return
"index"
;
}
}
PC38-RestSpring/src/main/resources/templates/index.html
0 → 100644
View file @
199c74a6
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Strona główna
</title>
</head>
<body>
<h1>
Witajcie w naszej apce
</h1>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment