Skip to content

Commit f55c44e

Browse files
committed
Add jpa & hibernate on backend-java
1 parent 4365fc5 commit f55c44e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+841
-836
lines changed

backend-java/.gitignore

Lines changed: 58 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,80 @@
1-
HELP.md
1+
# ================================================
2+
# ✅ Sensitive files / Local config
3+
# ================================================
4+
5+
# Do not commit real configuration or secrets
6+
.env
7+
.env.local
8+
.env.development
9+
.env.test
10+
.env.production
11+
src/main/resources/application.properties
12+
13+
# Keep templates for sharing example configs
14+
!.env.template
15+
!src/main/resources/application.template.properties
16+
17+
# ================================================
18+
# ☕ Maven / Java build artifacts
19+
# ================================================
20+
221
target/
22+
build/
323
!.mvn/wrapper/maven-wrapper.jar
424
!**/src/main/**/target/
525
!**/src/test/**/target/
26+
!**/src/main/**/build/
27+
!**/src/test/**/build/
28+
29+
# Logs
30+
*.log
31+
hs_err_pid*.log
32+
33+
# ================================================
34+
# 🧪 IDE: Eclipse / Spring Tools Suite (STS)
35+
# ================================================
636

7-
### STS ###
837
.apt_generated
938
.classpath
1039
.factorypath
1140
.project
12-
.settings
41+
.settings/
1342
.springBeans
14-
.sts4-cache
43+
.sts4-cache/
1544

16-
### IntelliJ IDEA ###
17-
.idea
45+
# ================================================
46+
# 💡 IDE: IntelliJ IDEA
47+
# ================================================
48+
49+
.idea/
1850
*.iws
1951
*.iml
2052
*.ipr
53+
out/
54+
55+
# ================================================
56+
# 🧰 IDE: NetBeans
57+
# ================================================
2158

22-
### NetBeans ###
2359
/nbproject/private/
2460
/nbbuild/
2561
/dist/
2662
/nbdist/
2763
/.nb-gradle/
28-
build/
29-
!**/src/main/**/build/
30-
!**/src/test/**/build/
3164

32-
### VS Code ###
65+
# ================================================
66+
# 🖥️ IDE: Visual Studio Code
67+
# ================================================
68+
3369
.vscode/
70+
71+
# ================================================
72+
# 🗂️ OS files / Backup / Temp
73+
# ================================================
74+
75+
.DS_Store
76+
Thumbs.db
77+
*.swp
78+
*.swo
79+
*.bak
80+
*.tmp

backend-java/.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717
wrapperVersion=3.3.2
1818
distributionType=only-script
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip

backend-java/HELP.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Read Me First
2+
The following was discovered as part of building this project:
3+
4+
* The original package name 'com.ganatan.backend-java' is invalid and this project uses 'com.ganatan.starter_app' instead.
5+
6+
# Getting Started
7+
8+
### Reference Documentation
9+
For further reference, please consider the following sections:
10+
11+
* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
12+
* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/3.5.3/maven-plugin)
13+
* [Create an OCI image](https://docs.spring.io/spring-boot/3.5.3/maven-plugin/build-image.html)
14+
* [Spring Web](https://docs.spring.io/spring-boot/3.5.3/reference/web/servlet.html)
15+
16+
### Guides
17+
The following guides illustrate how to use some features concretely:
18+
19+
* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
20+
* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
21+
* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)
22+
23+
### Maven Parent overrides
24+
25+
Due to Maven's design, elements are inherited from the parent POM to the project POM.
26+
While most of the inheritance is fine, it also inherits unwanted elements like `<license>` and `<developers>` from the parent.
27+
To prevent this, the project POM contains empty overrides for these elements.
28+
If you manually switch to a different parent and actually want the inheritance, you need to remove those overrides.
29+

backend-java/bin/.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

backend-java/bin/.gitignore

Lines changed: 0 additions & 33 deletions
This file was deleted.

backend-java/bin/.mvn/wrapper/maven-wrapper.properties

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)