Skip to content

muharremkoc/spring-boot-cassandra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-cassandra

This Project Goal,Spring Data Cassandra And CRUD API

Installation

  • First,docker-compose up -d
  • Second,docker ps and copy container ID

image

  • Third,docker exec -it containerID bash

image

-Fourth, write cqlsh

image

  • Fifth,describe keyspaces;

image

  • Sixth,[IF NOT EXISTS] your keyspace,Create keyspace( your application.properties.keyspace name)

'' cqlsh> CREATE KEYSPACE userkeyspace WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1};("Optional:3")

image

describe keyspaces;''

image

  • Seventh CREATE TABLE userList( id int PRIMARY KEY,firstName text,lastName text,age int,email text );

image

  • Last,describe keyspaces; and describe tables;

image

Muharrem Koç

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages