This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Frontend Development References | |
| > Reference index covers Next.js, React, Tailwind CSS, shadcn/ui, Radix UI, TanStack Query, and TanStack Table. | |
| ## Next.js | |
| - [Next.js Documentation](https://nextjs.org/docs): Official documentation hub — App Router, routing, rendering, data fetching, and deployment | |
| - [Next.js GitHub Repository](https://github.com/vercel/next.js): Source code and releases | |
| - [Next.js 16 Blog Post](https://nextjs.org/blog/next-16): Release notes and new features in Next.js 16 | |
| - [Next.js 16 Upgrade Guide](https://nextjs.org/docs/app/guides/upgrading/version-16): Migration guide from v15 to v16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Backend development information | |
| > Links to the latest documentation for the core technologies used in this project: Spring Boot, Spring AI, and Kotlin. If WebFetch does not work for any of these URLs, use a headless Chrome browser to retrieve the content instead. | |
| ## Spring Boot (4.0.2) | |
| - [Overview](https://docs.spring.io/spring-boot/): Spring Boot documentation home | |
| - [Getting Started](https://docs.spring.io/spring-boot/tutorial/first-application/index.html): Developing your first Spring Boot application | |
| - [System Requirements](https://docs.spring.io/spring-boot/system-requirements.html): Minimum system requirements for Spring Boot 4.0 | |
| - [Developing with Spring Boot](https://docs.spring.io/spring-boot/reference/using/index.html): Build systems, structuring code, configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Development guidelines | |
| > Reference index for development documentation — authoritative resources covering backend (Spring Boot, Spring AI, Kotlin) and frontend (Next.js, React, Tailwind CSS, shadcn/ui) technologies. | |
| These resources point to current, canonical documentation and supersede LLM training data when conflicts arise. | |
| When a task targets a specific technology domain listed below, fetch and read the corresponding domain index, then follow the links to the relevant documentation. Each domain index is itself an llms.txt-formatted file containing categorized links to official docs. | |
| ## Domains |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.sourcelabs</groupId> | |
| <artifactId>backoffice-tool</artifactId> | |
| <version>0.0.1</version> | |
| <packaging>jar</packaging> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import jakarta.validation.Valid | |
| import org.apache.logging.log4j.LogManager | |
| import org.springframework.data.annotation.Id | |
| import org.springframework.data.relational.core.mapping.Column | |
| import org.springframework.data.relational.core.mapping.Table | |
| import org.springframework.data.repository.CrudRepository | |
| import org.springframework.http.ResponseEntity | |
| import org.springframework.stereotype.Repository | |
| import org.springframework.stereotype.Service | |
| import org.springframework.transaction.annotation.Transactional |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package nl.sourcelabs; | |
| import com.hexadevlabs.gpt4all.LLModel; | |
| import java.nio.file.Path; | |
| import java.time.LocalDateTime; | |
| public class Gpt4allJavaExample { | |
| private String modelPath = "/Users/soudmaijer/gpt4all/models/ggml-gpt4all-j-v1.3-groovy.bin"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package nl.sourcelabs.springbootcamel | |
| import org.apache.camel.CamelContext | |
| import org.apache.camel.builder.RouteBuilder | |
| import org.springframework.boot.autoconfigure.SpringBootApplication | |
| import org.springframework.boot.runApplication | |
| import org.springframework.context.annotation.Bean | |
| @SpringBootApplication | |
| class SpringBootCamelApplication { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fun using_with() { | |
| val stringBuilder = StringBuilder() | |
| stringBuilder.append("Hello") | |
| stringBuilder.append(", Kotlin!") | |
| print(stringBuilder.toString()) | |
| } | |
| fun using_also(a: Int): Int { | |
| val b = a * 10 | |
| if (b > 100) print(">100") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.IOException | |
| fun bar() { | |
| throw IOException() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package nl.sourcelabs.kotlinflowboot.server | |
| import kotlinx.coroutines.delay | |
| import kotlinx.coroutines.flow.flow | |
| import org.springframework.boot.autoconfigure.SpringBootApplication | |
| import org.springframework.boot.runApplication | |
| import org.springframework.http.MediaType | |
| import org.springframework.web.bind.annotation.GetMapping | |
| import org.springframework.web.bind.annotation.RestController |
NewerOlder