A scaffold to build a web application. The tech stack includes SpringBoot
, FlyWay
, docker
, Junit5
.
Have big confidence that it the best practise about using SpringBoot to build an RESTFUL repo.
- Java 17
- Docker
auto/start
- Set up the database, use postgresql
- Make sure you have configured the IDEA environment. Configure
application-local.yml
. Edit theActive profile
tolocal
. - Start in IDEA via
BootApplication
.
$ ./auto/test
$ ./gradlew clean check
Use docker to set up the postgresql database.
docker-compose up db -d
curl -v http://localhost:8080
Use git actions to trigger the CI/CD, see Github action
See Troubleshooting
N/A