How strognoff/restoam-asset works
Project type and purpose
• This is a standalone backend microservice (“Asset module”) for managing assets in the “RestoAM” system.
• It provides CRUD operations (Create, Read, Update, Delete) over HTTP, backed by a Cassandra database.
File structure
• Top-level build scripts and configs: build.gradle, gradlew, .gitignore, application.yaml.
• Source code separation:
• Java entrypoint and configuration under src/main/java/restoamar/
• Domain model in domain/
• Repository interfaces in repository/ and a Cassandra implementation in CassandraAssetRepository
• Service layer interfaces and implementations in service/
• Web layer handlers and route definitions in web/
• Additional Kotlin routing under src/main/kotlin/cass/web/ (functional routes)
• Tests reside under src/test/java.
• Docker instructions in README illustrate Cassandra running in a container (external service).
README for additional insights
• Technology stack: Spring Boot (Java & some Kotlin), Cassandra DB (via Docker), Gradle build.
• No frontend component; this is purely a REST API microservice.
• Emphasis on scalability; likely uses non-blocking/Kotlin coroutines or Spring WebFlux functional endpoints.
Detailed capture of essential elements
• application.yaml feeding config into the app at startup.
• Interactions with the Docker CLI when initializing Cassandra.