Skip to content

jensskott/supermarket-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supermarket api test

CREATE KEYSPACE api WITH REPLICATION = { 
  'class' : 'NetworkTopologyStrategy', 'eu-west' : 1 
};

CREATE TABLE supermarket (
  id UUID,
  name text,
  quantity int,
  PRIMARY KEY (id)
);
curl -X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'name=Cheese&&quantity=3' \
"http://localhost:8080/items/new"

config.yml

cassandracluster: "ip of cluster"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages