-
Notifications
You must be signed in to change notification settings - Fork 1
Home
little_pinecone edited this page Mar 1, 2022
·
10 revisions
Welcome to the efficient-mvp-example
wiki!
This project is an example of how you can create an impressive MVP in a short time. Visit keepgrowing.in to learn more about tools and techniques used to create this project.
First, clone this repository.
Then, build it locally with:
mvn clean install
In order to run the application visit Setting up a local environment to learn how to start all required dependencies. Once the dependencies are working, you can run the app in a command line adding all spring profiles you need (at least dev
for the default database connection):
mvn spring-boot:run -Dspring-boot.run.profiles=dev
The project can be built with various different profiles to allow for flexible configuration. Below you'll find a short summary of the available profiles.
-
dev
- for establishing a default database connection, default credentials, etc. -
dbschema
- saves Hibernate DDL schema to theschema.sql
file (added to.gitignore
) -
init
- enables data initialization -
monitoring
- when the applicaiton runs alongside the monitoring services (Grafana, Loki, etc.) -
angular
- used for client code generation. Applied automatically when theangular
Maven profile is enabled.
-
sonar-cloud
- for code analysis on push tomaster
-
code-coverage
- for including code coverage reports from thebackend
module during a sonar analysis -
frontend-pre-sonar
- for including code coverage reports from thefrontend
module during a sonar analysis -
frontend-sonar
- for running only a sonar analysis for thefrontend module
-
angular
- for generating client code
Eficient MVP example
Documentation