Skip to content

akshaykhanna/crowdfunding-fullstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crowdfunding

Build the Project

./mvnw clean install

Run the Spring Boot Application

./mvnw spring-boot:run

DB

http://localhost:8080/h2-console

UI

cd frontend

npm run start

Development

When starting the application docker compose up is called and the app will connect to the contained services. Docker must be available on the current system.

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". Create your own application-local.properties file to override settings for development.

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/crowdfunding-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=craft-demo/crowdfunding

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published