Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bilalvdemir/cassandra-spring-example
Spring Boot Connect To Cassadra and Execute Query
https://github.com/bilalvdemir/cassandra-spring-example
cassandra cassandra-cql spring-boot
Last synced: 17 days ago
JSON representation
Spring Boot Connect To Cassadra and Execute Query
- Host: GitHub
- URL: https://github.com/bilalvdemir/cassandra-spring-example
- Owner: bilalvdemir
- License: apache-2.0
- Created: 2018-12-19T06:21:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-02T11:54:37.000Z (over 5 years ago)
- Last Synced: 2024-10-08T13:22:09.855Z (about 1 month ago)
- Topics: cassandra, cassandra-cql, spring-boot
- Language: Java
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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:
* [Docker For Windows](https://docs.docker.com/docker-for-windows/install/) - 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
```## Contributing
Please read [CHANGELOG.md](https://github.com/bilalvdemir/cassandra-spring-example/blob/master/CHANGELOG.md) for details on our code of conduct, and the process for submitting pull requests to us.
## Authors
* **Bilal Demir** - *Initial work* - [bilalvdemir](https://github.com/bilalvdemir)