Skip to content

starter-kits-usmb/back-java-spring-boot

Repository files navigation

Spring Boot Starter Kit

This is a starter kit for spring boot projects. It includes the following:

  • A README.md file with a description of the project and how to run it
  • Scalable folder structure
  • Authentification with JWT.
  • Auth guard for routes
  • Database setup (any)
  • Swagger documentation available at /api
  • docker compose file for development & production
  • Test setup

Installation

$ mvn install

Running the app

# start the database
$  docker compose -f docker-compose-dev.yml up -d

# start the app in development mode
$ mvn spring-boot:run -Dspring-boot.run.profiles=dev

Deploying the app

#run docker build
docker compose up -d --build

Test

#run test
mvn spring-boot:run-test

About

starter kit with spring boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published