Skip to content

bilalvdemir/cassandra-spring-example

Repository files navigation

Spring Boot Cassandra CRUD Example MVC

Used simple pojo for showing MongDB CRUD operations and validations

Getting Started

This project includes:

  • CREATE, Retrieve, Update, Delete Operations
  • MVC Pattern
  • Web Service
  • Logger
  • Exceptions
  • Global exception handler
  • Cassandra DB

Used Annotations

  • @Service
  • @RestController
  • @ResponseBody
  • @GetMapping
  • @PostMapping
  • @PutMapping
  • @DeleteMapping
  • @ControllerAdvice
  • @ExceptionHandler
  • @Table
  • @Column
  • @PrimaryKey

Start Application With Docker

  • Learn Docker version

    docker -v
    

    if docker dont installed:

  • Build docker in root directory

    docker build -f Dockerfile -t spring-cassandra-crud-example .
    
  • Show docker builded images

    docker images
    
  • Run docker image with exposed port

    docker run -p 8084:8084 spring-cassandra-crud-example
    

Contributing

Please read CHANGELOG.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

About

Spring Boot Connect To Cassadra and Execute Query

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published