npx skills add ...
npx skills add github/awesome-copilot --skill create-spring-boot-kotlin-project
npx skills add github/awesome-copilot --skill create-spring-boot-kotlin-project
Create Spring Boot Kotlin Project Skeleton
Please make sure you have the following software installed on your system:
If you need to custom the project name, please change the artifactId and the packageName in download-spring-boot-project-template
If you need to update the Spring Boot version, please change the bootVersion in download-spring-boot-project-template
springdoc-openapi-starter-webmvc-ui and archunit-junit5 dependency into build.gradle.kts fileapplication.properties fileapplication.properties fileapplication.properties fileapplication.properties fileCreate docker-compose.yaml at project root and add following services: redis:6, postgresql:17 and mongo:8.
rootroot./redis_data to /datarootroot./postgres_data to /var/lib/postgresql/datarootrootroot./mongo_data to /data/dbInsert redis_data, postgres_data and mongo_data directories in .gitignore file
Run gradle clean test command to check if the project is working
docker-compose up -d to start the services, ./gradlew spring-boot:run to run the Spring Boot project, docker-compose rm -sf to stop the services.Let's do this step by step.
unzip starter.zip -d ./${input:projectName:demo-kotlin}unzip starter.zip -d ./${input:projectName:demo-kotlin}rm -f starter.zip