- Repository owner: Aaron Iziyaev.
- For questions reach out to me.
- Every contribution has to be made against an issue.
- Always create a branch with the following naming convention
<feature/bugfix>/<alias>/<issue-#>/<short-title>. - Commits should be concise (short) and clear.
- Create a pull-request with the appropriate template (see discord).
- Assign at least one reviewer.
1. Clone the repo:
git clone https://github.com/bgu-se-workshop-2025/WS-Api.git
cd ws-api2. Remove the active profile in: resources/application.properties:
# For H2 Database, Local running:
# Before building remove this:
spring.profiles.active=dev
3. Build with maven:
./mvnw clean install4. Run with your desired deployment profile:
java -jar target/ws-api-{Version}.jar --spring.profiles.active=prod
java -jar target/ws-api-{Version}.jar --spring.profiles.active=devIf you want to run app from source:
./mvnw spring-boot:run -Dspring-boot.run.profiles=prod
./mvnw spring-boot:run -Dspring-boot.run.profiles=dev# For dev environment database (Uses H2).
# DO NOT COMMIT THE - application-dev.properties
spring.profiles.active=dev# For prod environment database, request the appropriate properties file.
# DO NOT COMMIT THE - application-prod.properties
spring.profiles.active=prod