docker/), Java 21, Maven, Spring Boot 3.x app in spring-boot-app/
├── docs/
│ ├── index.md # Home page with GitHub repo link
│ ├── theory/ # 8 comprehensive theory modules
│ │ ├── 01-nosql-and-cassandra.md # NoSQL concepts, CAP theorem, why Cassandra
│ │ ├── 02-core-concepts.md # Cluster, nodes, partition keys, RF, consistency
│ │ ├── 03-data-modeling.md # Query-first design, denormalization, time-series
│ │ ├── 04-indexes-and-mv.md # Secondary indexes, materialized views, dual-writes
│ │ ├── 05-consistency-lwt-batch.md # Consistency levels, Paxos, atomic writes
│ │ ├── 06-ttl-tombstones.md # Data expiration, tombstone management, compaction
│ │ ├── 07-aggregation-counters.md # Aggregation limits, counters, filtering
│ │ ├── 08-advanced.md # Hot partitions, multi-DC, security, monitoring
│ ├── interview-prep.md # Interview preparation guide
│ ├── interview-questions.md # Q&A for interviews and self-study
│ └── labs-overview.md # Lab exercises overview
├── labs/ # 11 progressive CQL lab exercises
│ ├── 01_keyspace_basics.cql
│ ├── 02_partitioning_clustering.cql
│ ├── 03_modeling_by_query.cql
│ ├── 04_indexes_and_mv.cql
│ ├── 05_consistency_lwt_batch.cql
│ ├── 06_ttl_tombstones.cql
│ ├── 07_aggregation_filtering.cql
│ ├── 08_relational_to_query_first.cql
│ ├── 09_multi_dc_replication.cql
│ ├── 10_security_basics.cql
│ └── 11_monitoring_and_repair.cql
├── docker/
│ ├── docker-compose.yml # 2-node Cassandra cluster setup
│ ├── init.cql # Schema initialization
│ └── start-2node.sh # Quick start script
└── spring-boot-app/ # Spring Boot 3.x application
├── pom.xml # Maven dependencies
└── src/main/ # Application source code
Each theory module now includes:
docker/docker-compose.yml: Two-node Cassandra cluster, quick testingdocker/init.cql: Base schema; lab exercises build on toplabs/README.md: Lab exercise descriptions and learning objectiveslabs/interview-questions.md: Interview Q&A and self-assessmentdocs/index.md: Documentation home with GitHub repo linkmkdocs.yml: Site navigation and MkDocs configuration.github/copilot-instructions.md: This file; context for AI coding assistance# Start Cassandra cluster
cd docker && docker-compose up -d
# Run individual lab exercise
cqlsh localhost 9042 < labs/02_partitioning_clustering.cql
# Connect to cqlsh for interactive testing
cqlsh localhost 9042
-- Check keyspace
DESC KEYSPACE keyspace_name;
-- View table schema
DESC TABLE table_name;
-- Check replication settings
SELECT * FROM system.local;