Categorygithub.com/dbgjerez/go-todo-rest-api-cassandra
modulepackage
0.0.0-20220425051648-efa64e2a0304
Repository: https://github.com/dbgjerez/go-todo-rest-api-cassandra.git
Documentation: pkg.go.dev

# README

Go Report Card

go-todo-rest-api-cassandra

Example using CQL and golang REST API.

Cassandra

Cassandra can be deployed using Docker. Cassandra is a powerfull NoSQL database used to store big amount of data.

Deploy

Docker

To run Cassandra in Docker container:

docker run -p 9042:9042 -d --name cassandra cassandra

When Cassandra is running, the following step is run the application, linking it with the database:

To build the container:

docker build -t todo-api .

When the application has been built as Docker image, to run it:

docker run -p 8000:8000 -e CASSANDRA_URL=cassandra:9042 --link=cassandra todo-api

Kubernetes

# Packages

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LOG_POST
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
POST
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author