Skip to content

bburaksseyhan/todo-api

Repository files navigation

Go Doc Go Report Card GitHub stars

todo-api

run on docker 🚢

 docker-compose up -d  
 docker exec -it cassandra cqlsh; 

Screen Shot 2021-11-08 at 15 46 57

CREATE KEYSPACE todo WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1};
use todo

create table todo (id text primary key, title text, content text);

select * from todo

used packages 📦

  • Web framework: go get -u github.com/gin-gonic/gin
  • Read Configuration file : go get -u github.com/spf13/viper
  • Logging : go get -u github.com/sirupsen/logrus
  • Cassandra : go get -u github.com/gocql/gocql

documentation: Related Post. ✏️ 📖

About

Implemented Cassandra DB to GoLang API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published