Skip to content

Commit 34a58fd

Browse files
committed
Initial commit
0 parents  commit 34a58fd

File tree

21 files changed

+1051
-0
lines changed

21 files changed

+1051
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = lf
4+
insert_final_newline = true
5+
indent_style = space
6+
indent_size = 4
7+
8+
[*.bat]
9+
end_of_line = crlf

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gradle"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
open-pull-requests-limit: 5

.gitignore

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
##############################
2+
## Java
3+
##############################
4+
.mtj.tmp/
5+
*.class
6+
*.jar
7+
*.war
8+
*.ear
9+
*.nar
10+
hs_err_pid*
11+
replay_pid*
12+
13+
##############################
14+
## Maven
15+
##############################
16+
target/
17+
pom.xml.tag
18+
pom.xml.releaseBackup
19+
pom.xml.versionsBackup
20+
pom.xml.next
21+
pom.xml.bak
22+
release.properties
23+
dependency-reduced-pom.xml
24+
buildNumber.properties
25+
.mvn/timing.properties
26+
.mvn/wrapper/maven-wrapper.jar
27+
28+
##############################
29+
## Gradle
30+
##############################
31+
bin/
32+
build/
33+
.gradle
34+
.gradletasknamecache
35+
gradle-app.setting
36+
!gradle-wrapper.jar
37+
38+
##############################
39+
## IntelliJ
40+
##############################
41+
out/
42+
.idea/
43+
.idea_modules/
44+
*.iml
45+
*.ipr
46+
*.iws
47+
48+
##############################
49+
## Eclipse
50+
##############################
51+
.settings/
52+
bin/
53+
tmp/
54+
.metadata
55+
.classpath
56+
.project
57+
*.tmp
58+
*.bak
59+
*.swp
60+
*~.nib
61+
local.properties
62+
.loadpath
63+
.factorypath
64+
65+
##############################
66+
## NetBeans
67+
##############################
68+
nbproject/private/
69+
build/
70+
nbbuild/
71+
dist/
72+
nbdist/
73+
nbactions.xml
74+
nb-configuration.xml
75+
76+
##############################
77+
## Visual Studio Code
78+
##############################
79+
.vscode/
80+
.code-workspace
81+
82+
##############################
83+
## OS X
84+
##############################
85+
.DS_Store
86+
87+
##############################
88+
## Others
89+
##############################
90+
.env

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 neziw
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.MD

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
##
2+
3+
<div align="center">
4+
<img src="https://i.imgur.com/RjTrOGq.png" width="256" alt="Spring Boot Official Logo Imgur"/>
5+
<h1>Spring-MaturaCountdown</h1>
6+
</div>
7+
8+
A countdown timer to the 2025 high school exam built with Thymeleaf. The timer displays months, days, hours, seconds, milliseconds and updates in real-time without page reloads, powered by JavaScript.
9+
10+
----
11+
12+
## Features
13+
* Spring Boot for backend application
14+
* Thymeleaf for HTML templating
15+
* Ability to change the event date time in `application.properties`
16+
* Animated background with gradients using plain CSS
17+
18+
----
19+
## Preview
20+
21+
![Showcase](/assets/showcase.png)
22+
23+
---
24+
## Requirements
25+
26+
Before running this application, ensure you have the following installed:
27+
28+
* **Java** (JDK 17)
29+
* **Gradle or Gradle Wrapper** (for building the project)
30+
31+
----
32+
## Accessing the application
33+
34+
Once everything is up and running, navigate to the following URL to access the application:
35+
36+
```
37+
http://localhost:8080
38+
```
39+
40+
----
41+
## Technologies Used
42+
* **Spring Boot:** For the backend application
43+
* **Thymeleaf:** Templating engine for frontend rendering
44+
45+
----
46+
## License
47+
48+
This project is licensed under the [MIT License](https://mit-license.org/) - see the [LICENSE](LICENSE) file for details.
49+
50+
---
51+
Special thanks to [JetBrains](https://www.jetbrains.com/products/) company for providing development tools used to develop this project.
52+
53+
[<img src="https://user-images.githubusercontent.com/65517973/210912946-447a6b9a-2685-4796-9482-a44bffc727ce.png" alt="JetBrains" width="150">](https://www.jetbrains.com)

assets/HEADER.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* This file is part of "Spring-MaturaCountdown", licensed under MIT License.
3+
*
4+
* Copyright (c) 2025 neziw
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/

build.gradle

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
plugins {
2+
id 'java'
3+
id 'org.springframework.boot' version '3.4.2'
4+
id 'io.spring.dependency-management' version '1.1.7'
5+
id 'checkstyle'
6+
}
7+
8+
group = 'ovh.neziw'
9+
version = '1.0'
10+
11+
java {
12+
toolchain {
13+
languageVersion = JavaLanguageVersion.of(17)
14+
}
15+
}
16+
17+
checkstyle {
18+
toolVersion = "10.21.2"
19+
maxWarnings = 0
20+
}
21+
22+
repositories {
23+
gradlePluginPortal()
24+
mavenCentral()
25+
}
26+
27+
dependencies {
28+
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
29+
implementation 'org.springframework.boot:spring-boot-starter-web'
30+
developmentOnly 'org.springframework.boot:spring-boot-devtools'
31+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
32+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
33+
}
34+
35+
tasks.named('test') {
36+
useJUnitPlatform()
37+
}

0 commit comments

Comments
 (0)