Skip to content

DEveL0perLuckY/SocialMedia_Spring_boot3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# MyApp This app was created with Bootify.io - tips on working with the code [can be found here](https://bootify.io/next-steps/). Feel free to contact us for further questions. ## Development Update your local database connection in `application.properties` or create your own `application-local.properties` file to override settings for development. During development it is recommended to use the profile `local`. In IntelliJ `-Dspring.profiles.active=local` can be added in the VM options of the Run Configuration after enabling this property in "Modify options". Lombok must be supported by your IDE. For IntelliJ install the Lombok plugin and enable annotation processing - [learn more](https://bootify.io/next-steps/spring-boot-with-lombok.html). After starting the application it is accessible under `localhost:8080`. ## Build The application can be built using the following command: ``` mvnw clean package ``` Start your application with the following command - here with the profile `production`: ``` java -Dspring.profiles.active=production -jar ./target/my-app-0.0.1-SNAPSHOT.jar ``` If required, a Docker image can be created with the Spring Boot plugin. Add `SPRING_PROFILES_ACTIVE=production` as environment variable when running the container. ``` mvnw spring-boot:build-image -Dspring-boot.build-image.imageName=com.insta/my-app ``` ## Further readings * [Maven docs](https://maven.apache.org/guides/index.html) * [Spring Boot reference](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/) * [Spring Data MongoDB reference](https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/) * [Thymeleaf docs](https://www.thymeleaf.org/documentation.html) * [Bootstrap docs](https://getbootstrap.com/docs/5.3/getting-started/introduction/) * [Learn Spring Boot with Thymeleaf](https://www.wimdeblauwe.com/books/taming-thymeleaf/) # SocialMedia_Spring_boot3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published