-
download docker desktop
-
run commands:
docker run --name mycass -p 9042:9042 -d cassandra:3.11.5 docker exec -it mycass cqlsh cqlsh> CREATE KEYSPACE accountdb WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; cqlsh> create table account_tbl (name text, status boolean, createts timestamp, userid text, primary key (userid)); cqlsh> insert into account_tbl (name , status , createts , userid) values ('john', true, toTimeStamp(now()), 'idjohn');
cqlsh> select * from account_tbl; -
start app
-
run following curl command: curl --location 'http://localhost:8075/Users/idjohn'
-
Notifications
You must be signed in to change notification settings - Fork 0
thaparraj/custom-conversions-sample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Custom Conversions
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published