Skip to content

bgu-se-workshop-2025/WS-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,573 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WS-Api

  • Repository owner: Aaron Iziyaev.
  • For questions reach out to me.

Contribution Rules

  1. Every contribution has to be made against an issue.
  2. Always create a branch with the following naming convention <feature/bugfix>/<alias>/<issue-#>/<short-title>.
  3. Commits should be concise (short) and clear.
  4. Create a pull-request with the appropriate template (see discord).
  5. Assign at least one reviewer.

Build

1. Clone the repo:

 git clone https://github.com/bgu-se-workshop-2025/WS-Api.git
 cd ws-api

2. 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 install

4. 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=dev

If 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

Running locally:

Developer environment:

# For dev environment database (Uses H2).
# DO NOT COMMIT THE - application-dev.properties
spring.profiles.active=dev

Production environment:

# For prod environment database, request the appropriate properties file.
# DO NOT COMMIT THE - application-prod.properties
spring.profiles.active=prod

About

Spring web application, the api of the workshop

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages