Categorygithub.com/DeltaCube23/RESTful-key_value_store
modulepackage
0.0.0-20201212195638-f44f4f1edbe1
Repository: https://github.com/deltacube23/restful-key_value_store.git
Documentation: pkg.go.dev

# README

RESTful-key_value_store

The application uses gorilla/mux and has also been dockerized
Use curl to access the key value store and perform any of the CRUD functions

POST request : curl -d "value=<value>" -X POST http://localhost:8080/<key>
GET request : curl -X GET http://localhost:8080/<key>
PUT request : curl -d "value=<value>" -X PUT http://localhost:8080/<key>
DELETE request : curl -X DELETE http://localhost:8080/<key>

To build docker image use : docker build -t <dockerimage> .
To run docker container use : docker run -d -p 8080:8080 <dockerimage>