You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Open Source Facility Management Software (Backend)
9
9
@@ -12,11 +12,12 @@ It works together with the [`remsfal-frontend`](https://github.com/remsfal/remsf
12
12
You can see a live version at https://remsfal.de.
13
13
14
14
## Prerequisits
15
-
You will need
16
-
- Java 17 or higher
17
-
- Maven 3.8.1 or higher
18
-
- a **mysql** database
19
15
16
+
You will need
17
+
18
+
- Java 17 or higher
19
+
- Maven 3.8.1 or higher
20
+
- a **mysql** database
20
21
21
22
## How to get started
22
23
@@ -27,17 +28,23 @@ docker compose up -d
27
28
```
28
29
29
30
### Configuration
30
-
Furthermore you will need to configurate at least the [database](#database) and [Google Oauth](#google-oauth) to run the application in [application.properties](remsfal-service/src/main/resources/application.properties) or specific them directly as JVM argument.
31
+
32
+
Furthermore you will need to configurate at least the [database](#database) and [Google Oauth](#google-oauth) to run the
33
+
application in [application.properties](remsfal-service/src/main/resources/application.properties) or specific them
34
+
directly as JVM argument.
31
35
32
36
#### database
37
+
33
38
Adjust the configuration for your database, don't use the provided ones in production!
You will also need to provide your own secrets for [Google OAuth](https://developers.google.com/identity/protocols/oauth2?hl=de). As mentioned before you may also use JVM arguments.
56
+
57
+
You will also need to provide your own secrets
58
+
for [Google OAuth](https://developers.google.com/identity/protocols/oauth2?hl=de). As mentioned before you may also use
After execution `remsfal-backend` will be available under [`https://localhost:8080/api`](https://localhost:8080/api).
65
88
66
-
67
89
## Contributing
68
-
When contributing to this repository, please **first** discuss the change you wish to make by creating an issue before making a change.
90
+
91
+
When contributing to this repository, please **first** discuss the change you wish to make by creating an issue before
92
+
making a change.
69
93
70
94
Once you got feedback on your idea feel free to fork the project and open a pull request.
71
95
72
96
Please only make changes in files directly related to your issue.
73
97
74
-
This project uses [Checkstyle](https://github.com/checkstyle/checkstyle) for code formatting. Please ensure your code adheres to the style defined in the [checkstyle.xml](src/main/style/checkstyle.xml).
98
+
This project uses [Checkstyle](https://github.com/checkstyle/checkstyle) for code formatting. Please ensure your code
99
+
adheres to the style defined in the [checkstyle.xml](src/main/style/checkstyle.xml).
75
100
76
101
### CI/CD
77
-
This project utilizes Github Actions to check the code quality using [SonarCloud](https://sonarcloud.io/summary/new_code?id=remsfal_remsfal-backend&branch=main) therefore its mandatory to pass the specified **Quality Gates** before a pull request can be merged.
78
102
103
+
This project utilizes Github Actions to check the code quality
104
+
using [SonarCloud](https://sonarcloud.io/summary/new_code?id=remsfal_remsfal-backend&branch=main) therefore its
105
+
mandatory to pass the specified **Quality Gates** before a pull request can be merged.
79
106
80
107
### Development
81
108
82
109
The project is structured into multiple modules:
83
110
84
111
**remsfal-core**: Contains core business logic and API interfaces.
85
-
**remsfal-service**: Implements the REST API and application services.
86
-
112
+
**remsfal-service**: Implements the REST API and application services.
87
113
88
114
At first you well need to start the db as described in [Prerequisits](#prerequisits).
89
115
90
116
Next run the project using the following command:
117
+
91
118
```sh
92
119
./mvnw clean install
93
120
./mvnw compile quarkus:dev -pl remsfal-service
94
121
```
122
+
95
123
It will automatically recompile when you change something.
96
124
97
125
### Stylecheck
98
126
99
127
To run the stylecheck use the following command:
128
+
100
129
```sh
101
130
./mvnw checkstyle:checkstyle
102
131
```
103
132
104
133
## Copyright
134
+
105
135
All licenses in this repository are copyrighted by their respective authors.
106
-
Everything else is released under Apache 2.0. See [LICENSE](https://github.com/remsfal/remsfal-backend?tab=Apache-2.0-1-ov-file#readme) for details.
136
+
Everything else is released under Apache 2.0.
137
+
See [LICENSE](https://github.com/remsfal/remsfal-backend?tab=Apache-2.0-1-ov-file#readme) for details.
0 commit comments