Used simple pojo for showing MongDB CRUD operations and validations
This project includes:
- CREATE, Retrieve, Update, Delete Operations
- MVC Pattern
- Web Service
- Logger
- Exceptions
- Global exception handler
- Cassandra DB
- @Service
- @RestController
- @ResponseBody
- @GetMapping
- @PostMapping
- @PutMapping
- @DeleteMapping
- @ControllerAdvice
- @ExceptionHandler
- @Table
- @Column
- @PrimaryKey
-
Learn Docker version
docker -v
if docker dont installed:
- Docker For Windows - Download Setup
-
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
Please read CHANGELOG.md for details on our code of conduct, and the process for submitting pull requests to us.
- Bilal Demir - Initial work - bilalvdemir