├── .gitignore ├── FrontBackEndFormat.xml ├── LICENSE ├── README.md ├── frontbackend_formatter.xml ├── java ├── README.md ├── cryptography │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── java │ │ └── cryptography │ │ └── rsa │ │ └── WorkingWithRSA.java ├── datetime │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── datetime │ │ └── DateTimeFormatterTest.java ├── java-convertions │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── frontbackend │ │ │ └── java │ │ │ ├── ConvertIntArrayToIntStream.java │ │ │ ├── ConvertIterableToCollection.java │ │ │ ├── ConvertIterableToCollectionUsingGuava.java │ │ │ ├── ConvertIterableToCollectionUsingIterableUtils.java │ │ │ ├── ConvertListToStream.java │ │ │ ├── ConvertStreamToList.java │ │ │ ├── ConvertStringToIntUsingGuava.java │ │ │ ├── ConvertStringToIntUsingParseInt.java │ │ │ ├── ConvertStringToIntUsingValueOf.java │ │ │ ├── EnumerationToStreamUsingIteratorUtils.java │ │ │ ├── EnumerationToStreamUsingIterators.java │ │ │ └── EnumerationToStreamUsingSpliterator.java │ │ └── test │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── java │ │ └── StringToIntConversionTest.java ├── java-io-resources │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── java │ │ │ └── io │ │ │ └── resources │ │ │ ├── ReadResourcesUsingGetResource.java │ │ │ └── ReadResourcesUsingGetResourceAsStream.java │ │ └── resources │ │ └── example.txt ├── java-io-working-directory │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── java │ │ └── io │ │ └── working │ │ └── dir │ │ └── WorkingDirectory.java ├── java-io │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── java │ │ └── io │ │ ├── append │ │ ├── AppendToFileUsingBufferedWriter.java │ │ ├── AppendToFileUsingFileOutputStream.java │ │ ├── AppendToFileUsingFiles.java │ │ └── AppendToFileUsingPrintWriter.java │ │ ├── attributes │ │ ├── CreationDateUsingFilesGetAttrs.java │ │ ├── CreationDateUsingFilesReadAttrs.java │ │ └── ModifiedDateUsingFile.java │ │ ├── conversions │ │ ├── frombytearray │ │ │ └── tofile │ │ │ │ ├── ByteArrayToFileUsingFileOutputStream.java │ │ │ │ ├── ByteArrayToFileUsingFileUtils.java │ │ │ │ ├── ByteArrayToFileUsingFiles.java │ │ │ │ └── ByteArrayToFileUsingGuava.java │ │ ├── frominputstream │ │ │ ├── tobytearray │ │ │ │ ├── InputStreamToByteArrayUsingByteArrayInputStream.java │ │ │ │ ├── InputStreamToByteArrayUsingByteArrayOutputStream.java │ │ │ │ ├── InputStreamToByteArrayUsingGuava.java │ │ │ │ └── InputStreamToByteArrayUsingIOUtils.java │ │ │ ├── tobytebuffer │ │ │ │ ├── InputStreamToByteBufferUsingByteArrayInputStream.java │ │ │ │ ├── InputStreamToByteBufferUsingIOUtils.java │ │ │ │ └── InputStreamtoByteBufferUsingGuava.java │ │ │ ├── tofile │ │ │ │ ├── InputStreamToFileUsingFileOutputStream.java │ │ │ │ ├── InputStreamToFileUsingFileUtils.java │ │ │ │ ├── InputStreamToFileUsingFiles.java │ │ │ │ └── InputStreamToFileUsingGuava.java │ │ │ ├── tooutputstream │ │ │ │ ├── InputStreamToOutputStreamUsingGuava.java │ │ │ │ ├── InputStreamToOutputStreamUsingIOUtils.java │ │ │ │ ├── InputStreamToOutputStreamUsingTransferTo.java │ │ │ │ └── InputStreamToOutputStreamUsingWrite.java │ │ │ ├── toreader │ │ │ │ ├── InputStreamToReaderUsingGuava.java │ │ │ │ ├── InputStreamToReaderUsingIOUtils.java │ │ │ │ └── InputStreamToReaderUsingInputStreamReader.java │ │ │ └── tostring │ │ │ │ ├── InputStreamToStringUsingBufferedReader.java │ │ │ │ ├── InputStreamToStringUsingByteArrayOutputStream.java │ │ │ │ ├── InputStreamToStringUsingFiles.java │ │ │ │ ├── InputStreamToStringUsingGuavaByteSource.java │ │ │ │ ├── InputStreamToStringUsingGuavaCharStreams.java │ │ │ │ ├── InputStreamToStringUsingIOUtilsCopy.java │ │ │ │ ├── InputStreamToStringUsingIOUtilsToString.java │ │ │ │ └── InputStreamToStringUsingScanner.java │ │ ├── fromreader │ │ │ ├── tobytearray │ │ │ │ ├── ReaderToByteArrayInPlainJava.java │ │ │ │ ├── ReaderToByteArrayUsingGuava.java │ │ │ │ └── ReaderToByteArrayUsingIOUtils.java │ │ │ ├── tofile │ │ │ │ ├── ReaderToFileInPlainJava.java │ │ │ │ ├── ReaderToFileUsingFileUtils.java │ │ │ │ └── ReaderToFileUsingGuava.java │ │ │ ├── toinputstream │ │ │ │ ├── ReaderToInputStreamInPlainJava.java │ │ │ │ ├── ReaderToInputStreamUsingGuava.java │ │ │ │ └── ReaderToInputStreamUsingIOUtils.java │ │ │ └── tostring │ │ │ │ ├── ReaderToStringUsingBufferedReader.java │ │ │ │ ├── ReaderToStringUsingGuava.java │ │ │ │ ├── ReaderToStringUsingIOUtils.java │ │ │ │ ├── ReaderToStringUsingReadingCharacters.java │ │ │ │ └── ReaderToStringUsingStringBuilder.java │ │ ├── toinputstream │ │ │ ├── frombytearray │ │ │ │ ├── ByteArrayToInputStreamUsingByteArrayInputStream.java │ │ │ │ ├── ByteArrayToInputStreamUsingGuava.java │ │ │ │ └── ByteArrayToInputStreamUsingIOUtils.java │ │ │ ├── fromfile │ │ │ │ ├── FileToInputStreamUsingDataInputStream.java │ │ │ │ ├── FileToInputStreamUsingFileInputStream.java │ │ │ │ ├── FileToInputStreamUsingFileUtils.java │ │ │ │ └── FileToInputStreamUsingGuava.java │ │ │ ├── fromreader │ │ │ │ ├── ReaderToInputStreamUsingGuava.java │ │ │ │ ├── ReaderToInputStreamUsingPlainJava.java │ │ │ │ └── ReaderToInputStreamUsingReaderInputStream.java │ │ │ └── fromstring │ │ │ │ ├── StringToInputStreamUsingByteArrayInputStream.java │ │ │ │ ├── StringToInputStreamUsingGuava.java │ │ │ │ └── StringToInputStreamUsingIOUtils.java │ │ └── toreader │ │ │ ├── frombytearray │ │ │ ├── ByteArrayToReaderUsingApacheCommonsIO.java │ │ │ ├── ByteArrayToReaderUsingGuava.java │ │ │ ├── ByteArrayToReaderUsingInputStreamReader.java │ │ │ └── ByteArrayToReaderUsingStringReader.java │ │ │ ├── fromfile │ │ │ ├── FileToReaderUsingFileReader.java │ │ │ ├── FileToReaderUsingFileUtils.java │ │ │ └── FileToReaderUsingGuava.java │ │ │ └── fromstring │ │ │ ├── StringToReaderUsingApacheCommonsIO.java │ │ │ ├── StringToReaderUsingGuava.java │ │ │ └── StringToReaderUsingPlainJava.java │ │ ├── copy │ │ ├── CopyDirectoryUsingFileUtils.java │ │ ├── CopyDirectoryUsingRecursion.java │ │ ├── CopyDirectoryUsingWalk.java │ │ ├── CopyFileUsingCommonIO.java │ │ ├── CopyFileUsingFileChannel.java │ │ ├── CopyFileUsingFileStreams.java │ │ ├── CopyFileUsingFilesCopy.java │ │ └── CopyFileUsingGuava.java │ │ ├── create │ │ ├── CreateFileUsingCommonsIO.java │ │ ├── CreateFileUsingFile.java │ │ ├── CreateFileUsingFileOutputStream.java │ │ ├── CreateFileUsingFilesFromJavaNIO.java │ │ └── CreateFileUsingGuava.java │ │ ├── csv │ │ ├── ReadCSVUsingBufferedReader.java │ │ ├── ReadCSVUsingFiles.java │ │ ├── ReadCSVUsingOpenCSV.java │ │ ├── ReadCSVUsingScanner.java │ │ ├── model │ │ │ ├── CSVColumn.java │ │ │ ├── CSVField.java │ │ │ └── User.java │ │ └── parser │ │ │ ├── CSVAbstractParser.java │ │ │ ├── CSVUserParser.java │ │ │ └── ReadCSVIntoModel.java │ │ ├── exists │ │ ├── CheckIfFileExistsUsingFileExistsMethod.java │ │ └── CheckIfFileExistsUsingFilesExistsMethod.java │ │ ├── extension │ │ ├── GetFileExtensionUsingFilenameUtils.java │ │ ├── GetFileExtensionUsingFiles.java │ │ └── GetFileExtensionUsingFilter.java │ │ ├── list │ │ ├── ListFilesInAlphabeticalOrder.java │ │ ├── ListFilesUsingDirectoryStream.java │ │ ├── ListFilesUsingFile.java │ │ ├── ListFilesUsingFiles.java │ │ └── ListFilesUsingVisitor.java │ │ ├── move │ │ ├── RenameFileUsingApacheCommonsIO.java │ │ ├── RenameFileUsingFileObject.java │ │ ├── RenameFileUsingFilesObject.java │ │ └── RenameFileUsingGuava.java │ │ ├── path │ │ ├── ConvertFileToPath.java │ │ └── ConvertFileToPathUsingPaths.java │ │ ├── read │ │ ├── ReadFileUsingBufferedReader.java │ │ ├── ReadFileUsingDataInputStream.java │ │ ├── ReadFileUsingFileReader.java │ │ ├── ReadFileUsingFiles.java │ │ ├── ReadFileUsingGuava.java │ │ ├── ReadFileUsingIOUtils.java │ │ └── ReadFileUsingScanner.java │ │ ├── readonly │ │ ├── SetReadOnlyUsingNativeCommandLinux.java │ │ ├── SetReadOnlyUsingNativeCommandWindows.java │ │ ├── SetReadOnlyUsingSetReadOnlyMethod.java │ │ └── SetReadOnlyUsingSetWritableMethod.java │ │ ├── remove │ │ ├── RemoveDirectoryRecursively.java │ │ ├── RemoveDirectoryUsingFileUtils.java │ │ ├── RemoveDirectoryUsingFilesWalk.java │ │ ├── RemoveFileUsingFileObject.java │ │ ├── RemoveFileUsingFileUtils.java │ │ └── RemoveFileUsingFilesObject.java │ │ ├── separator │ │ ├── FilePathSeparatorFromSystemProperty.java │ │ ├── FilePathSeparatorUsingJavaIOAPI.java │ │ └── FilePathSeparatorUsingJavaNIO.java │ │ ├── trywithresources │ │ ├── CustomAutoCloseable.java │ │ ├── MyCustomAutoCloseableResource.java │ │ ├── MyCustomCloseableResource.java │ │ ├── ReadFileBeforeJava7.java │ │ └── ReadFileUsingTryWithResources.java │ │ ├── url │ │ ├── ReadURLUsingApacheCommonsIO.java │ │ ├── ReadURLUsingBufferedReader.java │ │ ├── ReadURLUsingGuava.java │ │ ├── ReadURLUsingInputStream.java │ │ └── ReadURLUsingScanner.java │ │ └── write │ │ ├── WriteToFileUsingBufferedWriter.java │ │ ├── WriteToFileUsingDataOutputStream.java │ │ ├── WriteToFileUsingFileChannel.java │ │ ├── WriteToFileUsingFileOutputStream.java │ │ ├── WriteToFileUsingFileWriter.java │ │ └── WriteToFileUsingPrintWriter.java ├── java-util │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── java │ │ └── util │ │ ├── EnumerationUtils.java │ │ └── ReadClassesFromJarFile.java └── pom.xml ├── libraries ├── .gitignore ├── README.md ├── apache-poi │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── libraries │ │ │ └── apachepoi │ │ │ ├── MainParseXLSXUsingAnnotations.java │ │ │ ├── model │ │ │ └── Post.java │ │ │ └── parser │ │ │ ├── XLSXField.java │ │ │ ├── XLSXHeader.java │ │ │ └── XLSXParser.java │ │ └── resources │ │ └── posts.xlsx ├── failsafe │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── frontbackend │ │ │ └── libraries │ │ │ └── failsafe │ │ │ └── DatabaseConnection.java │ │ └── test │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── libraries │ │ └── failsafe │ │ ├── CircuitBreakerTest.java │ │ ├── FallbackPolicyTest.java │ │ ├── RetryPolicyTest.java │ │ └── TimeoutPolicyTest.java ├── lombok │ ├── .gitignore │ └── pom.xml ├── mockito-static-v4 │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── frontbackend │ │ │ └── libraries │ │ │ └── mockito │ │ │ └── version4 │ │ │ └── WelcomeUtil.java │ │ └── test │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── libraries │ │ └── mockit │ │ └── version4 │ │ └── MockitoStaticMethodTest.java ├── mockito-static │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── frontbackend │ │ │ └── libraries │ │ │ └── mockito │ │ │ ├── FinalWelcomeUtil.java │ │ │ └── WelcomeUtil.java │ │ └── test │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── libraries │ │ └── mockito │ │ ├── MockitoFinalMethodTest.java │ │ └── MockitoStaticMethodTest.java ├── mockito │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── frontbackend │ │ │ └── libraries │ │ │ └── mockito │ │ │ ├── db │ │ │ └── DBConnection.java │ │ │ ├── model │ │ │ ├── Basket.java │ │ │ ├── BasketEntry.java │ │ │ ├── Car.java │ │ │ ├── Driver.java │ │ │ ├── Post.java │ │ │ └── Product.java │ │ │ ├── resources │ │ │ └── PostResource.java │ │ │ └── service │ │ │ ├── BasketService.java │ │ │ ├── ComplexBusinessLogicService.java │ │ │ ├── FooService.java │ │ │ ├── ListProcessor.java │ │ │ ├── ProcessingService.java │ │ │ ├── SimpleMailService.java │ │ │ ├── SimpleMultiplicationService.java │ │ │ ├── SimpleSummingService.java │ │ │ └── ThrowingService.java │ │ └── test │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── libraries │ │ └── mockito │ │ ├── MockitoAnswerTest.java │ │ ├── MockitoCaptorAllValues.java │ │ ├── MockitoCaptorTest.java │ │ ├── MockitoCarDriverTest.java │ │ ├── MockitoDifferentResponsesTest.java │ │ ├── MockitoInOrderTest.java │ │ ├── MockitoInjectMocksTest.java │ │ ├── MockitoMockClassWithGenericParamUsingAnnotationTest.java │ │ ├── MockitoMockClassWithGenericParamUsingCastingTest.java │ │ ├── MockitoMockMethodTest.java │ │ ├── MockitoMockTest.java │ │ ├── MockitoMultipleCallsTest.java │ │ ├── MockitoProcessingServiceTest.java │ │ ├── MockitoSpyCallsOriginalMethodTest.java │ │ ├── MockitoSpyTest.java │ │ ├── MockitoThrowsTest.java │ │ ├── MockitoVerifyTest.java │ │ ├── MockitoVoidMethodStubbingTest.java │ │ ├── MockitoWhenThenVsThenAnswerTest.java │ │ └── service │ │ ├── BasketServiceTest.java │ │ └── ComplexBusinessLogicServiceTest.java ├── pom.xml └── powermock │ ├── .gitignore │ ├── pom.xml │ └── src │ ├── main │ └── java │ │ └── com │ │ └── frontbackend │ │ └── libraries │ │ └── powermock │ │ └── utils │ │ └── WelcomeUtil.java │ └── test │ └── java │ └── com │ └── frontbackend │ └── libraries │ └── powermock │ └── PowermockStaticMethodTest.java ├── spring-boot ├── .idea │ ├── .name │ ├── compiler.xml │ ├── misc.xml │ └── workspace.xml ├── README.md ├── angular11-spring-boot2-download-file │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ └── files │ │ │ │ │ │ ├── files.component.html │ │ │ │ │ │ └── files.component.ts │ │ │ │ ├── model │ │ │ │ │ └── file-data.ts │ │ │ │ └── services │ │ │ │ │ └── download.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── FileController.java │ │ │ ├── model │ │ │ └── FileData.java │ │ │ └── service │ │ │ └── FileService.java │ │ └── resources │ │ └── application.properties ├── angular11-spring-boot2-download-pdf-excel-csv │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ └── files │ │ │ │ │ │ ├── files.component.html │ │ │ │ │ │ └── files.component.ts │ │ │ │ └── services │ │ │ │ │ └── download.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── FileController.java │ │ │ └── service │ │ │ └── FileService.java │ │ └── resources │ │ └── application.properties ├── angular11-spring-boot2-mongodb-datatable │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ ├── employee-delete │ │ │ │ │ │ ├── employee-delete.component.html │ │ │ │ │ │ └── employee-delete.component.ts │ │ │ │ │ ├── employee-form │ │ │ │ │ │ ├── employee-form.component.html │ │ │ │ │ │ └── employee-form.component.ts │ │ │ │ │ └── employees │ │ │ │ │ │ ├── employees.component.html │ │ │ │ │ │ └── employees.component.ts │ │ │ │ ├── model │ │ │ │ │ ├── employee.model.ts │ │ │ │ │ └── position.model.ts │ │ │ │ ├── services │ │ │ │ │ ├── employees.service.ts │ │ │ │ │ └── validation.service.ts │ │ │ │ └── shared │ │ │ │ │ ├── control-messages │ │ │ │ │ └── control.messages.ts │ │ │ │ │ └── interceptor │ │ │ │ │ └── date.interceptor.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── EmployeesController.java │ │ │ ├── model │ │ │ ├── Employee.java │ │ │ └── Position.java │ │ │ ├── repository │ │ │ └── EmployeeRepository.java │ │ │ └── service │ │ │ └── EmployeeService.java │ │ └── resources │ │ └── application.properties ├── angular11-spring-boot2-mysql │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.css │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ ├── post-form │ │ │ │ │ │ ├── post-form.component.html │ │ │ │ │ │ └── post-form.component.ts │ │ │ │ │ └── post-list │ │ │ │ │ │ ├── post-list.component.ts │ │ │ │ │ │ └── post-list.components.html │ │ │ │ ├── model │ │ │ │ │ └── post.model.ts │ │ │ │ └── services │ │ │ │ │ └── post.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── PostsController.java │ │ │ ├── model │ │ │ ├── Post.java │ │ │ └── PostRequest.java │ │ │ ├── repository │ │ │ └── PostRepository.java │ │ │ └── service │ │ │ └── PostService.java │ │ └── resources │ │ └── application.properties ├── angular11-spring-boot2-pdf-viewer │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.css │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ └── app.module.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ └── controller │ │ │ └── PDFController.java │ │ └── resources │ │ └── application.properties ├── angular11-spring-boot2-postgresql │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.css │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ ├── post-form │ │ │ │ │ │ ├── post-form.component.html │ │ │ │ │ │ └── post-form.component.ts │ │ │ │ │ └── post-list │ │ │ │ │ │ ├── post-list.component.ts │ │ │ │ │ │ └── post-list.components.html │ │ │ │ ├── model │ │ │ │ │ └── post.model.ts │ │ │ │ └── services │ │ │ │ │ └── post.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── PostsController.java │ │ │ ├── model │ │ │ ├── Post.java │ │ │ └── PostRequest.java │ │ │ ├── repository │ │ │ └── PostRepository.java │ │ │ └── service │ │ │ └── PostService.java │ │ └── resources │ │ └── application.properties ├── angular11-spring-boot2-upload-file-with-progress │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ └── upload-file │ │ │ │ │ │ ├── upload-file.component.html │ │ │ │ │ │ └── upload-file.component.ts │ │ │ │ └── services │ │ │ │ │ └── upload-file.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── FilesController.java │ │ │ ├── exceptions │ │ │ ├── FileUploadException.java │ │ │ └── RestExceptionHandler.java │ │ │ ├── model │ │ │ └── UploadResponseMessage.java │ │ │ └── service │ │ │ └── FileService.java │ │ └── resources │ │ └── application.properties ├── angular11-spring-boot2-upload-file │ ├── .gitignore │ ├── frontend │ │ └── angular │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ └── upload-file │ │ │ │ │ │ ├── upload-file.component.html │ │ │ │ │ │ └── upload-file.component.ts │ │ │ │ └── services │ │ │ │ │ └── upload-file.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ └── styles.css │ │ │ ├── tsconfig.app.json │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── FilesController.java │ │ │ ├── exceptions │ │ │ ├── FileUploadException.java │ │ │ └── RestExceptionHandler.java │ │ │ ├── model │ │ │ └── UploadResponseMessage.java │ │ │ └── service │ │ │ └── FileService.java │ │ └── resources │ │ └── application.properties ├── build-war │ ├── .gitignore │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── springboot │ │ ├── Application.java │ │ └── controller │ │ └── HomeController.java ├── custom-banner │ ├── .gitignore │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ └── Application.java │ │ └── resources │ │ └── banner.txt ├── getting-started-with-mongodb │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── frontbackend │ │ │ │ └── springboot │ │ │ │ ├── Application.java │ │ │ │ ├── model │ │ │ │ └── Snippet.java │ │ │ │ └── repository │ │ │ │ └── SnippetRepository.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ └── repository │ │ │ └── SnippetRepositoryTest.java │ │ └── resources │ │ └── application.properties ├── getting-started-with-redis │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── frontbackend │ │ │ │ └── springboot │ │ │ │ ├── Application.java │ │ │ │ ├── config │ │ │ │ └── RedisConfiguration.java │ │ │ │ ├── model │ │ │ │ └── UserSession.java │ │ │ │ └── repository │ │ │ │ └── UserSessionRepository.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── springboot │ │ └── repository │ │ └── UserSessionRepositoryTest.java ├── getting-started │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── springboot │ │ └── GettingStartedApplication.java ├── hello-world │ ├── .gitignore │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── springboot │ │ └── Application.java ├── pom.xml ├── react-drag-and-drop-taskboard-spring-boot2-postgresql │ ├── .gitignore │ ├── frontend │ │ └── drag-and-drop-taskboard │ │ │ ├── .eslintrc.js │ │ │ ├── .gitignore │ │ │ ├── .husky │ │ │ ├── .gitignore │ │ │ └── pre-commit │ │ │ ├── .prettierrc │ │ │ ├── README.md │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── public │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── logo192.png │ │ │ ├── logo512.png │ │ │ ├── manifest.json │ │ │ └── robots.txt │ │ │ ├── screenshots │ │ │ └── example.jpg │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── App.test.tsx │ │ │ │ └── App.tsx │ │ │ ├── index.tsx │ │ │ ├── react-app-env.d.ts │ │ │ ├── reportWebVitals.ts │ │ │ ├── setupTests.ts │ │ │ ├── shared │ │ │ │ ├── BaseTooltip.tsx │ │ │ │ ├── SharedHooks.ts │ │ │ │ └── SharedUtils.ts │ │ │ └── taskboard │ │ │ │ ├── TaskService.ts │ │ │ │ ├── Taskboard.tsx │ │ │ │ ├── TaskboardCol.tsx │ │ │ │ ├── TaskboardItemCard.tsx │ │ │ │ ├── TaskboardItemFormModal.tsx │ │ │ │ └── TaskboardTypes.ts │ │ │ └── tsconfig.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── TaskController.java │ │ │ ├── exception │ │ │ └── TaskNotFoundException.java │ │ │ ├── model │ │ │ ├── Status.java │ │ │ ├── Task.java │ │ │ └── TaskRequest.java │ │ │ ├── repository │ │ │ └── TaskRepository.java │ │ │ └── service │ │ │ └── TaskService.java │ │ └── resources │ │ └── application.properties ├── read-resources │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ └── Application.java │ │ └── resources │ │ └── example.txt ├── spring-boot-for-testing-curl │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ └── curl │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── CurlController.java │ │ │ └── model │ │ │ ├── Address.java │ │ │ └── Customer.java │ │ └── resources │ │ └── application.properties ├── spring-boot-postgresql-angular-ng-zorro-mention │ ├── .gitignore │ ├── frontend │ │ └── mention │ │ │ ├── .browserslistrc │ │ │ ├── .editorconfig │ │ │ ├── .gitignore │ │ │ ├── .vscode │ │ │ ├── extensions.json │ │ │ ├── launch.json │ │ │ └── tasks.json │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── karma.conf.js │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.scss │ │ │ │ ├── app.component.spec.ts │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── user-http.service.spec.ts │ │ │ │ └── user-http.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ ├── styles.scss │ │ │ └── test.ts │ │ │ ├── tsconfig.app.json │ │ │ ├── tsconfig.json │ │ │ └── tsconfig.spec.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── SpringBootAngularNgZorroMention.java │ │ │ ├── config │ │ │ └── CorsFilter.java │ │ │ └── users │ │ │ ├── SaveTopUsersRequest.java │ │ │ ├── UserController.java │ │ │ ├── UserEntity.java │ │ │ ├── UserRepository.java │ │ │ └── UserService.java │ │ └── resources │ │ ├── application.properties │ │ └── insert.sql ├── spring-boot-postgresql-angular-ng-zorro-table │ ├── .gitignore │ ├── frontend │ │ └── table │ │ │ ├── .browserslistrc │ │ │ ├── .editorconfig │ │ │ ├── .gitignore │ │ │ ├── .vscode │ │ │ ├── extensions.json │ │ │ ├── launch.json │ │ │ └── tasks.json │ │ │ ├── README.md │ │ │ ├── angular.json │ │ │ ├── karma.conf.js │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── app │ │ │ │ ├── app-routing.module.ts │ │ │ │ ├── app.component.html │ │ │ │ ├── app.component.scss │ │ │ │ ├── app.component.spec.ts │ │ │ │ ├── app.component.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── components │ │ │ │ │ └── person-form-modal │ │ │ │ │ │ ├── person-form-modal.component.html │ │ │ │ │ │ ├── person-form-modal.component.scss │ │ │ │ │ │ └── person-form-modal.component.ts │ │ │ │ ├── icons-provider.module.ts │ │ │ │ ├── model │ │ │ │ │ ├── page.info.ts │ │ │ │ │ ├── page.response.ts │ │ │ │ │ ├── person.filter.ts │ │ │ │ │ ├── person.page.request.ts │ │ │ │ │ ├── person.ts │ │ │ │ │ ├── sort.order.ts │ │ │ │ │ └── sorting.ts │ │ │ │ ├── pages │ │ │ │ │ ├── table │ │ │ │ │ │ ├── table-routing.module.ts │ │ │ │ │ │ ├── table.component.html │ │ │ │ │ │ ├── table.component.scss │ │ │ │ │ │ ├── table.component.spec.ts │ │ │ │ │ │ ├── table.component.ts │ │ │ │ │ │ └── table.module.ts │ │ │ │ │ └── welcome │ │ │ │ │ │ ├── welcome-routing.module.ts │ │ │ │ │ │ ├── welcome.component.html │ │ │ │ │ │ ├── welcome.component.scss │ │ │ │ │ │ ├── welcome.component.ts │ │ │ │ │ │ └── welcome.module.ts │ │ │ │ └── service │ │ │ │ │ └── person.http.service.ts │ │ │ ├── assets │ │ │ │ └── .gitkeep │ │ │ ├── environments │ │ │ │ ├── environment.prod.ts │ │ │ │ └── environment.ts │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ ├── main.ts │ │ │ ├── polyfills.ts │ │ │ ├── styles.scss │ │ │ └── test.ts │ │ │ ├── tsconfig.app.json │ │ │ ├── tsconfig.json │ │ │ └── tsconfig.spec.json │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── SpringBootAngularNgZorroTable.java │ │ │ └── person │ │ │ ├── config │ │ │ └── CorsFilter.java │ │ │ ├── controller │ │ │ ├── PersonController.java │ │ │ └── model │ │ │ │ ├── paging │ │ │ │ ├── PageInfo.java │ │ │ │ ├── SortOrder.java │ │ │ │ └── Sorting.java │ │ │ │ └── request │ │ │ │ ├── CreatePersonRequest.java │ │ │ │ ├── EditPersonRequest.java │ │ │ │ └── PersonFilterRequest.java │ │ │ ├── dto │ │ │ ├── PageDto.java │ │ │ ├── PersonDto.java │ │ │ └── PersonFilter.java │ │ │ ├── exception │ │ │ └── PersonNotFoundException.java │ │ │ ├── jpa │ │ │ ├── model │ │ │ │ └── PersonEntity.java │ │ │ ├── repository │ │ │ │ └── PersonRepository.java │ │ │ └── utils │ │ │ │ ├── JpaSpecifications.java │ │ │ │ └── PageInfoMapper.java │ │ │ └── service │ │ │ └── PersonService.java │ │ └── resources │ │ ├── application.properties │ │ └── db-scripts │ │ ├── PERSON-1.0.0.xml │ │ └── db-changelog-master.xml ├── spring-boot2-junit5-mockito │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── HelloController.java │ │ │ └── service │ │ │ └── HelloService.java │ │ └── test │ │ └── java │ │ └── com │ │ └── frontbackend │ │ └── springboot │ │ └── controller │ │ ├── HelloControllerMockMvcTest.java │ │ ├── HelloControllerMockitoTest.java │ │ └── HelloControllerRestTemplTest.java ├── upload-file-into-filesystem │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── FilesController.java │ │ │ ├── exceptions │ │ │ └── RestExceptionHandler.java │ │ │ ├── model │ │ │ ├── FileData.java │ │ │ └── UploadResponseMessage.java │ │ │ └── service │ │ │ └── FileService.java │ │ └── resources │ │ └── application.properties ├── upload-file-to-postgresql │ ├── .gitignore │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── springboot │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── FilesController.java │ │ │ ├── exceptions │ │ │ └── RestExceptionHandler.java │ │ │ ├── model │ │ │ ├── FileEntity.java │ │ │ └── FileResponse.java │ │ │ ├── repository │ │ │ └── FileRepository.java │ │ │ └── service │ │ │ └── FileService.java │ │ └── resources │ │ └── application.properties └── upload-file-to-redis │ ├── .gitignore │ ├── pom.xml │ └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── springboot │ │ ├── Application.java │ │ ├── config │ │ └── RedisConfiguration.java │ │ ├── controller │ │ └── FilesController.java │ │ ├── model │ │ ├── FileEntity.java │ │ └── UserSession.java │ │ ├── repository │ │ ├── FileRepository.java │ │ └── UserSessionRepository.java │ │ └── service │ │ └── FileService.java │ └── resources │ └── application.properties └── thymeleaf ├── README.md ├── first-thymeleaf-application ├── .gitignore ├── README.md ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ └── controller │ │ └── IndexController.java │ └── resources │ └── templates │ └── index.html ├── pom.xml ├── thymeleaf-bootstrap-autocomplete-input ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ ├── IndexController.java │ │ └── StatesRestController.java │ │ └── model │ │ ├── Birthplace.java │ │ ├── State.java │ │ └── StateItem.java │ └── resources │ ├── static │ └── assets │ │ ├── select2-bootstrap4-theme-master │ │ └── dist │ │ │ ├── select2-bootstrap4.css │ │ │ └── select2-bootstrap4.min.css │ │ └── select2-develop │ │ └── dist │ │ ├── css │ │ ├── select2.css │ │ └── select2.min.css │ │ └── js │ │ ├── i18n │ │ ├── af.js │ │ ├── ar.js │ │ ├── az.js │ │ ├── bg.js │ │ ├── bn.js │ │ ├── bs.js │ │ ├── ca.js │ │ ├── cs.js │ │ ├── da.js │ │ ├── de.js │ │ ├── dsb.js │ │ ├── el.js │ │ ├── en.js │ │ ├── es.js │ │ ├── et.js │ │ ├── eu.js │ │ ├── fa.js │ │ ├── fi.js │ │ ├── fr.js │ │ ├── gl.js │ │ ├── he.js │ │ ├── hi.js │ │ ├── hr.js │ │ ├── hsb.js │ │ ├── hu.js │ │ ├── hy.js │ │ ├── id.js │ │ ├── is.js │ │ ├── it.js │ │ ├── ja.js │ │ ├── ka.js │ │ ├── km.js │ │ ├── ko.js │ │ ├── lt.js │ │ ├── lv.js │ │ ├── mk.js │ │ ├── ms.js │ │ ├── nb.js │ │ ├── ne.js │ │ ├── nl.js │ │ ├── pl.js │ │ ├── ps.js │ │ ├── pt-BR.js │ │ ├── pt.js │ │ ├── ro.js │ │ ├── ru.js │ │ ├── sk.js │ │ ├── sl.js │ │ ├── sq.js │ │ ├── sr-Cyrl.js │ │ ├── sr.js │ │ ├── sv.js │ │ ├── th.js │ │ ├── tk.js │ │ ├── tr.js │ │ ├── uk.js │ │ ├── vi.js │ │ ├── zh-CN.js │ │ └── zh-TW.js │ │ ├── select2.full.js │ │ ├── select2.full.min.js │ │ ├── select2.js │ │ └── select2.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-checkbox-tree ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ ├── model │ │ └── BooleanNode.java │ │ └── service │ │ └── BooleanNodeService.java │ └── resources │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-code-editor ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ ├── model │ │ ├── ModeInfo.java │ │ └── Snippet.java │ │ └── util │ │ └── MimeToLang.java │ └── resources │ ├── mime.json │ ├── static │ └── assets │ │ ├── codemirror │ │ ├── addon │ │ │ ├── comment │ │ │ │ ├── comment.js │ │ │ │ └── continuecomment.js │ │ │ ├── dialog │ │ │ │ ├── dialog.css │ │ │ │ └── dialog.js │ │ │ ├── display │ │ │ │ ├── autorefresh.js │ │ │ │ ├── fullscreen.css │ │ │ │ ├── fullscreen.js │ │ │ │ ├── panel.js │ │ │ │ ├── placeholder.js │ │ │ │ └── rulers.js │ │ │ ├── edit │ │ │ │ ├── closebrackets.js │ │ │ │ ├── closetag.js │ │ │ │ ├── continuelist.js │ │ │ │ ├── matchbrackets.js │ │ │ │ ├── matchtags.js │ │ │ │ └── trailingspace.js │ │ │ ├── fold │ │ │ │ ├── brace-fold.js │ │ │ │ ├── comment-fold.js │ │ │ │ ├── foldcode.js │ │ │ │ ├── foldgutter.css │ │ │ │ ├── foldgutter.js │ │ │ │ ├── indent-fold.js │ │ │ │ ├── markdown-fold.js │ │ │ │ └── xml-fold.js │ │ │ ├── hint │ │ │ │ ├── anyword-hint.js │ │ │ │ ├── css-hint.js │ │ │ │ ├── html-hint.js │ │ │ │ ├── javascript-hint.js │ │ │ │ ├── show-hint.css │ │ │ │ ├── show-hint.js │ │ │ │ ├── sql-hint.js │ │ │ │ └── xml-hint.js │ │ │ ├── lint │ │ │ │ ├── coffeescript-lint.js │ │ │ │ ├── css-lint.js │ │ │ │ ├── html-lint.js │ │ │ │ ├── javascript-lint.js │ │ │ │ ├── json-lint.js │ │ │ │ ├── lint.css │ │ │ │ ├── lint.js │ │ │ │ └── yaml-lint.js │ │ │ ├── merge │ │ │ │ ├── merge.css │ │ │ │ └── merge.js │ │ │ ├── mode │ │ │ │ ├── loadmode.js │ │ │ │ ├── multiplex.js │ │ │ │ ├── multiplex_test.js │ │ │ │ ├── overlay.js │ │ │ │ └── simple.js │ │ │ ├── runmode │ │ │ │ ├── colorize.js │ │ │ │ ├── runmode-standalone.js │ │ │ │ ├── runmode.js │ │ │ │ └── runmode.node.js │ │ │ ├── scroll │ │ │ │ ├── annotatescrollbar.js │ │ │ │ ├── scrollpastend.js │ │ │ │ ├── simplescrollbars.css │ │ │ │ └── simplescrollbars.js │ │ │ ├── search │ │ │ │ ├── jump-to-line.js │ │ │ │ ├── match-highlighter.js │ │ │ │ ├── matchesonscrollbar.css │ │ │ │ ├── matchesonscrollbar.js │ │ │ │ ├── search.js │ │ │ │ └── searchcursor.js │ │ │ ├── selection │ │ │ │ ├── active-line.js │ │ │ │ ├── mark-selection.js │ │ │ │ └── selection-pointer.js │ │ │ ├── tern │ │ │ │ ├── tern.css │ │ │ │ ├── tern.js │ │ │ │ └── worker.js │ │ │ └── wrap │ │ │ │ └── hardwrap.js │ │ ├── codemirror.css │ │ ├── codemirror.js │ │ └── mode │ │ │ ├── apl │ │ │ ├── apl.js │ │ │ └── index.html │ │ │ ├── asciiarmor │ │ │ ├── asciiarmor.js │ │ │ └── index.html │ │ │ ├── asn.1 │ │ │ ├── asn.1.js │ │ │ └── index.html │ │ │ ├── asterisk │ │ │ ├── asterisk.js │ │ │ └── index.html │ │ │ ├── brainfuck │ │ │ ├── brainfuck.js │ │ │ └── index.html │ │ │ ├── clike │ │ │ ├── clike.js │ │ │ ├── index.html │ │ │ ├── scala.html │ │ │ └── test.js │ │ │ ├── clojure │ │ │ ├── clojure.js │ │ │ ├── index.html │ │ │ └── test.js │ │ │ ├── cmake │ │ │ ├── cmake.js │ │ │ └── index.html │ │ │ ├── cobol │ │ │ ├── cobol.js │ │ │ └── index.html │ │ │ ├── coffeescript │ │ │ ├── coffeescript.js │ │ │ └── index.html │ │ │ ├── commonlisp │ │ │ ├── commonlisp.js │ │ │ └── index.html │ │ │ ├── crystal │ │ │ ├── crystal.js │ │ │ └── index.html │ │ │ ├── css │ │ │ ├── css.js │ │ │ ├── gss.html │ │ │ ├── gss_test.js │ │ │ ├── index.html │ │ │ ├── less.html │ │ │ ├── less_test.js │ │ │ ├── scss.html │ │ │ ├── scss_test.js │ │ │ └── test.js │ │ │ ├── cypher │ │ │ ├── cypher.js │ │ │ ├── index.html │ │ │ └── test.js │ │ │ ├── d │ │ │ ├── d.js │ │ │ ├── index.html │ │ │ └── test.js │ │ │ ├── dart │ │ │ ├── dart.js │ │ │ └── index.html │ │ │ ├── diff │ │ │ ├── diff.js │ │ │ └── index.html │ │ │ ├── django │ │ │ ├── django.js │ │ │ └── index.html │ │ │ ├── dockerfile │ │ │ ├── dockerfile.js │ │ │ ├── index.html │ │ │ └── test.js │ │ │ ├── dtd │ │ │ ├── dtd.js │ │ │ └── index.html │ │ │ ├── dylan │ │ │ ├── dylan.js │ │ │ ├── index.html │ │ │ └── test.js │ │ │ ├── ebnf │ │ │ ├── ebnf.js │ │ │ └── index.html │ │ │ ├── ecl │ │ │ ├── ecl.js │ │ │ └── index.html │ │ │ ├── eiffel │ │ │ ├── eiffel.js │ │ │ └── index.html │ │ │ ├── elm │ │ │ ├── elm.js │ │ │ └── index.html │ │ │ ├── erlang │ │ │ ├── erlang.js │ │ │ └── index.html │ │ │ ├── factor │ │ │ ├── factor.js │ │ │ └── index.html │ │ │ ├── fcl │ │ │ ├── fcl.js │ │ │ └── index.html │ │ │ ├── forth │ │ │ ├── forth.js │ │ │ └── index.html │ │ │ ├── fortran │ │ │ ├── fortran.js │ │ │ └── index.html │ │ │ ├── gas │ │ │ ├── gas.js │ │ │ └── index.html │ │ │ ├── gfm │ │ │ ├── gfm.js │ │ │ ├── index.html │ │ │ └── test.js │ │ │ ├── gherkin │ │ │ ├── gherkin.js │ │ │ └── index.html │ │ │ ├── go │ │ │ ├── go.js │ │ │ └── index.html │ │ │ ├── groovy │ │ │ ├── groovy.js │ │ │ └── index.html │ │ │ ├── haml │ │ │ ├── haml.js │ │ │ ├── index.html │ │ │ └── test.js │ │ │ ├── handlebars │ │ │ ├── handlebars.js │ │ │ └── index.html │ │ │ ├── haskell-literate │ │ │ ├── haskell-literate.js │ │ │ └── index.html │ │ │ ├── haskell │ │ │ ├── haskell.js │ │ │ └── index.html │ │ │ ├── haxe │ │ │ ├── haxe.js │ │ │ └── index.html │ │ │ ├── htmlembedded │ │ │ ├── htmlembedded.js │ │ │ └── index.html │ │ │ ├── htmlmixed │ │ │ ├── htmlmixed.js │ │ │ └── index.html │ │ │ ├── http │ │ │ ├── http.js │ │ │ └── index.html │ │ │ ├── idl │ │ │ ├── idl.js │ │ │ └── index.html │ │ │ ├── index.html │ │ │ ├── javascript │ │ │ ├── index.html │ │ │ ├── javascript.js │ │ │ ├── json-ld.html │ │ │ ├── test.js │ │ │ └── typescript.html │ │ │ ├── jinja2 │ │ │ ├── index.html │ │ │ └── jinja2.js │ │ │ ├── jsx │ │ │ ├── index.html │ │ │ ├── jsx.js │ │ │ └── test.js │ │ │ ├── julia │ │ │ ├── index.html │ │ │ └── julia.js │ │ │ ├── livescript │ │ │ ├── index.html │ │ │ └── livescript.js │ │ │ ├── lua │ │ │ ├── index.html │ │ │ └── lua.js │ │ │ ├── markdown │ │ │ ├── index.html │ │ │ ├── markdown.js │ │ │ └── test.js │ │ │ ├── mathematica │ │ │ ├── index.html │ │ │ └── mathematica.js │ │ │ ├── mbox │ │ │ ├── index.html │ │ │ └── mbox.js │ │ │ ├── meta.js │ │ │ ├── mirc │ │ │ ├── index.html │ │ │ └── mirc.js │ │ │ ├── mllike │ │ │ ├── index.html │ │ │ └── mllike.js │ │ │ ├── modelica │ │ │ ├── index.html │ │ │ └── modelica.js │ │ │ ├── mscgen │ │ │ ├── index.html │ │ │ ├── mscgen.js │ │ │ ├── mscgen_test.js │ │ │ ├── msgenny_test.js │ │ │ └── xu_test.js │ │ │ ├── mumps │ │ │ ├── index.html │ │ │ └── mumps.js │ │ │ ├── nginx │ │ │ ├── index.html │ │ │ └── nginx.js │ │ │ ├── nsis │ │ │ ├── index.html │ │ │ └── nsis.js │ │ │ ├── ntriples │ │ │ ├── index.html │ │ │ └── ntriples.js │ │ │ ├── octave │ │ │ ├── index.html │ │ │ └── octave.js │ │ │ ├── oz │ │ │ ├── index.html │ │ │ └── oz.js │ │ │ ├── pascal │ │ │ ├── index.html │ │ │ └── pascal.js │ │ │ ├── pegjs │ │ │ ├── index.html │ │ │ └── pegjs.js │ │ │ ├── perl │ │ │ ├── index.html │ │ │ └── perl.js │ │ │ ├── php │ │ │ ├── index.html │ │ │ ├── php.js │ │ │ └── test.js │ │ │ ├── pig │ │ │ ├── index.html │ │ │ └── pig.js │ │ │ ├── powershell │ │ │ ├── index.html │ │ │ ├── powershell.js │ │ │ └── test.js │ │ │ ├── properties │ │ │ ├── index.html │ │ │ └── properties.js │ │ │ ├── protobuf │ │ │ ├── index.html │ │ │ └── protobuf.js │ │ │ ├── pug │ │ │ ├── index.html │ │ │ └── pug.js │ │ │ ├── puppet │ │ │ ├── index.html │ │ │ └── puppet.js │ │ │ ├── python │ │ │ ├── index.html │ │ │ ├── python.js │ │ │ └── test.js │ │ │ ├── q │ │ │ ├── index.html │ │ │ └── q.js │ │ │ ├── r │ │ │ ├── index.html │ │ │ └── r.js │ │ │ ├── rpm │ │ │ ├── changes │ │ │ │ └── index.html │ │ │ ├── index.html │ │ │ └── rpm.js │ │ │ ├── rst │ │ │ ├── index.html │ │ │ └── rst.js │ │ │ ├── ruby │ │ │ ├── index.html │ │ │ ├── ruby.js │ │ │ └── test.js │ │ │ ├── rust │ │ │ ├── index.html │ │ │ ├── rust.js │ │ │ └── test.js │ │ │ ├── sas │ │ │ ├── index.html │ │ │ └── sas.js │ │ │ ├── sass │ │ │ ├── index.html │ │ │ ├── sass.js │ │ │ └── test.js │ │ │ ├── scheme │ │ │ ├── index.html │ │ │ └── scheme.js │ │ │ ├── shell │ │ │ ├── index.html │ │ │ ├── shell.js │ │ │ └── test.js │ │ │ ├── sieve │ │ │ ├── index.html │ │ │ └── sieve.js │ │ │ ├── slim │ │ │ ├── index.html │ │ │ ├── slim.js │ │ │ └── test.js │ │ │ ├── smalltalk │ │ │ ├── index.html │ │ │ └── smalltalk.js │ │ │ ├── smarty │ │ │ ├── index.html │ │ │ └── smarty.js │ │ │ ├── solr │ │ │ ├── index.html │ │ │ └── solr.js │ │ │ ├── soy │ │ │ ├── index.html │ │ │ ├── soy.js │ │ │ └── test.js │ │ │ ├── sparql │ │ │ ├── index.html │ │ │ └── sparql.js │ │ │ ├── spreadsheet │ │ │ ├── index.html │ │ │ └── spreadsheet.js │ │ │ ├── sql │ │ │ ├── index.html │ │ │ └── sql.js │ │ │ ├── stex │ │ │ ├── index.html │ │ │ ├── stex.js │ │ │ └── test.js │ │ │ ├── stylus │ │ │ ├── index.html │ │ │ └── stylus.js │ │ │ ├── swift │ │ │ ├── index.html │ │ │ ├── swift.js │ │ │ └── test.js │ │ │ ├── tcl │ │ │ ├── index.html │ │ │ └── tcl.js │ │ │ ├── textile │ │ │ ├── index.html │ │ │ ├── test.js │ │ │ └── textile.js │ │ │ ├── tiddlywiki │ │ │ ├── index.html │ │ │ ├── tiddlywiki.css │ │ │ └── tiddlywiki.js │ │ │ ├── tiki │ │ │ ├── index.html │ │ │ ├── tiki.css │ │ │ └── tiki.js │ │ │ ├── toml │ │ │ ├── index.html │ │ │ └── toml.js │ │ │ ├── tornado │ │ │ ├── index.html │ │ │ └── tornado.js │ │ │ ├── troff │ │ │ ├── index.html │ │ │ └── troff.js │ │ │ ├── ttcn-cfg │ │ │ ├── index.html │ │ │ └── ttcn-cfg.js │ │ │ ├── ttcn │ │ │ ├── index.html │ │ │ └── ttcn.js │ │ │ ├── turtle │ │ │ ├── index.html │ │ │ └── turtle.js │ │ │ ├── twig │ │ │ ├── index.html │ │ │ └── twig.js │ │ │ ├── vb │ │ │ ├── index.html │ │ │ └── vb.js │ │ │ ├── vbscript │ │ │ ├── index.html │ │ │ └── vbscript.js │ │ │ ├── velocity │ │ │ ├── index.html │ │ │ └── velocity.js │ │ │ ├── verilog │ │ │ ├── index.html │ │ │ ├── test.js │ │ │ └── verilog.js │ │ │ ├── vhdl │ │ │ ├── index.html │ │ │ └── vhdl.js │ │ │ ├── vue │ │ │ ├── index.html │ │ │ └── vue.js │ │ │ ├── webidl │ │ │ ├── index.html │ │ │ └── webidl.js │ │ │ ├── xml │ │ │ ├── index.html │ │ │ ├── test.js │ │ │ └── xml.js │ │ │ ├── xquery │ │ │ ├── index.html │ │ │ ├── test.js │ │ │ └── xquery.js │ │ │ ├── yacas │ │ │ ├── index.html │ │ │ └── yacas.js │ │ │ ├── yaml-frontmatter │ │ │ ├── index.html │ │ │ └── yaml-frontmatter.js │ │ │ ├── yaml │ │ │ ├── index.html │ │ │ └── yaml.js │ │ │ └── z80 │ │ │ ├── index.html │ │ │ └── z80.js │ │ └── prism │ │ ├── prism.css │ │ └── prism.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-color-picker ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Colors.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap-colorpicker │ │ ├── css │ │ ├── bootstrap-colorpicker.css │ │ ├── bootstrap-colorpicker.css.map │ │ ├── bootstrap-colorpicker.min.css │ │ └── bootstrap-colorpicker.min.css.map │ │ └── js │ │ ├── bootstrap-colorpicker.js │ │ ├── bootstrap-colorpicker.js.map │ │ ├── bootstrap-colorpicker.min.js │ │ └── bootstrap-colorpicker.min.js.map │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-countdown ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ └── controller │ │ └── IndexController.java │ └── resources │ ├── static │ └── assets │ │ ├── jquery-countdown │ │ └── jquery.countdown.min.js │ │ └── styles │ │ └── custom.css │ └── templates │ └── index.html ├── thymeleaf-bootstrap-country-picker ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Address.java │ └── resources │ ├── static │ └── assets │ │ ├── bootstrap-select-country │ │ ├── css │ │ │ ├── bootstrap-select-country.min.css │ │ │ ├── bootstrap4-support.css │ │ │ └── images │ │ │ │ └── flags16.png │ │ └── js │ │ │ ├── bootstrap-select-country.min.js │ │ │ └── bootstrap-select-country.min.js.map │ │ └── bootstrap-select │ │ ├── css │ │ └── bootstrap-select.min.css │ │ └── js │ │ └── bootstrap-select.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-datatable ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ ├── EmployeeRestController.java │ │ └── IndexController.java │ │ ├── model │ │ ├── Employee.java │ │ ├── EmployeeComparators.java │ │ └── paging │ │ │ ├── Column.java │ │ │ ├── Direction.java │ │ │ ├── Order.java │ │ │ ├── Page.java │ │ │ ├── PageArray.java │ │ │ ├── PagingRequest.java │ │ │ └── Search.java │ │ └── service │ │ └── EmployeeService.java │ └── resources │ ├── employees.json │ ├── static │ └── assets │ │ └── datatable │ │ ├── datatables.css │ │ └── datatables.js │ └── templates │ └── index.html ├── thymeleaf-bootstrap-date-formatting ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ ├── config │ │ └── WebConfig.java │ │ └── controller │ │ └── IndexController.java │ └── resources │ ├── messages.properties │ ├── messages_en_US.properties │ ├── messages_es.properties │ └── templates │ └── index.html ├── thymeleaf-bootstrap-date-range-picker ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── DateRange.java │ └── resources │ ├── static │ └── assets │ │ ├── daterangepicker │ │ ├── daterangepicker.css │ │ └── daterangepicker.js │ │ └── moment │ │ └── moment.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-datetime-picker ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Event.java │ └── resources │ ├── static │ └── assets │ │ ├── moment │ │ └── moment.min.js │ │ └── tempusdominus-bootstrap-4 │ │ ├── tempusdominus-bootstrap-4.min.css │ │ └── tempusdominus-bootstrap-4.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-dropzone ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ └── controller │ │ ├── FileUploadController.java │ │ └── IndexController.java │ └── resources │ ├── application.properties │ ├── static │ └── assets │ │ ├── dropzonejs │ │ ├── basic.min.css │ │ ├── dropzone.css │ │ └── dropzone.min.js │ │ └── toastr │ │ ├── toastr.min.css │ │ └── toastr.min.js │ └── templates │ └── index.html ├── thymeleaf-bootstrap-dual-listbox ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Options.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap-dual-listbox │ │ ├── bootstrap-duallistbox.css │ │ ├── bootstrap-duallistbox.min.css │ │ ├── jquery.bootstrap-duallistbox.js │ │ └── jquery.bootstrap-duallistbox.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-input-date ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── User.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap-datepicker │ │ ├── css │ │ ├── bootstrap-datepicker.css │ │ ├── bootstrap-datepicker.css.map │ │ ├── bootstrap-datepicker.min.css │ │ ├── bootstrap-datepicker.standalone.css │ │ ├── bootstrap-datepicker.standalone.css.map │ │ ├── bootstrap-datepicker.standalone.min.css │ │ ├── bootstrap-datepicker3.css │ │ ├── bootstrap-datepicker3.css.map │ │ ├── bootstrap-datepicker3.min.css │ │ ├── bootstrap-datepicker3.standalone.css │ │ ├── bootstrap-datepicker3.standalone.css.map │ │ └── bootstrap-datepicker3.standalone.min.css │ │ ├── js │ │ ├── bootstrap-datepicker.js │ │ └── bootstrap-datepicker.min.js │ │ └── locales │ │ ├── bootstrap-datepicker-en-CA.min.js │ │ ├── bootstrap-datepicker.ar-tn.min.js │ │ ├── bootstrap-datepicker.ar.min.js │ │ ├── bootstrap-datepicker.az.min.js │ │ ├── bootstrap-datepicker.bg.min.js │ │ ├── bootstrap-datepicker.bm.min.js │ │ ├── bootstrap-datepicker.bn.min.js │ │ ├── bootstrap-datepicker.br.min.js │ │ ├── bootstrap-datepicker.bs.min.js │ │ ├── bootstrap-datepicker.ca.min.js │ │ ├── bootstrap-datepicker.cs.min.js │ │ ├── bootstrap-datepicker.cy.min.js │ │ ├── bootstrap-datepicker.da.min.js │ │ ├── bootstrap-datepicker.de.min.js │ │ ├── bootstrap-datepicker.el.min.js │ │ ├── bootstrap-datepicker.en-AU.min.js │ │ ├── bootstrap-datepicker.en-CA.min.js │ │ ├── bootstrap-datepicker.en-GB.min.js │ │ ├── bootstrap-datepicker.en-IE.min.js │ │ ├── bootstrap-datepicker.en-NZ.min.js │ │ ├── bootstrap-datepicker.en-ZA.min.js │ │ ├── bootstrap-datepicker.eo.min.js │ │ ├── bootstrap-datepicker.es.min.js │ │ ├── bootstrap-datepicker.et.min.js │ │ ├── bootstrap-datepicker.eu.min.js │ │ ├── bootstrap-datepicker.fa.min.js │ │ ├── bootstrap-datepicker.fi.min.js │ │ ├── bootstrap-datepicker.fo.min.js │ │ ├── bootstrap-datepicker.fr-CH.min.js │ │ ├── bootstrap-datepicker.fr.min.js │ │ ├── bootstrap-datepicker.gl.min.js │ │ ├── bootstrap-datepicker.he.min.js │ │ ├── bootstrap-datepicker.hi.min.js │ │ ├── bootstrap-datepicker.hr.min.js │ │ ├── bootstrap-datepicker.hu.min.js │ │ ├── bootstrap-datepicker.hy.min.js │ │ ├── bootstrap-datepicker.id.min.js │ │ ├── bootstrap-datepicker.is.min.js │ │ ├── bootstrap-datepicker.it-CH.min.js │ │ ├── bootstrap-datepicker.it.min.js │ │ ├── bootstrap-datepicker.ja.min.js │ │ ├── bootstrap-datepicker.ka.min.js │ │ ├── bootstrap-datepicker.kh.min.js │ │ ├── bootstrap-datepicker.kk.min.js │ │ ├── bootstrap-datepicker.km.min.js │ │ ├── bootstrap-datepicker.ko.min.js │ │ ├── bootstrap-datepicker.kr.min.js │ │ ├── bootstrap-datepicker.lt.min.js │ │ ├── bootstrap-datepicker.lv.min.js │ │ ├── bootstrap-datepicker.me.min.js │ │ ├── bootstrap-datepicker.mk.min.js │ │ ├── bootstrap-datepicker.mn.min.js │ │ ├── bootstrap-datepicker.ms.min.js │ │ ├── bootstrap-datepicker.nl-BE.min.js │ │ ├── bootstrap-datepicker.nl.min.js │ │ ├── bootstrap-datepicker.no.min.js │ │ ├── bootstrap-datepicker.oc.min.js │ │ ├── bootstrap-datepicker.pl.min.js │ │ ├── bootstrap-datepicker.pt-BR.min.js │ │ ├── bootstrap-datepicker.pt.min.js │ │ ├── bootstrap-datepicker.ro.min.js │ │ ├── bootstrap-datepicker.rs-latin.min.js │ │ ├── bootstrap-datepicker.rs.min.js │ │ ├── bootstrap-datepicker.ru.min.js │ │ ├── bootstrap-datepicker.si.min.js │ │ ├── bootstrap-datepicker.sk.min.js │ │ ├── bootstrap-datepicker.sl.min.js │ │ ├── bootstrap-datepicker.sq.min.js │ │ ├── bootstrap-datepicker.sr-latin.min.js │ │ ├── bootstrap-datepicker.sr.min.js │ │ ├── bootstrap-datepicker.sv.min.js │ │ ├── bootstrap-datepicker.sw.min.js │ │ ├── bootstrap-datepicker.ta.min.js │ │ ├── bootstrap-datepicker.tg.min.js │ │ ├── bootstrap-datepicker.th.min.js │ │ ├── bootstrap-datepicker.tk.min.js │ │ ├── bootstrap-datepicker.tr.min.js │ │ ├── bootstrap-datepicker.uk.min.js │ │ ├── bootstrap-datepicker.uz-cyrl.min.js │ │ ├── bootstrap-datepicker.uz-latn.min.js │ │ ├── bootstrap-datepicker.vi.min.js │ │ ├── bootstrap-datepicker.zh-CN.min.js │ │ └── bootstrap-datepicker.zh-TW.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-input-email ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Form.java │ └── resources │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-input-mask ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Input.java │ └── resources │ ├── static │ └── assets │ │ └── inputmask │ │ └── jquery.inputmask.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-input-number ├── .gitignore ├── pom.xml ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── thymeleaf │ │ │ └── bootstrap │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── IndexController.java │ │ │ └── model │ │ │ └── Form.java │ │ └── resources │ │ └── templates │ │ ├── index.html │ │ └── saved.html └── target │ └── classes │ ├── com │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.class │ │ ├── controller │ │ └── IndexController.class │ │ └── model │ │ └── Form.class │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-input-password ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── config │ │ └── SecurityConfig.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── User.java │ └── resources │ ├── static │ └── assets │ │ └── password-strength-meter │ │ ├── password.min.css │ │ ├── password.min.js │ │ └── passwordstrength.jpg │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-input-spinner ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Weather.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap-input-spinner │ │ └── bootstrap-input-spinner.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-input-tel ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Form.java │ └── resources │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-language-picker ├── .gitignore ├── pom.xml ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── frontbackend │ │ │ └── thymeleaf │ │ │ └── bootstrap │ │ │ ├── Application.java │ │ │ ├── config │ │ │ └── WebConfig.java │ │ │ └── controller │ │ │ └── IndexController.java │ │ └── resources │ │ ├── messages.properties │ │ ├── messages_en_US.properties │ │ ├── messages_es.properties │ │ └── templates │ │ └── index.html └── target │ └── classes │ ├── com │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.class │ │ ├── config │ │ └── WebConfig.class │ │ └── controller │ │ └── IndexController.class │ ├── messages.properties │ ├── messages_en_US.properties │ ├── messages_es.properties │ └── templates │ └── index.html ├── thymeleaf-bootstrap-markdown-editor ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Post.java │ └── resources │ ├── static │ └── assets │ │ └── simplemde │ │ ├── simplemde.min.css │ │ └── simplemde.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-modal ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ └── controller │ │ ├── IndexController.java │ │ └── ModalController.java │ └── resources │ └── templates │ ├── _modals.html │ ├── index.html │ ├── modal1.html │ └── modal2.html ├── thymeleaf-bootstrap-pagination ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ └── posts │ │ ├── boundary │ │ └── PostController.java │ │ ├── control │ │ ├── dao │ │ │ └── PostDAO.java │ │ └── service │ │ │ └── PostService.java │ │ └── entity │ │ ├── Post.java │ │ └── paging │ │ ├── PageItem.java │ │ ├── PageItemType.java │ │ ├── Paged.java │ │ └── Paging.java │ └── resources │ ├── application.properties │ ├── db-scripts │ ├── POSTS-1.0.0.xml │ └── db-changelog-master.xml │ └── templates │ └── posts.html ├── thymeleaf-bootstrap-price-range-slider ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ ├── IndexController.java │ │ └── ProductController.java │ │ ├── model │ │ ├── PriceRange.java │ │ └── Product.java │ │ └── service │ │ └── ProductService.java │ └── resources │ ├── mockedProducts.json │ ├── static │ └── assets │ │ └── bootstrap-slider │ │ ├── bootstrap-slider.js │ │ ├── bootstrap-slider.min.js │ │ └── css │ │ ├── bootstrap-slider.css │ │ └── bootstrap-slider.min.css │ └── templates │ ├── index.html │ ├── products.html │ └── saved.html ├── thymeleaf-bootstrap-radio-button ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ ├── Car.java │ │ └── CarModel.java │ └── resources │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-rating-stars ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Rating.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrapless-star-rating │ │ ├── star-rating.css │ │ └── star-rating.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-rich-text-editor ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Post.java │ └── resources │ ├── static │ └── assets │ │ └── summernote │ │ ├── font │ │ ├── summernote.eot │ │ ├── summernote.ttf │ │ ├── summernote.woff │ │ └── summernote.woff2 │ │ ├── lang │ │ ├── summernote-ar-AR.js │ │ ├── summernote-ar-AR.min.js │ │ ├── summernote-ar-AR.min.js.LICENSE.txt │ │ ├── summernote-az-AZ.js │ │ ├── summernote-az-AZ.min.js │ │ ├── summernote-az-AZ.min.js.LICENSE.txt │ │ ├── summernote-bg-BG.js │ │ ├── summernote-bg-BG.min.js │ │ ├── summernote-bg-BG.min.js.LICENSE.txt │ │ ├── summernote-ca-ES.js │ │ ├── summernote-ca-ES.min.js │ │ ├── summernote-ca-ES.min.js.LICENSE.txt │ │ ├── summernote-cs-CZ.js │ │ ├── summernote-cs-CZ.min.js │ │ ├── summernote-cs-CZ.min.js.LICENSE.txt │ │ ├── summernote-da-DK.js │ │ ├── summernote-da-DK.min.js │ │ ├── summernote-da-DK.min.js.LICENSE.txt │ │ ├── summernote-de-DE.js │ │ ├── summernote-de-DE.min.js │ │ ├── summernote-de-DE.min.js.LICENSE.txt │ │ ├── summernote-el-GR.js │ │ ├── summernote-el-GR.min.js │ │ ├── summernote-el-GR.min.js.LICENSE.txt │ │ ├── summernote-es-ES.js │ │ ├── summernote-es-ES.min.js │ │ ├── summernote-es-ES.min.js.LICENSE.txt │ │ ├── summernote-es-EU.js │ │ ├── summernote-es-EU.min.js │ │ ├── summernote-es-EU.min.js.LICENSE.txt │ │ ├── summernote-fa-IR.js │ │ ├── summernote-fa-IR.min.js │ │ ├── summernote-fa-IR.min.js.LICENSE.txt │ │ ├── summernote-fi-FI.js │ │ ├── summernote-fi-FI.min.js │ │ ├── summernote-fi-FI.min.js.LICENSE.txt │ │ ├── summernote-fr-FR.js │ │ ├── summernote-fr-FR.min.js │ │ ├── summernote-fr-FR.min.js.LICENSE.txt │ │ ├── summernote-gl-ES.js │ │ ├── summernote-gl-ES.min.js │ │ ├── summernote-gl-ES.min.js.LICENSE.txt │ │ ├── summernote-he-IL.js │ │ ├── summernote-he-IL.min.js │ │ ├── summernote-he-IL.min.js.LICENSE.txt │ │ ├── summernote-hr-HR.js │ │ ├── summernote-hr-HR.min.js │ │ ├── summernote-hr-HR.min.js.LICENSE.txt │ │ ├── summernote-hu-HU.js │ │ ├── summernote-hu-HU.min.js │ │ ├── summernote-hu-HU.min.js.LICENSE.txt │ │ ├── summernote-id-ID.js │ │ ├── summernote-id-ID.min.js │ │ ├── summernote-id-ID.min.js.LICENSE.txt │ │ ├── summernote-it-IT.js │ │ ├── summernote-it-IT.min.js │ │ ├── summernote-it-IT.min.js.LICENSE.txt │ │ ├── summernote-ja-JP.js │ │ ├── summernote-ja-JP.min.js │ │ ├── summernote-ja-JP.min.js.LICENSE.txt │ │ ├── summernote-ko-KR.js │ │ ├── summernote-ko-KR.min.js │ │ ├── summernote-ko-KR.min.js.LICENSE.txt │ │ ├── summernote-lt-LT.js │ │ ├── summernote-lt-LT.min.js │ │ ├── summernote-lt-LT.min.js.LICENSE.txt │ │ ├── summernote-lt-LV.js │ │ ├── summernote-lt-LV.min.js │ │ ├── summernote-lt-LV.min.js.LICENSE.txt │ │ ├── summernote-mn-MN.js │ │ ├── summernote-mn-MN.min.js │ │ ├── summernote-mn-MN.min.js.LICENSE.txt │ │ ├── summernote-nb-NO.js │ │ ├── summernote-nb-NO.min.js │ │ ├── summernote-nb-NO.min.js.LICENSE.txt │ │ ├── summernote-nl-NL.js │ │ ├── summernote-nl-NL.min.js │ │ ├── summernote-nl-NL.min.js.LICENSE.txt │ │ ├── summernote-pl-PL.js │ │ ├── summernote-pl-PL.min.js │ │ ├── summernote-pl-PL.min.js.LICENSE.txt │ │ ├── summernote-pt-BR.js │ │ ├── summernote-pt-BR.min.js │ │ ├── summernote-pt-BR.min.js.LICENSE.txt │ │ ├── summernote-pt-PT.js │ │ ├── summernote-pt-PT.min.js │ │ ├── summernote-pt-PT.min.js.LICENSE.txt │ │ ├── summernote-ro-RO.js │ │ ├── summernote-ro-RO.min.js │ │ ├── summernote-ro-RO.min.js.LICENSE.txt │ │ ├── summernote-ru-RU.js │ │ ├── summernote-ru-RU.min.js │ │ ├── summernote-ru-RU.min.js.LICENSE.txt │ │ ├── summernote-sk-SK.js │ │ ├── summernote-sk-SK.min.js │ │ ├── summernote-sk-SK.min.js.LICENSE.txt │ │ ├── summernote-sl-SI.js │ │ ├── summernote-sl-SI.min.js │ │ ├── summernote-sl-SI.min.js.LICENSE.txt │ │ ├── summernote-sr-RS-Latin.js │ │ ├── summernote-sr-RS-Latin.min.js │ │ ├── summernote-sr-RS-Latin.min.js.LICENSE.txt │ │ ├── summernote-sr-RS.js │ │ ├── summernote-sr-RS.min.js │ │ ├── summernote-sr-RS.min.js.LICENSE.txt │ │ ├── summernote-sv-SE.js │ │ ├── summernote-sv-SE.min.js │ │ ├── summernote-sv-SE.min.js.LICENSE.txt │ │ ├── summernote-ta-IN.js │ │ ├── summernote-ta-IN.min.js │ │ ├── summernote-ta-IN.min.js.LICENSE.txt │ │ ├── summernote-th-TH.js │ │ ├── summernote-th-TH.min.js │ │ ├── summernote-th-TH.min.js.LICENSE.txt │ │ ├── summernote-tr-TR.js │ │ ├── summernote-tr-TR.min.js │ │ ├── summernote-tr-TR.min.js.LICENSE.txt │ │ ├── summernote-uk-UA.js │ │ ├── summernote-uk-UA.min.js │ │ ├── summernote-uk-UA.min.js.LICENSE.txt │ │ ├── summernote-uz-UZ.js │ │ ├── summernote-uz-UZ.min.js │ │ ├── summernote-uz-UZ.min.js.LICENSE.txt │ │ ├── summernote-vi-VN.js │ │ ├── summernote-vi-VN.min.js │ │ ├── summernote-vi-VN.min.js.LICENSE.txt │ │ ├── summernote-zh-CN.js │ │ ├── summernote-zh-CN.min.js │ │ ├── summernote-zh-CN.min.js.LICENSE.txt │ │ ├── summernote-zh-TW.js │ │ ├── summernote-zh-TW.min.js │ │ └── summernote-zh-TW.min.js.LICENSE.txt │ │ ├── plugin │ │ ├── databasic │ │ │ ├── summernote-ext-databasic.css │ │ │ └── summernote-ext-databasic.js │ │ ├── hello │ │ │ └── summernote-ext-hello.js │ │ └── specialchars │ │ │ └── summernote-ext-specialchars.js │ │ ├── summernote-bs4.css │ │ ├── summernote-bs4.js │ │ ├── summernote-bs4.js.map │ │ ├── summernote-bs4.min.css │ │ ├── summernote-bs4.min.js │ │ └── summernote-bs4.min.js.map │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-select-option ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ ├── Dip.java │ │ ├── Order.java │ │ └── Pizza.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap-select-1.13.9 │ │ ├── README.md │ │ └── dist │ │ ├── css │ │ ├── bootstrap-select.css │ │ ├── bootstrap-select.css.map │ │ └── bootstrap-select.min.css │ │ └── js │ │ ├── bootstrap-select.js │ │ ├── bootstrap-select.js.map │ │ ├── bootstrap-select.min.js │ │ ├── bootstrap-select.min.js.map │ │ └── i18n │ │ ├── defaults-am_ET.js │ │ ├── defaults-am_ET.js.map │ │ ├── defaults-am_ET.min.js │ │ ├── defaults-ar_AR.js │ │ ├── defaults-ar_AR.js.map │ │ ├── defaults-ar_AR.min.js │ │ ├── defaults-bg_BG.js │ │ ├── defaults-bg_BG.js.map │ │ ├── defaults-bg_BG.min.js │ │ ├── defaults-cs_CZ.js │ │ ├── defaults-cs_CZ.js.map │ │ ├── defaults-cs_CZ.min.js │ │ ├── defaults-da_DK.js │ │ ├── defaults-da_DK.js.map │ │ ├── defaults-da_DK.min.js │ │ ├── defaults-de_DE.js │ │ ├── defaults-de_DE.js.map │ │ ├── defaults-de_DE.min.js │ │ ├── defaults-en_US.js │ │ ├── defaults-en_US.js.map │ │ ├── defaults-en_US.min.js │ │ ├── defaults-es_CL.js │ │ ├── defaults-es_CL.js.map │ │ ├── defaults-es_CL.min.js │ │ ├── defaults-es_ES.js │ │ ├── defaults-es_ES.js.map │ │ ├── defaults-es_ES.min.js │ │ ├── defaults-et_EE.js │ │ ├── defaults-et_EE.js.map │ │ ├── defaults-et_EE.min.js │ │ ├── defaults-eu.js │ │ ├── defaults-eu.js.map │ │ ├── defaults-eu.min.js │ │ ├── defaults-fa_IR.js │ │ ├── defaults-fa_IR.js.map │ │ ├── defaults-fa_IR.min.js │ │ ├── defaults-fi_FI.js │ │ ├── defaults-fi_FI.js.map │ │ ├── defaults-fi_FI.min.js │ │ ├── defaults-fr_FR.js │ │ ├── defaults-fr_FR.js.map │ │ ├── defaults-fr_FR.min.js │ │ ├── defaults-hr_HR.js │ │ ├── defaults-hr_HR.js.map │ │ ├── defaults-hr_HR.min.js │ │ ├── defaults-hu_HU.js │ │ ├── defaults-hu_HU.js.map │ │ ├── defaults-hu_HU.min.js │ │ ├── defaults-id_ID.js │ │ ├── defaults-id_ID.js.map │ │ ├── defaults-id_ID.min.js │ │ ├── defaults-it_IT.js │ │ ├── defaults-it_IT.js.map │ │ ├── defaults-it_IT.min.js │ │ ├── defaults-ja_JP.js │ │ ├── defaults-ja_JP.js.map │ │ ├── defaults-ja_JP.min.js │ │ ├── defaults-kh_KM.js │ │ ├── defaults-kh_KM.js.map │ │ ├── defaults-kh_KM.min.js │ │ ├── defaults-ko_KR.js │ │ ├── defaults-ko_KR.js.map │ │ ├── defaults-ko_KR.min.js │ │ ├── defaults-lt_LT.js │ │ ├── defaults-lt_LT.js.map │ │ ├── defaults-lt_LT.min.js │ │ ├── defaults-lv_LV.js │ │ ├── defaults-lv_LV.js.map │ │ ├── defaults-lv_LV.min.js │ │ ├── defaults-nb_NO.js │ │ ├── defaults-nb_NO.js.map │ │ ├── defaults-nb_NO.min.js │ │ ├── defaults-nl_NL.js │ │ ├── defaults-nl_NL.js.map │ │ ├── defaults-nl_NL.min.js │ │ ├── defaults-pl_PL.js │ │ ├── defaults-pl_PL.js.map │ │ ├── defaults-pl_PL.min.js │ │ ├── defaults-pt_BR.js │ │ ├── defaults-pt_BR.js.map │ │ ├── defaults-pt_BR.min.js │ │ ├── defaults-pt_PT.js │ │ ├── defaults-pt_PT.js.map │ │ ├── defaults-pt_PT.min.js │ │ ├── defaults-ro_RO.js │ │ ├── defaults-ro_RO.js.map │ │ ├── defaults-ro_RO.min.js │ │ ├── defaults-ru_RU.js │ │ ├── defaults-ru_RU.js.map │ │ ├── defaults-ru_RU.min.js │ │ ├── defaults-sk_SK.js │ │ ├── defaults-sk_SK.js.map │ │ ├── defaults-sk_SK.min.js │ │ ├── defaults-sl_SI.js │ │ ├── defaults-sl_SI.js.map │ │ ├── defaults-sl_SI.min.js │ │ ├── defaults-sv_SE.js │ │ ├── defaults-sv_SE.js.map │ │ ├── defaults-sv_SE.min.js │ │ ├── defaults-tr_TR.js │ │ ├── defaults-tr_TR.js.map │ │ ├── defaults-tr_TR.min.js │ │ ├── defaults-ua_UA.js │ │ ├── defaults-ua_UA.js.map │ │ ├── defaults-ua_UA.min.js │ │ ├── defaults-vi_VN.js │ │ ├── defaults-vi_VN.js.map │ │ ├── defaults-vi_VN.min.js │ │ ├── defaults-zh_CN.js │ │ ├── defaults-zh_CN.js.map │ │ ├── defaults-zh_CN.min.js │ │ ├── defaults-zh_TW.js │ │ ├── defaults-zh_TW.js.map │ │ └── defaults-zh_TW.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-slider ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── ProgrammingSkills.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap-slider │ │ ├── bootstrap-slider.js │ │ ├── bootstrap-slider.min.js │ │ └── css │ │ ├── bootstrap-slider.css │ │ └── bootstrap-slider.min.css │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-switch ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── KnownLanguages.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap-switch │ │ ├── bootstrap-switch.min.css │ │ └── bootstrap-switch.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-table ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── EmployeeController.java │ │ ├── model │ │ ├── Employee.java │ │ └── paging │ │ │ ├── Page.java │ │ │ ├── PageItem.java │ │ │ ├── PageItemType.java │ │ │ ├── Paged.java │ │ │ └── Paging.java │ │ └── service │ │ └── EmployeeService.java │ └── resources │ ├── employees.json │ └── templates │ └── index.html ├── thymeleaf-bootstrap-tabs ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ └── controller │ │ └── IndexController.java │ └── resources │ └── templates │ ├── _tab1.html │ ├── _tab2.html │ ├── _tab3.html │ ├── empty.html │ └── index.html ├── thymeleaf-bootstrap-telephone-input ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Address.java │ └── resources │ ├── static │ └── assets │ │ └── intl-tel-input │ │ ├── css │ │ ├── demo.css │ │ ├── intlTelInput.css │ │ └── intlTelInput.min.css │ │ ├── img │ │ ├── flags.png │ │ └── flags@2x.png │ │ └── js │ │ ├── intlTelInput-jquery.js │ │ ├── intlTelInput-jquery.min.js │ │ ├── intlTelInput.js │ │ ├── intlTelInput.min.js │ │ └── utils.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-timepicker ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Event.java │ └── resources │ ├── static │ └── assets │ │ ├── bootstrap-datetimepicker │ │ ├── css │ │ │ ├── bootstrap-datetimepicker.css │ │ │ └── bootstrap-datetimepicker.min.css │ │ └── js │ │ │ └── bootstrap-datetimepicker.min.js │ │ ├── images │ │ └── clock-bg-sm.png │ │ └── moment │ │ └── moment.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-timezone-picker ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Settings.java │ └── resources │ ├── static │ └── assets │ │ ├── moment │ │ ├── moment-timezone-with-data.js │ │ ├── moment-timezone.js │ │ └── moment.min.js │ │ └── timezones │ │ ├── timezones.full.min.js │ │ └── timezones.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-toast ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ ├── EmailRestController.java │ │ └── IndexController.java │ │ └── model │ │ └── EmailContainer.java │ └── resources │ ├── static │ └── assets │ │ └── izitoast │ │ ├── css │ │ ├── iziToast.css │ │ └── iziToast.min.css │ │ └── js │ │ ├── iziToast.js │ │ └── iziToast.min.js │ └── templates │ └── index.html ├── thymeleaf-bootstrap-toggle ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ ├── model │ │ ├── Setting.java │ │ ├── Settings.java │ │ └── SettingsGroup.java │ │ └── service │ │ └── SettingsService.java │ └── resources │ ├── static │ └── assets │ │ └── bootstrap4-toggle │ │ ├── bootstrap4-toggle.min.css │ │ └── bootstrap4-toggle.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-bootstrap-treetable ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── NodesController.java │ │ └── model │ │ └── Node.java │ └── resources │ ├── static │ └── assets │ │ └── jquery-treetable │ │ ├── jquery.treetable.css │ │ ├── jquery.treetable.js │ │ └── jquery.treetable.theme.default.css │ └── templates │ └── index.html ├── thymeleaf-bootstrap-upload-file ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ └── controller │ │ └── FileUploadController.java │ └── resources │ ├── application.properties │ ├── static │ └── assets │ │ └── custom-file-input │ │ └── bs-custom-file-input.js │ └── templates │ └── index.html ├── thymeleaf-bootstrap-wizard ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ ├── AccountController.java │ │ └── IndexController.java │ │ └── model │ │ └── Account.java │ └── resources │ ├── static │ └── assets │ │ ├── jquery-steps │ │ ├── jquery.steps.css │ │ └── jquery.steps.min.js │ │ └── jquery-validate │ │ └── jquery.validate.min.js │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-conditionals ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ └── snippets │ │ ├── controller │ │ └── SnippetController.java │ │ ├── model │ │ └── Snippet.java │ │ └── service │ │ └── SnippetService.java │ └── resources │ └── templates │ └── snippets.html ├── thymeleaf-custom-dialect ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── dialect │ │ ├── WelcomeDialect.java │ │ ├── WelcomeHeaderTagProcessor.java │ │ └── WelcomeToAttributeTagProcessor.java │ └── resources │ └── templates │ └── index.html ├── thymeleaf-data-attributes ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ └── posts │ │ ├── controller │ │ └── PostController.java │ │ ├── model │ │ └── Post.java │ │ └── service │ │ └── PostService.java │ └── resources │ └── templates │ └── posts.html ├── thymeleaf-enums ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── enums │ │ ├── Application.java │ │ ├── WebConfig.java │ │ ├── controller │ │ ├── CountryController.java │ │ └── SolarSystemController.java │ │ └── model │ │ ├── Birthplace.java │ │ ├── Country.java │ │ ├── Home.java │ │ └── Planet.java │ └── resources │ ├── messages.properties │ ├── messages_en_US.properties │ ├── messages_es.properties │ └── templates │ ├── countries.html │ ├── selectedCountry.html │ ├── selectedPlanet.html │ └── solarSystem.html ├── thymeleaf-environment-parameters ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── environment │ │ └── paramameters │ │ ├── Application.java │ │ └── controller │ │ └── HomeController.java │ └── resources │ ├── application.properties │ └── templates │ └── home.html ├── thymeleaf-extras-java8time ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── extras │ │ └── java8time │ │ ├── Application.java │ │ └── controller │ │ └── DatesController.java │ └── resources │ └── templates │ └── dates.html ├── thymeleaf-forms ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── forms │ │ ├── Application.java │ │ └── sample │ │ ├── controller │ │ └── SampleController.java │ │ └── model │ │ ├── SampleCheckboxes.java │ │ ├── SampleColor.java │ │ ├── SampleDropdowns.java │ │ ├── SampleInputs.java │ │ └── SampleRadioButtons.java │ └── resources │ └── templates │ ├── sampleCheckboxes.html │ ├── sampleDropdowns.html │ ├── sampleInputs.html │ └── sampleRadioButtons.html ├── thymeleaf-fragments ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ ├── controller │ │ ├── ContactsController.java │ │ └── MainController.java │ │ ├── model │ │ ├── Contact.java │ │ └── ContactType.java │ │ └── service │ │ └── ContactService.java │ └── resources │ └── templates │ ├── _parts.html │ ├── _tables.html │ ├── contacts.html │ └── main.html ├── thymeleaf-hidden-input ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ └── bootstrap │ │ ├── Application.java │ │ ├── controller │ │ └── IndexController.java │ │ └── model │ │ └── Form.java │ └── resources │ └── templates │ ├── index.html │ └── saved.html ├── thymeleaf-if-else ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ └── controller │ │ └── HomeController.java │ └── resources │ └── templates │ └── ifelse.html ├── thymeleaf-iteration ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ └── customers │ │ ├── controller │ │ └── CustomerController.java │ │ ├── model │ │ ├── Address.java │ │ └── Customer.java │ │ └── service │ │ └── CustomerService.java │ └── resources │ ├── mockedCustomers.json │ └── templates │ └── customers.html ├── thymeleaf-lazy-retrieval ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ └── users │ │ ├── controller │ │ └── UserController.java │ │ ├── model │ │ └── User.java │ │ └── service │ │ └── UserService.java │ └── resources │ └── templates │ └── users.html ├── thymeleaf-map-iteration ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ ├── controller │ │ └── MapController.java │ │ ├── model │ │ ├── Car.java │ │ └── Color.java │ │ └── service │ │ └── CarService.java │ └── resources │ └── templates │ └── maps.html ├── thymeleaf-utility-lists ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── frontbackend │ │ └── thymeleaf │ │ ├── Application.java │ │ └── employee │ │ ├── controller │ │ └── EmployeeController.java │ │ ├── model │ │ ├── Employee.java │ │ └── EmployeePosition.java │ │ └── service │ │ └── EmployeeService.java │ └── resources │ └── templates │ └── employees.html └── thymeleaf-utility-uris ├── .gitignore ├── pom.xml └── src └── main ├── java └── com │ └── frontbackend │ └── thymeleaf │ └── Application.java └── resources └── templates └── urls.html /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /.idea/ 3 | /thymeleaf/thymeleaf.iml 4 | /spring-boot/spring-boot.iml 5 | /java/java.iml 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /java/cryptography/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /cryptography.iml -------------------------------------------------------------------------------- /java/datetime/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | /target -------------------------------------------------------------------------------- /java/java-convertions/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /java-convertions.iml 4 | -------------------------------------------------------------------------------- /java/java-convertions/src/main/java/com/frontbackend/java/ConvertStringToIntUsingGuava.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java; 2 | 3 | import com.google.common.primitives.Ints; 4 | 5 | public class ConvertStringToIntUsingGuava { 6 | 7 | public static void main(String[] args) { 8 | System.out.println(Ints.tryParse("2212")); 9 | System.out.println(Ints.tryParse("-2212")); 10 | System.out.println(Ints.tryParse("asdf")); // null 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /java/java-io-resources/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /java-io-resources.iml 3 | /target 4 | 5 | -------------------------------------------------------------------------------- /java/java-io-resources/src/main/resources/example.txt: -------------------------------------------------------------------------------- 1 | This is a sample file in resources folder -------------------------------------------------------------------------------- /java/java-io-working-directory/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /java-io-working-directory.iml 3 | /target -------------------------------------------------------------------------------- /java/java-io-working-directory/src/main/java/com/frontbackend/java/io/working/dir/WorkingDirectory.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.working.dir; 2 | 3 | public class WorkingDirectory { 4 | 5 | public static void main(String[] args) { 6 | String userDirectory = System.getProperty("user.dir"); 7 | System.out.println("Working dir = " + userDirectory); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /java/java-io/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /java-io.iml 4 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/attributes/ModifiedDateUsingFile.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.attributes; 2 | 3 | import java.io.File; 4 | import java.util.Date; 5 | 6 | public class ModifiedDateUsingFile { 7 | 8 | public static void main(String[] args) { 9 | File file = new File("/tmp/frontbackend.txt"); 10 | 11 | Date lastModifiedTime = new Date(file.lastModified()); 12 | System.out.println(lastModifiedTime); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/conversions/toreader/fromstring/StringToReaderUsingApacheCommonsIO.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.conversions.toreader.fromstring; 2 | 3 | import java.io.Reader; 4 | 5 | import org.apache.commons.io.input.CharSequenceReader; 6 | 7 | public class StringToReaderUsingApacheCommonsIO { 8 | 9 | public static void main(String[] args) { 10 | String str = "frontbackend.com"; 11 | Reader reader = new CharSequenceReader(str); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/conversions/toreader/fromstring/StringToReaderUsingPlainJava.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.conversions.toreader.fromstring; 2 | 3 | import java.io.Reader; 4 | import java.io.StringReader; 5 | 6 | public class StringToReaderUsingPlainJava { 7 | 8 | public static void main(String[] args) { 9 | String str = "frontbackend.com"; 10 | Reader reader = new StringReader(str); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/create/CreateFileUsingCommonsIO.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.create; 2 | 3 | import org.apache.commons.io.FileUtils; 4 | 5 | import java.io.File; 6 | import java.io.IOException; 7 | 8 | public class CreateFileUsingCommonsIO { 9 | 10 | public static void main(String[] args) throws IOException { 11 | FileUtils.touch(new File("/tmp/file5.txt")); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/create/CreateFileUsingFileOutputStream.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.create; 2 | 3 | import java.io.FileOutputStream; 4 | import java.io.IOException; 5 | 6 | public class CreateFileUsingFileOutputStream { 7 | 8 | public static void main(String[] args) throws IOException { 9 | FileOutputStream out = new FileOutputStream("/tmp/file3.txt"); 10 | out.close(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/create/CreateFileUsingGuava.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.create; 2 | 3 | import com.google.common.io.Files; 4 | 5 | import java.io.File; 6 | import java.io.IOException; 7 | 8 | public class CreateFileUsingGuava { 9 | 10 | public static void main(String[] args) throws IOException { 11 | Files.touch(new File("/tmp/file4.txt")); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/csv/model/CSVColumn.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.csv.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @AllArgsConstructor 7 | public enum CSVColumn { 8 | 9 | USERNAME("Username"), 10 | IDENTIFIER("Identifier"), 11 | FIRST_NAME("First name"), 12 | LAST_NAME("Last name"), 13 | DEFAULT(""); 14 | 15 | @Getter 16 | private final String column; 17 | } 18 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/csv/model/CSVField.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.csv.model; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.FIELD) 10 | public @interface CSVField { 11 | 12 | CSVColumn column() default CSVColumn.DEFAULT; 13 | } 14 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/csv/parser/CSVUserParser.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.csv.parser; 2 | 3 | import com.frontbackend.java.io.csv.model.User; 4 | 5 | public class CSVUserParser extends CSVAbstractParser { 6 | } 7 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/extension/GetFileExtensionUsingFiles.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.extension; 2 | 3 | import java.io.File; 4 | 5 | import com.google.common.io.Files; 6 | 7 | public class GetFileExtensionUsingFiles { 8 | 9 | public static void main(String[] args) { 10 | 11 | File source = new File("/tmp/test.txt"); 12 | String filename = source.getName(); 13 | 14 | System.out.println(Files.getFileExtension(filename)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/list/ListFilesInAlphabeticalOrder.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.list; 2 | 3 | import java.io.IOException; 4 | import java.nio.file.Files; 5 | import java.nio.file.Paths; 6 | 7 | public class ListFilesInAlphabeticalOrder { 8 | 9 | public static void main(String[] args) throws IOException { 10 | 11 | Files.list(Paths.get("/tmp")) 12 | .sorted() 13 | .forEach(System.out::println); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/path/ConvertFileToPath.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.path; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.nio.file.Path; 6 | 7 | public class ConvertFileToPath { 8 | 9 | public static void main(String[] args) throws IOException { 10 | File file = new File("/tmp/test.txt"); 11 | Path path = file.toPath(); 12 | 13 | System.out.println(path.toString()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/path/ConvertFileToPathUsingPaths.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.path; 2 | 3 | import java.io.File; 4 | import java.nio.file.Path; 5 | import java.nio.file.Paths; 6 | 7 | public class ConvertFileToPathUsingPaths { 8 | 9 | public static void main(String[] args) { 10 | File file = new File("/tmp/test.txt"); 11 | Path path = Paths.get(file.toURI()); 12 | 13 | System.out.println(path.toString()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/remove/RemoveDirectoryUsingFileUtils.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.remove; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | 6 | import org.apache.commons.io.FileUtils; 7 | 8 | public class RemoveDirectoryUsingFileUtils { 9 | 10 | public static void main(String[] args) throws IOException { 11 | FileUtils.deleteDirectory(new File("/tmp/first")); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/remove/RemoveFileUsingFileUtils.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.remove; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | 6 | import org.apache.commons.io.FileUtils; 7 | 8 | public class RemoveFileUsingFileUtils { 9 | 10 | public static void main(String[] args) throws IOException { 11 | File file = FileUtils.getFile("/tmp/toremove.txt"); 12 | FileUtils.forceDelete(file); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/remove/RemoveFileUsingFilesObject.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.remove; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.nio.file.Files; 6 | 7 | public class RemoveFileUsingFilesObject { 8 | 9 | public static void main(String[] args) throws IOException { 10 | File file = new File("/tmp/toremove.txt"); 11 | Files.delete(file.toPath()); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/separator/FilePathSeparatorFromSystemProperty.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.separator; 2 | 3 | public class FilePathSeparatorFromSystemProperty { 4 | 5 | public static void main(String[] args) { 6 | 7 | String pathSeparator = System.getProperty("file.separator"); 8 | 9 | System.out.println(pathSeparator); // in Unix /, in Windows \ 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/separator/FilePathSeparatorUsingJavaIOAPI.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.separator; 2 | 3 | import java.io.File; 4 | 5 | public class FilePathSeparatorUsingJavaIOAPI { 6 | 7 | public static void main(String[] args) { 8 | String pathSeparator = File.separator; 9 | 10 | System.out.println(pathSeparator); // Unix / , Windows \ 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/separator/FilePathSeparatorUsingJavaNIO.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.separator; 2 | 3 | import java.nio.file.FileSystems; 4 | 5 | public class FilePathSeparatorUsingJavaNIO { 6 | 7 | public static void main(String[] args) { 8 | String pathSeparator = FileSystems.getDefault() 9 | .getSeparator(); 10 | 11 | System.out.println(pathSeparator); // in Unix / , in Windows \ 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/trywithresources/MyCustomAutoCloseableResource.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.trywithresources; 2 | 3 | public class MyCustomAutoCloseableResource implements AutoCloseable { 4 | 5 | @Override 6 | public void close() throws Exception { 7 | // close resource 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/trywithresources/MyCustomCloseableResource.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.trywithresources; 2 | 3 | import java.io.Closeable; 4 | import java.io.IOException; 5 | 6 | public class MyCustomCloseableResource implements Closeable { 7 | 8 | @Override 9 | public void close() throws IOException { 10 | // close resource 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /java/java-io/src/main/java/com/frontbackend/java/io/write/WriteToFileUsingFileChannel.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.java.io.write; 2 | 3 | import java.io.IOException; 4 | import java.nio.file.Files; 5 | import java.nio.file.Path; 6 | import java.nio.file.Paths; 7 | 8 | public class WriteToFileUsingFileChannel { 9 | 10 | public static void main(String[] args) throws IOException { 11 | Path path = Paths.get("/temp/test5.txt"); 12 | Files.write(path, "FrontBackend.com".getBytes()); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /java/java-util/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /java-util.iml 3 | /target 4 | -------------------------------------------------------------------------------- /libraries/.gitignore: -------------------------------------------------------------------------------- 1 | /libraries.iml 2 | /failsafe/target/ 3 | -------------------------------------------------------------------------------- /libraries/apache-poi/.gitignore: -------------------------------------------------------------------------------- 1 | /apache-poi.iml 2 | /target -------------------------------------------------------------------------------- /libraries/apache-poi/src/main/java/com/frontbackend/libraries/apachepoi/parser/XLSXField.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.apachepoi.parser; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target(ElementType.FIELD) 10 | public @interface XLSXField { 11 | 12 | String column() default ""; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /libraries/apache-poi/src/main/java/com/frontbackend/libraries/apachepoi/parser/XLSXHeader.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.apachepoi.parser; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | import lombok.ToString; 6 | 7 | @AllArgsConstructor 8 | @Getter 9 | @ToString 10 | public class XLSXHeader { 11 | 12 | private final String fieldName; 13 | private final String xlsxColumnName; 14 | private final int columnIndex; 15 | } 16 | -------------------------------------------------------------------------------- /libraries/apache-poi/src/main/resources/posts.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/libraries/apache-poi/src/main/resources/posts.xlsx -------------------------------------------------------------------------------- /libraries/failsafe/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | failsafe.iml -------------------------------------------------------------------------------- /libraries/lombok/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | *.iml -------------------------------------------------------------------------------- /libraries/mockito-static-v4/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | *.iml -------------------------------------------------------------------------------- /libraries/mockito-static-v4/src/main/java/com/frontbackend/libraries/mockito/version4/WelcomeUtil.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.version4; 2 | 3 | public final class WelcomeUtil { 4 | 5 | public static String generateWelcome(String name) { 6 | return String.format("Welcome %s", name); 7 | } 8 | 9 | private WelcomeUtil() { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /libraries/mockito-static/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /mockito-static.iml -------------------------------------------------------------------------------- /libraries/mockito-static/src/main/java/com/frontbackend/libraries/mockito/FinalWelcomeUtil.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito; 2 | 3 | public final class FinalWelcomeUtil { 4 | 5 | public final String getWelcomeMessage(String name) { 6 | return String.format("Welcome %s", name); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /libraries/mockito-static/src/main/java/com/frontbackend/libraries/mockito/WelcomeUtil.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito; 2 | 3 | public final class WelcomeUtil { 4 | 5 | public static String generateWelcome(String name) { 6 | return String.format("Welcome %s", name); 7 | } 8 | 9 | private WelcomeUtil() { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /libraries/mockito/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | mockito.iml -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/db/DBConnection.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.db; 2 | 3 | public class DBConnection { 4 | public void open() { 5 | } 6 | 7 | public void close() { 8 | } 9 | } -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/model/Basket.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.model; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import lombok.Getter; 7 | import lombok.NoArgsConstructor; 8 | 9 | @Getter 10 | @NoArgsConstructor 11 | public class Basket { 12 | 13 | private final List entries = new ArrayList<>(); 14 | } 15 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/model/BasketEntry.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @Getter 7 | @AllArgsConstructor 8 | public class BasketEntry { 9 | 10 | private final Product product; 11 | private final double quantity; 12 | } 13 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/model/Car.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.model; 2 | 3 | public class Car { 4 | 5 | private final Driver driver; 6 | 7 | public Car(Driver driver) { 8 | this.driver = driver; 9 | } 10 | 11 | public String printWelcome() { 12 | return String.format("Welcome %s!", driver.getName()); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/model/Driver.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.model; 2 | 3 | public class Driver { 4 | 5 | private final String name; 6 | 7 | public Driver(String name) { 8 | this.name = name; 9 | } 10 | 11 | public String getName() { 12 | return name; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/model/Product.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | @Getter 7 | @AllArgsConstructor 8 | public class Product { 9 | 10 | private final String name; 11 | private final double price; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/service/FooService.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.service; 2 | 3 | public class FooService { 4 | 5 | private T obj; 6 | 7 | public T getValue() { 8 | return obj; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/service/ListProcessor.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.service; 2 | 3 | import java.util.List; 4 | import java.util.stream.Collectors; 5 | 6 | public class ListProcessor { 7 | 8 | public List processList(List list) { 9 | return list.stream() 10 | .map(str -> String.format("%s:processed", str)) 11 | .collect(Collectors.toList()); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/service/SimpleMailService.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.service; 2 | 3 | public class SimpleMailService { 4 | 5 | public boolean sendEmail(String body) { 6 | // send email 7 | 8 | return true; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/service/SimpleMultiplicationService.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.service; 2 | 3 | public class SimpleMultiplicationService { 4 | 5 | public double multiplication(double a, double b) { 6 | return a * b; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/service/SimpleSummingService.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.service; 2 | 3 | public class SimpleSummingService { 4 | 5 | public double sum(double a, double b) { 6 | return a + b; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /libraries/mockito/src/main/java/com/frontbackend/libraries/mockito/service/ThrowingService.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.mockito.service; 2 | 3 | public class ThrowingService { 4 | 5 | public void someVoidMethod(int value) { 6 | System.out.println(1000 / value); 7 | } 8 | 9 | public int someNotVoidMethod(int value) { 10 | return 10000 / value; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /libraries/powermock/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /powermock.iml -------------------------------------------------------------------------------- /libraries/powermock/src/main/java/com/frontbackend/libraries/powermock/utils/WelcomeUtil.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.libraries.powermock.utils; 2 | 3 | public final class WelcomeUtil { 4 | 5 | public static String generateWelcome(String name) { 6 | return String.format("Welcome %s", name); 7 | } 8 | 9 | private WelcomeUtil() { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot/.idea/.name: -------------------------------------------------------------------------------- 1 | custom-banner -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /angular11-spring-boot2-download-file.iml -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
2 | 7 | 8 |
9 | 10 |
11 |
-------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styles: [] 7 | }) 8 | export class AppComponent { 9 | title = 'angular'; 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/app/components/files/files.component.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/app/model/file-data.ts: -------------------------------------------------------------------------------- 1 | export class FileData { 2 | filename?: string; 3 | contentType?: string; 4 | size?: number; 5 | } -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-file/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | files.path=/home/marcinw/own/uploads -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /angular11-spring-boot2-download-pdf-excel-csv.iml -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
2 | 7 | 8 |
9 | 10 |
11 |
-------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styles: [] 7 | }) 8 | export class AppComponent { 9 | title = 'angular'; 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/app/components/files/files.component.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | Download PDF
5 | 6 | Download Excel
7 | 8 | Download CSV
9 | 10 |
-------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-download-pdf-excel-csv/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | files.path=/home/marcinw/own/uploads -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/.gitignore: -------------------------------------------------------------------------------- 1 | /angular11-spring-boot2-mongodb-datatable.iml 2 | /target 3 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styles: [] 7 | }) 8 | export class AppComponent { 9 | title = 'angular'; 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/app/model/employee.model.ts: -------------------------------------------------------------------------------- 1 | export class Employee { 2 | id?: string; 3 | firstName?: string; 4 | lastName?: string; 5 | position?: string; 6 | salary?: number; 7 | startDate?: Date; 8 | checked: boolean; 9 | } -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/app/services/validation.service.ts: -------------------------------------------------------------------------------- 1 | export class ValidationService { 2 | static getValidatorErrorMessage(validatorName: string, validatorValue?: any) { 3 | let config = { 4 | required: 'This field is required', 5 | pattern: `Incorrect value, required pattern: ${validatorValue.requiredPattern}` 6 | }; 7 | 8 | return config[validatorName]; 9 | } 10 | } -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | baseUrl: 'http://production.url' 4 | }; 5 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Angular 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/src/main/java/com/frontbackend/springboot/model/Position.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.model; 2 | 3 | public enum Position { 4 | 5 | CEO, 6 | SOFTWARE_ENGINEER, 7 | SENIOR_JAVASCRIPT_DEVELOPER, 8 | INTEGRATION_SPECIALIST 9 | 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/src/main/java/com/frontbackend/springboot/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.repository; 2 | 3 | import java.util.UUID; 4 | 5 | import org.springframework.data.mongodb.repository.MongoRepository; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import com.frontbackend.springboot.model.Employee; 9 | 10 | @Repository 11 | public interface EmployeeRepository extends MongoRepository { 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mongodb-datatable/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.mongodb.authentication-database=admin 2 | spring.data.mongodb.username=mongoadmin 3 | spring.data.mongodb.password=secret 4 | spring.data.mongodb.database=test 5 | spring.data.mongodb.port=27888 6 | spring.data.mongodb.host=localhost 7 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /angular11-spring-boot2-mysql.iml -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/app/app.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/app/app.component.css -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/app/model/post.model.ts: -------------------------------------------------------------------------------- 1 | export class Post { 2 | id?: any; 3 | title?: string; 4 | content?: string; 5 | tags?: string; 6 | published?: boolean; 7 | } -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Angular 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-mysql/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url= jdbc:mysql://localhost:3306/testdb?allowPublicKeyRetrieval=true&useSSL=false 2 | spring.datasource.username=root 3 | spring.datasource.password=mysql 4 | 5 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect 6 | 7 | # Hibernate ddl auto (create, create-drop, validate, update) 8 | spring.jpa.hibernate.ddl-auto=update -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /angular11-spring-boot2-pdf-viewer.iml -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/app/app.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/app/app.component.css -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-pdf-viewer/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | pdf.path=/home/marcinw/own/uploads -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /angular11-spring-boot2-postgresql.iml -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/app/app.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/app/app.component.css -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/app/model/post.model.ts: -------------------------------------------------------------------------------- 1 | export class Post { 2 | id?: any; 3 | title?: string; 4 | content?: string; 5 | tags?: string; 6 | published?: boolean; 7 | } -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-postgresql/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:postgresql://localhost:5432/db 2 | spring.datasource.username=username 3 | spring.datasource.password=password 4 | 5 | spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true 6 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect 7 | 8 | spring.jpa.hibernate.ddl-auto=create -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /angular11-spring-boot2-upload-file-with-progress.iml -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
2 | 7 | 8 |
9 | 10 |
11 |
-------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styles: [] 7 | }) 8 | export class AppComponent { 9 | title = 'angular'; 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | baseUrl: 'https://production.url' 4 | }; 5 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/src/main/java/com/frontbackend/springboot/exceptions/FileUploadException.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.exceptions; 2 | 3 | public class FileUploadException extends RuntimeException { 4 | 5 | public FileUploadException(String msg) { 6 | super(msg); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/src/main/java/com/frontbackend/springboot/model/UploadResponseMessage.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.model; 2 | 3 | public class UploadResponseMessage { 4 | 5 | private final String responseMessage; 6 | 7 | public UploadResponseMessage(String responseMessage) { 8 | this.responseMessage = responseMessage; 9 | } 10 | 11 | public String getResponseMessage() { 12 | return responseMessage; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file-with-progress/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | upload.path=/path/to/folder 3 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /angular11-spring-boot2-upload-file.iml -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
2 | 7 | 8 |
9 | 10 |
11 |
-------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styles: [] 7 | }) 8 | export class AppComponent { 9 | title = 'angular'; 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | baseUrl: 'https://production.url' 4 | }; 5 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/frontend/angular/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/src/main/java/com/frontbackend/springboot/exceptions/FileUploadException.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.exceptions; 2 | 3 | public class FileUploadException extends RuntimeException { 4 | 5 | public FileUploadException(String msg) { 6 | super(msg); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/src/main/java/com/frontbackend/springboot/model/UploadResponseMessage.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.model; 2 | 3 | public class UploadResponseMessage { 4 | 5 | private final String responseMessage; 6 | 7 | public UploadResponseMessage(String responseMessage) { 8 | this.responseMessage = responseMessage; 9 | } 10 | 11 | public String getResponseMessage() { 12 | return responseMessage; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot/angular11-spring-boot2-upload-file/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | upload.path=/home/marcinw/own/uploads 3 | -------------------------------------------------------------------------------- /spring-boot/build-war/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /build-war.iml 4 | -------------------------------------------------------------------------------- /spring-boot/build-war/README.md: -------------------------------------------------------------------------------- 1 | docker run -it -p 8080:8080 -v [... root path]/tutorials/spring-boot/build-war/target/build-war-0.0.1-SNAPSHOT.war/:/usr/local/tomcat/webapps/ROOT.war -v [... root path]/tutorials/spring-boot/build-war/target/build-war-0.0.1-SNAPSHOT:/usr/local/tomcat/webapps/ROOT tomcat 2 | -------------------------------------------------------------------------------- /spring-boot/build-war/src/main/java/com/frontbackend/springboot/controller/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.controller; 2 | 3 | import org.springframework.web.bind.annotation.RequestMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | @RestController 7 | public class HomeController { 8 | 9 | @RequestMapping("/") 10 | public String index() { 11 | return "Hello World!"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot/custom-banner/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /custom-banner.iml 4 | -------------------------------------------------------------------------------- /spring-boot/custom-banner/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/custom-banner/README.md -------------------------------------------------------------------------------- /spring-boot/custom-banner/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | _____ _ ____ _ _____ _ 2 | | ___| __ ___ _ __ | |_| __ ) __ _ ___| | _| ____|_ __ __| | 3 | | |_ | '__/ _ \| '_ \| __| _ \ / _` |/ __| |/ / _| | '_ \ / _` | 4 | | _|| | | (_) | | | | |_| |_) | (_| | (__| <| |___| | | | (_| | 5 | |_| |_| \___/|_| |_|\__|____/ \__,_|\___|_|\_\_____|_| |_|\__,_| 6 | ${spring-boot.version} ---------------------------------------------------- 7 | -------------------------------------------------------------------------------- /spring-boot/getting-started-with-mongodb/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /getting-started-with-mongodb.iml -------------------------------------------------------------------------------- /spring-boot/getting-started-with-mongodb/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/getting-started-with-mongodb/src/main/java/com/frontbackend/springboot/repository/SnippetRepository.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.repository; 2 | 3 | import com.frontbackend.springboot.model.Snippet; 4 | import org.springframework.data.mongodb.repository.MongoRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface SnippetRepository extends MongoRepository { 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot/getting-started-with-mongodb/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.mongodb.authentication-database=admin 2 | spring.data.mongodb.username=root 3 | spring.data.mongodb.password=secret 4 | spring.data.mongodb.database=test 5 | spring.data.mongodb.port=27888 6 | spring.data.mongodb.host=localhost -------------------------------------------------------------------------------- /spring-boot/getting-started-with-mongodb/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.mongodb.authentication-database=admin 2 | spring.data.mongodb.username=mongoadmin 3 | spring.data.mongodb.password=secret 4 | spring.data.mongodb.database=test 5 | spring.data.mongodb.port=27888 6 | spring.data.mongodb.host=localhost -------------------------------------------------------------------------------- /spring-boot/getting-started-with-redis/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /getting-started-with-redis.iml -------------------------------------------------------------------------------- /spring-boot/getting-started-with-redis/src/main/java/com/frontbackend/springboot/repository/UserSessionRepository.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.repository; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import com.frontbackend.springboot.model.UserSession; 7 | 8 | @Repository 9 | public interface UserSessionRepository extends CrudRepository { 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/getting-started-with-redis/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | redis.host=localhost 2 | redis.port=6379 3 | redis.password=1hAe8EDX6gBG0pC8daeW 4 | redis.database=0 5 | 6 | spring.servlet.multipart.max-file-size=1MB 7 | spring.servlet.multipart.max-request-size=1MB -------------------------------------------------------------------------------- /spring-boot/getting-started/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /getting-started.iml -------------------------------------------------------------------------------- /spring-boot/hello-world/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /hello-world.iml 4 | -------------------------------------------------------------------------------- /spring-boot/hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/hello-world/README.md -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /react-drag-and-drop-taskboard-spring-boot2-postgresql.iml -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['react-app', 'react-app/jest', 'prettier'], 3 | plugins: ['prettier'], 4 | rules: { 5 | 'prettier/prettier': 'warn', 6 | 'no-console': 'warn', 7 | '@typescript-eslint/no-explicit-any': 'warn', 8 | }, 9 | }; 10 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run typecheck 5 | npx lint-staged 6 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "auto" 5 | } 6 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/public/favicon.ico -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/public/logo192.png -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/public/logo512.png -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/screenshots/example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/screenshots/example.jpg -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/src/app/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/src/shared/BaseTooltip.tsx: -------------------------------------------------------------------------------- 1 | import { Tooltip, TooltipProps } from 'antd'; 2 | import React from 'react'; 3 | 4 | type BaseTooltipProps = TooltipProps; 5 | 6 | function BaseTooltip(props: BaseTooltipProps) { 7 | return ; 8 | } 9 | 10 | export default BaseTooltip; 11 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/src/shared/SharedUtils.ts: -------------------------------------------------------------------------------- 1 | import { geekblue } from '@ant-design/colors'; 2 | 3 | export const colors = { 4 | primary: geekblue, 5 | }; 6 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/frontend/drag-and-drop-taskboard/src/taskboard/TaskboardTypes.ts: -------------------------------------------------------------------------------- 1 | export interface TaskboardItem { 2 | id: string; 3 | title: string; 4 | description: string; 5 | position: number; 6 | status: TaskboardItemStatus; 7 | } 8 | 9 | export enum TaskboardItemStatus { 10 | TO_DO = 'To Do', 11 | IN_PROGRESS = 'In Progress', 12 | DONE = 'Done', 13 | } 14 | 15 | 16 | export type TaskboardData = Record; -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/src/main/java/com/frontbackend/springboot/exception/TaskNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.exception; 2 | 3 | public class TaskNotFoundException extends RuntimeException { 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/react-drag-and-drop-taskboard-spring-boot2-postgresql/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:postgresql://localhost:5432/test 2 | spring.datasource.username=postgres 3 | spring.datasource.password=password 4 | 5 | spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true 6 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect 7 | 8 | spring.jpa.hibernate.ddl-auto=create -------------------------------------------------------------------------------- /spring-boot/read-resources/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /read-resources.iml -------------------------------------------------------------------------------- /spring-boot/read-resources/src/main/resources/example.txt: -------------------------------------------------------------------------------- 1 | This is a sample file placed in resources folder -------------------------------------------------------------------------------- /spring-boot/spring-boot-for-testing-curl/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | /target -------------------------------------------------------------------------------- /spring-boot/spring-boot-for-testing-curl/src/main/java/com/frontbackend/springboot/curl/model/Address.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.curl.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | import lombok.ToString; 7 | 8 | @Setter 9 | @Getter 10 | @NoArgsConstructor 11 | @ToString 12 | public class Address { 13 | 14 | private String city; 15 | private String street; 16 | private String country; 17 | private String state; 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-for-testing-curl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | /target -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.ts] 12 | quote_type = single 13 | 14 | [*.md] 15 | max_line_length = off 16 | trim_trailing_whitespace = false 17 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 3 | "recommendations": ["angular.ng-template"] 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/app/app-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { RouterModule, Routes } from '@angular/router'; 3 | 4 | const routes: Routes = []; 5 | 6 | @NgModule({ 7 | imports: [RouterModule.forRoot(routes)], 8 | exports: [RouterModule] 9 | }) 10 | export class AppRoutingModule { } 11 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | [nz-form] { 2 | padding: 5rem; 3 | } 4 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Mention 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/src/styles.scss: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/frontend/mention/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/spec", 6 | "types": [ 7 | "jasmine" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/polyfills.ts" 13 | ], 14 | "include": [ 15 | "src/**/*.spec.ts", 16 | "src/**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/src/main/java/com/frontbackend/springboot/users/SaveTopUsersRequest.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.users; 2 | 3 | import java.util.List; 4 | import lombok.Getter; 5 | import lombok.NoArgsConstructor; 6 | import lombok.Setter; 7 | 8 | @NoArgsConstructor 9 | @Setter 10 | @Getter 11 | public class SaveTopUsersRequest { 12 | private List usernames; 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/src/main/java/com/frontbackend/springboot/users/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.users; 2 | 3 | import java.util.List; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | 6 | public interface UserRepository extends JpaRepository { 7 | 8 | List findByUsernameStartsWith(String searchFilter); 9 | 10 | List findAllByTopIsTrue(); 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-mention/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:postgresql://localhost:5432/db 2 | spring.datasource.username=username 3 | spring.datasource.password=password 4 | 5 | spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true 6 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect 7 | 8 | spring.jpa.hibernate.ddl-auto=update -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | /target -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.ts] 12 | quote_type = single 13 | 14 | [*.md] 15 | max_line_length = off 16 | trim_trailing_whitespace = false 17 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 3 | "recommendations": ["angular.ng-template"] 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styleUrls: ['./app.component.scss'] 7 | }) 8 | export class AppComponent { 9 | isCollapsed = false; 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/components/person-form-modal/person-form-modal.component.scss: -------------------------------------------------------------------------------- 1 | [nz-form] { 2 | width: 80%; 3 | margin: auto; 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/model/page.info.ts: -------------------------------------------------------------------------------- 1 | import { Sorting } from './sorting'; 2 | 3 | export interface PageInfo { 4 | pageNumber: number; 5 | pageSize: number; 6 | sort: Sorting[] | null; 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/model/page.response.ts: -------------------------------------------------------------------------------- 1 | export interface PageResponse { 2 | rows: T[]; 3 | totalElements: number; 4 | totalPages: number; 5 | } 6 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/model/person.filter.ts: -------------------------------------------------------------------------------- 1 | export interface PersonFilter { 2 | firstName: string; 3 | lastName: string; 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/model/person.page.request.ts: -------------------------------------------------------------------------------- 1 | import { PageInfo } from './page.info'; 2 | import { PersonFilter } from './person.filter'; 3 | 4 | export interface PersonPageRequest { 5 | pageInfo: PageInfo; 6 | filter: PersonFilter; 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/model/person.ts: -------------------------------------------------------------------------------- 1 | export interface Person { 2 | id: string; 3 | firstName: string; 4 | lastName: string; 5 | age: number; 6 | address: string; 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/model/sort.order.ts: -------------------------------------------------------------------------------- 1 | export enum SortOrder { 2 | ASC = 'ASC', 3 | DESC = 'DESC' 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/model/sorting.ts: -------------------------------------------------------------------------------- 1 | import { SortOrder } from './sort.order'; 2 | 3 | export interface Sorting { 4 | order: SortOrder; 5 | column: string; 6 | } 7 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/table/table.component.scss: -------------------------------------------------------------------------------- 1 | .search-box { 2 | padding: 8px; 3 | } 4 | 5 | .search-box input { 6 | width: 188px; 7 | margin-bottom: 8px; 8 | display: block; 9 | } 10 | 11 | .search-box button { 12 | width: 90px; 13 | } 14 | 15 | .search-button { 16 | margin-right: 8px; 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/welcome/welcome-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | import { WelcomeComponent } from './welcome.component'; 4 | 5 | const routes: Routes = [ 6 | { path: '', component: WelcomeComponent }, 7 | ]; 8 | 9 | @NgModule({ 10 | imports: [RouterModule.forChild(routes)], 11 | exports: [RouterModule] 12 | }) 13 | export class WelcomeRoutingModule { } 14 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/welcome/welcome.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/welcome/welcome.component.html -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/welcome/welcome.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/welcome/welcome.component.scss -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/welcome/welcome.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-welcome', 5 | templateUrl: './welcome.component.html', 6 | styleUrls: ['./welcome.component.scss'] 7 | }) 8 | export class WelcomeComponent implements OnInit { 9 | 10 | constructor() { } 11 | 12 | ngOnInit() { 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/app/pages/welcome/welcome.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | 3 | import { WelcomeRoutingModule } from './welcome-routing.module'; 4 | 5 | import { WelcomeComponent } from './welcome.component'; 6 | 7 | 8 | @NgModule({ 9 | imports: [WelcomeRoutingModule], 10 | declarations: [WelcomeComponent], 11 | exports: [WelcomeComponent] 12 | }) 13 | export class WelcomeModule { } 14 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/assets/.gitkeep -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/favicon.ico -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Table 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/src/styles.scss: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/app", 6 | "types": [] 7 | }, 8 | "files": [ 9 | "src/main.ts", 10 | "src/polyfills.ts" 11 | ], 12 | "include": [ 13 | "src/**/*.d.ts" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/frontend/table/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */ 2 | { 3 | "extends": "./tsconfig.json", 4 | "compilerOptions": { 5 | "outDir": "./out-tsc/spec", 6 | "types": [ 7 | "jasmine" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/polyfills.ts" 13 | ], 14 | "include": [ 15 | "src/**/*.spec.ts", 16 | "src/**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/src/main/java/com/frontbackend/springboot/person/controller/model/paging/SortOrder.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.person.controller.model.paging; 2 | 3 | public enum SortOrder { 4 | DESC, 5 | ASC 6 | } 7 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/src/main/java/com/frontbackend/springboot/person/controller/model/paging/Sorting.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.person.controller.model.paging; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Sorting { 11 | 12 | private String column; 13 | private SortOrder order; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/src/main/java/com/frontbackend/springboot/person/dto/PageDto.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.person.dto; 2 | 3 | import java.util.List; 4 | import lombok.Builder; 5 | import lombok.Getter; 6 | 7 | @Builder 8 | @Getter 9 | public class PageDto { 10 | private final int totalPages; 11 | private final long totalElements; 12 | private final List rows; 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/src/main/java/com/frontbackend/springboot/person/dto/PersonDto.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.person.dto; 2 | 3 | import java.util.UUID; 4 | import lombok.Builder; 5 | import lombok.Getter; 6 | 7 | @Builder 8 | @Getter 9 | public class PersonDto { 10 | private UUID id; 11 | private String firstName; 12 | private String lastName; 13 | private int age; 14 | private String address; 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/src/main/java/com/frontbackend/springboot/person/exception/PersonNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.person.exception; 2 | 3 | public class PersonNotFoundException extends RuntimeException { 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/spring-boot-postgresql-angular-ng-zorro-table/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:postgresql://localhost:5432/db 2 | spring.datasource.username=username 3 | spring.datasource.password=password 4 | 5 | spring.liquibase.change-log=classpath:/db-scripts/db-changelog-master.xml 6 | -------------------------------------------------------------------------------- /spring-boot/spring-boot2-junit5-mockito/.gitignore: -------------------------------------------------------------------------------- 1 | /spring-boot2-junit5-mockito.iml 2 | /target -------------------------------------------------------------------------------- /spring-boot/spring-boot2-junit5-mockito/src/main/java/com/frontbackend/springboot/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot/spring-boot2-junit5-mockito/src/main/java/com/frontbackend/springboot/service/HelloService.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.service; 2 | 3 | import org.springframework.stereotype.Service; 4 | 5 | @Service 6 | public class HelloService { 7 | 8 | public String getWelcomeMessage() { 9 | return "Hello World!"; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot/upload-file-into-filesystem/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /upload-file-into-filesystem.iml -------------------------------------------------------------------------------- /spring-boot/upload-file-into-filesystem/src/main/java/com/frontbackend/springboot/model/UploadResponseMessage.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.model; 2 | 3 | public class UploadResponseMessage { 4 | 5 | private final String responseMessage; 6 | 7 | public UploadResponseMessage(String responseMessage) { 8 | this.responseMessage = responseMessage; 9 | } 10 | 11 | public String getResponseMessage() { 12 | return responseMessage; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot/upload-file-into-filesystem/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | upload.path=/home/marcinw/own/uploads 3 | 4 | spring.servlet.multipart.max-file-size=700KB 5 | spring.servlet.multipart.max-request-size=700KB -------------------------------------------------------------------------------- /spring-boot/upload-file-to-postgresql/.gitignore: -------------------------------------------------------------------------------- 1 | /upload-file-to-postgresql.iml 2 | /target -------------------------------------------------------------------------------- /spring-boot/upload-file-to-postgresql/src/main/java/com/frontbackend/springboot/repository/FileRepository.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import com.frontbackend.springboot.model.FileEntity; 7 | 8 | @Repository 9 | public interface FileRepository extends JpaRepository { 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/upload-file-to-redis/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /upload-file-to-redis.iml -------------------------------------------------------------------------------- /spring-boot/upload-file-to-redis/src/main/java/com/frontbackend/springboot/model/UserSession.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.model; 2 | 3 | public class UserSession { 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/upload-file-to-redis/src/main/java/com/frontbackend/springboot/repository/FileRepository.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.repository; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import com.frontbackend.springboot.model.FileEntity; 7 | 8 | @Repository 9 | public interface FileRepository extends CrudRepository { 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot/upload-file-to-redis/src/main/java/com/frontbackend/springboot/repository/UserSessionRepository.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.springboot.repository; 2 | 3 | public class UserSessionRepository { 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot/upload-file-to-redis/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | redis.host=localhost 2 | redis.port=6379 3 | redis.password=1hAe8EDX6gBG0pC8daeW 4 | redis.database=0 5 | 6 | spring.servlet.multipart.max-file-size=1MB 7 | spring.servlet.multipart.max-request-size=1MB -------------------------------------------------------------------------------- /thymeleaf/first-thymeleaf-application/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /first-thymeleaf-application.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/first-thymeleaf-application/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/first-thymeleaf-application/README.md -------------------------------------------------------------------------------- /thymeleaf/first-thymeleaf-application/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/first-thymeleaf-application/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Spring Boot Thymeleaf Application - Hello World 6 | 7 | 8 |

Welcome to Thymeleaf Spring Boot

9 |

10 | Hello, [name] 11 |

12 | 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-autocomplete-input/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-autocomplete-input.iml 2 | /target/ 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-autocomplete-input/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-autocomplete-input/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Birthplace.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Getter 8 | @Setter 9 | @NoArgsConstructor 10 | public class Birthplace { 11 | 12 | private State state; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-autocomplete-input/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/StateItem.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Builder; 4 | import lombok.Getter; 5 | 6 | @Getter 7 | @Builder 8 | public class StateItem { 9 | 10 | private State id; 11 | private String text; 12 | private String slug; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-checkbox-tree/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | /thymeleaf-bootstrap-checkbox-tree.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-checkbox-tree/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-code-editor/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-code-editor.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-code-editor/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-code-editor/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Snippet.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Snippet { 11 | 12 | private String mime; 13 | 14 | private String code; 15 | 16 | private String lang; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-code-editor/src/main/resources/static/assets/codemirror/addon/display/fullscreen.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-fullscreen { 2 | position: fixed; 3 | top: 0; left: 0; right: 0; bottom: 0; 4 | height: auto; 5 | z-index: 9; 6 | } 7 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-code-editor/src/main/resources/static/assets/codemirror/addon/search/matchesonscrollbar.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-search-match { 2 | background: gold; 3 | border-top: 1px solid orange; 4 | border-bottom: 1px solid orange; 5 | -moz-box-sizing: border-box; 6 | box-sizing: border-box; 7 | opacity: .5; 8 | } 9 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-code-editor/src/main/resources/static/assets/codemirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-color-picker/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-color-picker.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-color-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-color-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Colors.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Colors { 11 | 12 | private String hex; 13 | 14 | private String rgb; 15 | 16 | private String hsl; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-countdown/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-countdown.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-countdown/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-country-picker/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-country-picker.iml 2 | /target/ 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-country-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-country-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Address.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Address { 11 | 12 | private String country; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-country-picker/src/main/resources/static/assets/bootstrap-select-country/css/images/flags16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-country-picker/src/main/resources/static/assets/bootstrap-select-country/css/images/flags16.png -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-datatable/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-datatable.iml 2 | /target/ 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-datatable/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-datatable/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/paging/Direction.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model.paging; 2 | 3 | public enum Direction { 4 | 5 | asc, 6 | desc; 7 | } 8 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-datatable/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/paging/Order.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model.paging; 2 | 3 | import lombok.*; 4 | 5 | @Setter 6 | @Getter 7 | @NoArgsConstructor 8 | @AllArgsConstructor 9 | @EqualsAndHashCode 10 | public class Order { 11 | 12 | private Integer column; 13 | private Direction dir; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-datatable/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/paging/Search.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model.paging; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Search { 11 | 12 | private String value; 13 | private String regexp; 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-date-formatting/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /thymeleaf-bootstrap-date-formatting.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-date-formatting/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-date-formatting/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | home.title=Title 2 | date.format=MM/dd/yyyy -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-date-formatting/src/main/resources/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | home.title=Title 2 | date.format=MM/dd/yyyy -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-date-formatting/src/main/resources/messages_es.properties: -------------------------------------------------------------------------------- 1 | home.title=Título 2 | date.format=dd/MM/yyyy -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-date-range-picker/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-date-range-picker.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-date-range-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-datetime-picker/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-datetime-picker.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-datetime-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-dropzone/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | !/thymeleaf-bootstrap-dropzone.iml 3 | /target/ 4 | /thymeleaf-bootstrap-dropzone.iml 5 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-dropzone/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-dropzone/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.servlet.multipart.max-file-size=5MB 2 | spring.servlet.multipart.max-request-size=5MB -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-dual-listbox/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-dual-listbox.iml 2 | /target -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-dual-listbox/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-dual-listbox/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Options.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import java.util.List; 4 | 5 | import lombok.Getter; 6 | import lombok.NoArgsConstructor; 7 | import lombok.Setter; 8 | 9 | @Setter 10 | @Getter 11 | @NoArgsConstructor 12 | public class Options { 13 | 14 | private List selected; 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-date/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-bootstrap-input-date.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-date/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-date/src/main/resources/static/assets/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.datepicker.dates.ja={days:["日曜","月曜","火曜","水曜","木曜","金曜","土曜"],daysShort:["日","月","火","水","木","金","土"],daysMin:["日","月","火","水","木","金","土"],months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今日",format:"yyyy/mm/dd",titleFormat:"yyyy年mm月",clear:"クリア"}}(jQuery); -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-date/src/main/resources/static/assets/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.datepicker.dates["zh-TW"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["週日","週一","週二","週三","週四","週五","週六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",format:"yyyy年mm月dd日",weekStart:1,clear:"清除"}}(jQuery); -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-email/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-input-email.iml 2 | /target -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-email/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-email/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Form.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Form { 11 | 12 | private String email; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-mask/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | /thymeleaf-bootstrap-input-mask.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-mask/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-number/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-input-number.iml 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-number/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-number/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Form.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Form { 11 | 12 | private Long apples; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-number/target/classes/com/frontbackend/thymeleaf/bootstrap/Application.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-input-number/target/classes/com/frontbackend/thymeleaf/bootstrap/Application.class -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-number/target/classes/com/frontbackend/thymeleaf/bootstrap/controller/IndexController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-input-number/target/classes/com/frontbackend/thymeleaf/bootstrap/controller/IndexController.class -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-number/target/classes/com/frontbackend/thymeleaf/bootstrap/model/Form.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-input-number/target/classes/com/frontbackend/thymeleaf/bootstrap/model/Form.class -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-password/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | /target/ 3 | /thymeleaf-bootstrap-input-password.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-password/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/User.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class User { 11 | 12 | private String username; 13 | private String password; 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-password/src/main/resources/static/assets/password-strength-meter/passwordstrength.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-input-password/src/main/resources/static/assets/password-strength-meter/passwordstrength.jpg -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-spinner/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-input-spinner.iml 2 | /target/ 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-spinner/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-spinner/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Weather.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Weather { 11 | 12 | private float temp; 13 | 14 | private float wind; 15 | 16 | private float humidity; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-tel/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-input-tel.iml 2 | /target -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-tel/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-input-tel/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Form.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Form { 11 | 12 | private String phone; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-language-picker/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-language-picker.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-language-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-language-picker/target/classes/com/frontbackend/thymeleaf/bootstrap/Application.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-language-picker/target/classes/com/frontbackend/thymeleaf/bootstrap/Application.class -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-language-picker/target/classes/com/frontbackend/thymeleaf/bootstrap/config/WebConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-language-picker/target/classes/com/frontbackend/thymeleaf/bootstrap/config/WebConfig.class -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-language-picker/target/classes/com/frontbackend/thymeleaf/bootstrap/controller/IndexController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-language-picker/target/classes/com/frontbackend/thymeleaf/bootstrap/controller/IndexController.class -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-markdown-editor/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-markdown-editor.iml 2 | /target -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-markdown-editor/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-markdown-editor/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Post.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Post { 11 | 12 | private String title; 13 | private String content; 14 | private String html; 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-modal/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-modal.iml 2 | /target -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-modal/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-modal/src/main/resources/templates/modal1.html: -------------------------------------------------------------------------------- 1 | Dynamic content for Modal 1 -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-modal/src/main/resources/templates/modal2.html: -------------------------------------------------------------------------------- 1 | Hello ! Nice to see you. -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-pagination/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | /thymeleaf-bootstrap-pagination.iml 3 | /target -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-pagination/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-pagination/src/main/java/com/frontbackend/thymeleaf/bootstrap/posts/control/dao/PostDAO.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.posts.control.dao; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import com.frontbackend.thymeleaf.bootstrap.posts.entity.Post; 6 | 7 | public interface PostDAO extends JpaRepository { 8 | } 9 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-pagination/src/main/java/com/frontbackend/thymeleaf/bootstrap/posts/entity/paging/PageItemType.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.posts.entity.paging; 2 | 3 | public enum PageItemType { 4 | 5 | DOTS, 6 | PAGE 7 | 8 | } 9 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-pagination/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.driver-class-name=org.h2.Driver 2 | spring.datasource.url=jdbc:h2:mem:testdb;MODE=PostgreSQL;DB_CLOSE_DELAY=-1 3 | spring.datasource.username=h2 4 | spring.datasource.password=pass 5 | 6 | spring.liquibase.change-log=classpath:/db-scripts/db-changelog-master.xml 7 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-price-range-slider/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-price-range-slider.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-price-range-slider/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-price-range-slider/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/PriceRange.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | import lombok.NoArgsConstructor; 6 | import lombok.Setter; 7 | 8 | @Setter 9 | @Getter 10 | @NoArgsConstructor 11 | @AllArgsConstructor 12 | public class PriceRange { 13 | 14 | private int min; 15 | private int max; 16 | } 17 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-price-range-slider/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Product.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Product { 11 | 12 | private String name; 13 | private String material; 14 | private String brand; 15 | private Double price; 16 | } 17 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-radio-button/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-radio-button.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-radio-button/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-radio-button/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Car.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Car { 11 | 12 | private CarModel carModel; 13 | private int option; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-radio-button/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/CarModel.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | public enum CarModel { 4 | 5 | VW, 6 | SUZUKI, 7 | DODGE, 8 | VOLVO 9 | 10 | } 11 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rating-stars/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-rating-stars.iml 2 | /target/ 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rating-stars/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rating-stars/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Rating.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Getter 8 | @Setter 9 | @NoArgsConstructor 10 | public class Rating { 11 | 12 | private float stars; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-rich-text-editor.iml 2 | /target/ 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Post.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Post { 11 | 12 | private String title; 13 | private String content; 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.eot -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.ttf -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.woff -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/font/summernote.woff2 -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-ar-AR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-az-AZ.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-bg-BG.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-ca-ES.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-cs-CZ.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-da-DK.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-de-DE.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-el-GR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-es-ES.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-es-EU.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-fa-IR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-fi-FI.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-fr-FR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-gl-ES.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-he-IL.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-hr-HR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-hu-HU.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-id-ID.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-it-IT.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-ja-JP.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-ko-KR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-lt-LT.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-lt-LV.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-mn-MN.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-nb-NO.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-nl-NL.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-pl-PL.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-pt-BR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-pt-PT.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-ro-RO.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-ru-RU.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-sk-SK.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-sl-SI.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-sr-RS-Latin.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-sr-RS.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-sv-SE.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-ta-IN.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-th-TH.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-tr-TR.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-uk-UA.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-uz-UZ.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-vi-VN.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-zh-CN.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/lang/summernote-zh-TW.min.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! Summernote v0.8.16 | (c) 2013- Alan Hong and other contributors | MIT license */ 2 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-rich-text-editor/src/main/resources/static/assets/summernote/plugin/databasic/summernote-ext-databasic.css: -------------------------------------------------------------------------------- 1 | .ext-databasic { 2 | position: relative; 3 | display: block; 4 | min-height: 50px; 5 | background-color: cyan; 6 | text-align: center; 7 | padding: 20px; 8 | border: 1px solid white; 9 | border-radius: 10px; 10 | } 11 | 12 | .ext-databasic p { 13 | color: white; 14 | font-size: 1.2em; 15 | margin: 0; 16 | } 17 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-select-option/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-bootstrap-select-option.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-select-option/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-select-option/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Dip.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | public enum Dip { 4 | 5 | KETCHUP, 6 | MAYONNAISE, 7 | GARLIC 8 | } 9 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-select-option/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Order.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Order { 11 | 12 | private Pizza pizza; 13 | private Dip[] dips; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-select-option/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Pizza.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | public enum Pizza { 4 | 5 | MARGHERITA, 6 | PEPPERONI, 7 | CAPRICCIOSA, 8 | MUSHROOM, 9 | MARINARA, 10 | SEAFOOD, 11 | HAWAIIAN, 12 | VEGETARIANA, 13 | MEXICAN 14 | 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-slider/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-bootstrap-slider.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-slider/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-switch/.gitignore: -------------------------------------------------------------------------------- 1 | /thymeleaf-bootstrap-switch.iml 2 | /target -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-switch/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-table/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /thymeleaf-bootstrap-table.iml -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-table/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-table/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/paging/Page.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model.paging; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | import java.util.List; 7 | 8 | @Getter 9 | @AllArgsConstructor 10 | public class Page { 11 | List content; 12 | int totalPages; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-table/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/paging/PageItemType.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model.paging; 2 | 3 | public enum PageItemType { 4 | 5 | DOTS, 6 | PAGE 7 | 8 | } 9 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-table/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/paging/Paged.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model.paging; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @AllArgsConstructor 9 | @NoArgsConstructor 10 | public class Paged { 11 | 12 | private Page page; 13 | 14 | private Paging paging; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-tabs/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-bootstrap-tabs.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-tabs/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-tabs/src/main/resources/templates/_tab1.html: -------------------------------------------------------------------------------- 1 |

Tab1

2 | 3 |

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

-------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-tabs/src/main/resources/templates/_tab2.html: -------------------------------------------------------------------------------- 1 |

Tab2

2 | 3 |

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-tabs/src/main/resources/templates/_tab3.html: -------------------------------------------------------------------------------- 1 |

Tab3

2 | 3 |

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-tabs/src/main/resources/templates/empty.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-tabs/src/main/resources/templates/empty.html -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-telephone-input/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-telephone-input.iml 3 | /target/ 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-telephone-input/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-telephone-input/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Address.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Address { 11 | 12 | private String tel; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-telephone-input/src/main/resources/static/assets/intl-tel-input/img/flags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-telephone-input/src/main/resources/static/assets/intl-tel-input/img/flags.png -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-telephone-input/src/main/resources/static/assets/intl-tel-input/img/flags@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-telephone-input/src/main/resources/static/assets/intl-tel-input/img/flags@2x.png -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-timepicker/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /thymeleaf-bootstrap-timepicker.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-timepicker/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-timepicker/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Event.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Getter 8 | @Setter 9 | @NoArgsConstructor 10 | public class Event { 11 | 12 | private String title; 13 | private String description; 14 | private String time; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-timepicker/src/main/resources/static/assets/images/clock-bg-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martinwojtus/tutorials/f44749aa177d7ab1c32b84fd6dc70855fda12fd5/thymeleaf/thymeleaf-bootstrap-timepicker/src/main/resources/static/assets/images/clock-bg-sm.png -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-timezone-picker/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | /target/ 3 | /thymeleaf-bootstrap-timezone-picker.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-timezone-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-timezone-picker/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Settings.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Settings { 11 | 12 | private String timezone; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-toast/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /thymeleaf-bootstrap-toast.iml 3 | /target/ -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-toast/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-toast/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/EmailContainer.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class EmailContainer { 11 | 12 | private String email; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-toggle/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | !/thymeleaf-bootstrap-toggle.iml 3 | /target/ 4 | /thymeleaf-bootstrap-toggle.iml 5 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-toggle/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-toggle/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Setting.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Getter; 6 | import lombok.NoArgsConstructor; 7 | import lombok.Setter; 8 | 9 | @Setter 10 | @Getter 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | @Builder 14 | public class Setting { 15 | 16 | private String label; 17 | private boolean value; 18 | } 19 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-treetable/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /thymeleaf-bootstrap-treetable.iml -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-treetable/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-upload-file/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /thymeleaf-bootstrap-upload-file.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-upload-file/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-upload-file/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.servlet.multipart.max-file-size=5MB 2 | spring.servlet.multipart.max-request-size=5MB -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-wizard/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /thymeleaf-bootstrap-wizard.iml -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-bootstrap-wizard/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-conditionals/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /thymeleaf-conditionals.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-conditionals/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-conditionals/src/main/java/com/frontbackend/thymeleaf/snippets/model/Snippet.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.snippets.model; 2 | 3 | import lombok.Builder; 4 | import lombok.Getter; 5 | 6 | @Getter 7 | @Builder 8 | public class Snippet { 9 | 10 | private String title; 11 | private String code; 12 | private String language; 13 | private boolean published; 14 | private String author; 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-custom-dialect/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /thymeleaf-custom-dialect.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-custom-dialect/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-custom-dialect/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Spring Boot Thymeleaf Application - Custom Dialect 6 | 7 | 8 | 9 | Headline 10 | 11 |

Hello

12 | 13 | 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-data-attributes/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-data-attributes.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-data-attributes/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-data-attributes/src/main/java/com/frontbackend/thymeleaf/posts/model/Post.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.posts.model; 2 | 3 | import java.util.Date; 4 | 5 | import lombok.Builder; 6 | import lombok.Getter; 7 | 8 | @Getter 9 | @Builder 10 | public class Post { 11 | private int id; 12 | private String title; 13 | private Date date; 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-enums.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/java/com/frontbackend/thymeleaf/enums/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.enums; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/java/com/frontbackend/thymeleaf/enums/model/Birthplace.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.enums.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Getter 8 | @Setter 9 | @NoArgsConstructor 10 | public class Birthplace { 11 | 12 | private Country country; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/java/com/frontbackend/thymeleaf/enums/model/Country.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.enums.model; 2 | 3 | import lombok.Getter; 4 | 5 | public enum Country { 6 | 7 | SPAIN("Spain"), 8 | USA("United States of America"), 9 | UK("United Kingdom"); 10 | 11 | @Getter 12 | private String displayName; 13 | 14 | Country(String displayName) { 15 | this.displayName = displayName; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/java/com/frontbackend/thymeleaf/enums/model/Home.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.enums.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | import lombok.ToString; 7 | 8 | @ToString 9 | @Setter 10 | @Getter 11 | @NoArgsConstructor 12 | public class Home { 13 | 14 | private String title; 15 | private Planet planet; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/java/com/frontbackend/thymeleaf/enums/model/Planet.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.enums.model; 2 | 3 | public enum Planet { 4 | 5 | MERCURY, 6 | VENUS, 7 | EARTH, 8 | MARS, 9 | JUPITER, 10 | SATURN, 11 | URANUS, 12 | NEPTUNE 13 | 14 | } 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | planet.MERCURY=Mercury 2 | planet.VENUS=Venus 3 | planet.EARTH=Earth 4 | planet.MARS=Mars 5 | planet.JUPITER=Jupiter 6 | planet.SATURN=Saturn 7 | planet.URANUS=Uranus 8 | planet.NEPTUNE=Neptune 9 | submit.button=Submit 10 | 11 | home.title=Title 12 | home.planet=Planet 13 | home.selected=Selected planet -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/resources/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | planet.MERCURY=Mercury 2 | planet.VENUS=Venus 3 | planet.EARTH=Earth 4 | planet.MARS=Mars 5 | planet.JUPITER=Jupiter 6 | planet.SATURN=Saturn 7 | planet.URANUS=Uranus 8 | planet.NEPTUNE=Neptune 9 | submit.button=Submit 10 | 11 | home.title=Title 12 | home.planet=Planet 13 | home.selected=Selected planet -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/resources/messages_es.properties: -------------------------------------------------------------------------------- 1 | planet.MERCURY=Mercurio 2 | planet.VENUS=Venus 3 | planet.EARTH=Tierra 4 | planet.MARS=Marte 5 | planet.JUPITER=Júpiter 6 | planet.SATURN=Saturno 7 | planet.URANUS=Urano 8 | planet.NEPTUNE=Neptuno 9 | submit.button=Enviar 10 | 11 | home.title = Título 12 | home.planet = Planet 13 | home.selected = Planeta seleccionado -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-enums/src/main/resources/templates/selectedCountry.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Spring Boot Thymeleaf Application - Enums 6 | 7 | 8 | 9 |

Selected country

10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 | back 18 | 19 | 20 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-environment-parameters/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-environment-parameters.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-environment-parameters/src/main/java/com/frontbackend/environment/paramameters/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.environment.paramameters; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-environment-parameters/src/main/java/com/frontbackend/environment/paramameters/controller/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.environment.paramameters.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.GetMapping; 5 | 6 | @Controller 7 | public class HomeController { 8 | 9 | @GetMapping("/") 10 | public String home() { 11 | return "home"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-environment-parameters/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | some.string.property=String text 3 | some.boolean.property=false 4 | some.int.property=123456 -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-extras-java8time/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /thymeleaf-extras-java8time.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-extras-java8time/src/main/java/com/frontbackend/thymeleaf/extras/java8time/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.extras.java8time; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-forms/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | /target/ 3 | /thymeleaf-forms.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-forms/src/main/java/com/frontbackend/thymeleaf/forms/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.forms; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-forms/src/main/java/com/frontbackend/thymeleaf/forms/sample/model/SampleCheckboxes.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.forms.sample.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | import lombok.ToString; 7 | 8 | @ToString 9 | @NoArgsConstructor 10 | @Setter 11 | @Getter 12 | public class SampleCheckboxes { 13 | 14 | private SampleColor[] colors; 15 | 16 | private Boolean first; 17 | private Boolean second; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-forms/src/main/java/com/frontbackend/thymeleaf/forms/sample/model/SampleColor.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.forms.sample.model; 2 | 3 | public enum SampleColor { 4 | 5 | RED, 6 | BLUE, 7 | WHITE, 8 | GREEN 9 | } 10 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-forms/src/main/java/com/frontbackend/thymeleaf/forms/sample/model/SampleDropdowns.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.forms.sample.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | import lombok.ToString; 7 | 8 | @ToString 9 | @NoArgsConstructor 10 | @Setter 11 | @Getter 12 | public class SampleDropdowns { 13 | 14 | private SampleColor color; 15 | 16 | private SampleColor[] colors; 17 | } 18 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-forms/src/main/java/com/frontbackend/thymeleaf/forms/sample/model/SampleRadioButtons.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.forms.sample.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | import lombok.ToString; 7 | 8 | @ToString 9 | @NoArgsConstructor 10 | @Setter 11 | @Getter 12 | public class SampleRadioButtons { 13 | 14 | private SampleColor color; 15 | } 16 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-fragments/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-fragments.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-fragments/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-fragments/src/main/java/com/frontbackend/thymeleaf/controller/MainController.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.GetMapping; 5 | 6 | @Controller 7 | public class MainController { 8 | 9 | @GetMapping("/") 10 | public String main() { 11 | return "main"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-fragments/src/main/java/com/frontbackend/thymeleaf/model/Contact.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Getter; 6 | 7 | import java.util.List; 8 | 9 | @Builder 10 | @Getter 11 | @AllArgsConstructor 12 | public class Contact { 13 | 14 | private String name; 15 | private String email; 16 | private ContactType type; 17 | private List members; 18 | } 19 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-fragments/src/main/java/com/frontbackend/thymeleaf/model/ContactType.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.model; 2 | 3 | public enum ContactType { 4 | 5 | INDIVIDUAL, 6 | GROUP 7 | } 8 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-fragments/src/main/resources/templates/main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Spring Boot Thymeleaf Application - Fragments Main 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-hidden-input/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /thymeleaf-hidden-input.iml -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-hidden-input/src/main/java/com/frontbackend/thymeleaf/bootstrap/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-hidden-input/src/main/java/com/frontbackend/thymeleaf/bootstrap/model/Form.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.bootstrap.model; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | 7 | @Setter 8 | @Getter 9 | @NoArgsConstructor 10 | public class Form { 11 | 12 | private String email; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-if-else/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-if-else.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-if-else/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-iteration/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-iteration.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-iteration/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-iteration/src/main/java/com/frontbackend/thymeleaf/customers/model/Address.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.customers.model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class Address { 7 | 8 | private String street; 9 | private String city; 10 | private String zip; 11 | private String state; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-iteration/src/main/java/com/frontbackend/thymeleaf/customers/model/Customer.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.customers.model; 2 | 3 | import java.util.List; 4 | 5 | import lombok.Data; 6 | 7 | @Data 8 | public class Customer { 9 | 10 | private String firstName; 11 | private String lastName; 12 | private String email; 13 | private int age; 14 | private List
addressList; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-lazy-retrieval/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /thymeleaf-lazy-retrieval.iml 3 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-lazy-retrieval/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-lazy-retrieval/src/main/java/com/frontbackend/thymeleaf/users/model/User.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.users.model; 2 | 3 | import lombok.Builder; 4 | import lombok.Data; 5 | import lombok.Getter; 6 | 7 | @Getter 8 | @Builder 9 | public class User { 10 | 11 | private String username; 12 | private String email; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-map-iteration/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-map-iteration.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-map-iteration/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-map-iteration/src/main/java/com/frontbackend/thymeleaf/model/Car.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.model; 2 | 3 | import lombok.Builder; 4 | import lombok.Getter; 5 | 6 | import java.util.Date; 7 | 8 | @Getter 9 | @Builder 10 | public class Car { 11 | 12 | private String vin; 13 | private Color color; 14 | private String model; 15 | private Date productionDate; 16 | } 17 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-map-iteration/src/main/java/com/frontbackend/thymeleaf/model/Color.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.model; 2 | 3 | public enum Color { 4 | 5 | RED, 6 | WHITE, 7 | BLACK 8 | } 9 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-utility-lists/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-utility-lists.iml 4 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-utility-lists/src/main/java/com/frontbackend/thymeleaf/Application.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-utility-lists/src/main/java/com/frontbackend/thymeleaf/employee/model/Employee.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.employee.model; 2 | 3 | import lombok.Builder; 4 | import lombok.Getter; 5 | 6 | @Getter 7 | @Builder 8 | public class Employee { 9 | 10 | private String name; 11 | private Double salary; 12 | private EmployeePosition position; 13 | } 14 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-utility-lists/src/main/java/com/frontbackend/thymeleaf/employee/model/EmployeePosition.java: -------------------------------------------------------------------------------- 1 | package com.frontbackend.thymeleaf.employee.model; 2 | 3 | public enum EmployeePosition { 4 | 5 | MANAGER, 6 | DIRECTOR, 7 | CHIEF, 8 | SUPERVISOR 9 | 10 | } 11 | -------------------------------------------------------------------------------- /thymeleaf/thymeleaf-utility-uris/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target/ 3 | /thymeleaf-utility-uris.iml 4 | --------------------------------------------------------------------------------