Git Product home page Git Product logo

golang-key-value-store's Introduction

Golang Key Value Service REST-API


Overview

This document specifies the tools used in the Key-Value store and reorganizes how to use them. In this created service, In-Memory Key-Value Service was created and how to use the API is specified in the HTML file in the folder named "doc". While writing the service, it was tried to comply with the "DDD" Design Pattern rules. In addition, the Go Documentation was followed and "The Uber Go-Style Guide" was used as a guide. It has been turned into a container with Docker. Licensed under the MIT License.


Operation Guide

In this service, the data is first pulled from the "mainData.json" file previously registered in the system, and the data recorded by the system in "/tmp/TIMESTAMP-data.json" is transferred to the "mainData.json" side every 1 minute. When the system stops and stands up again, the data is loaded into memory.


Endpoints
  • GET for a key or all keys.

  • PUT for set a key and value.

  • DELETE for all.

Check out the "doc" folder for a more detailed API Documentation.

For Using

  • Install Docker what you use operating system.
  • Go to the location where you uploaded the project
  • Run "docker build -t go-key-value ."
  • Run "docker run go-key-value"

golang-key-value-store's People

Contributors

emrbli avatar

Stargazers

omerfarukb avatar Betillø Galvan avatar

Watchers

James Cloos avatar  avatar

Forkers

waldirborbajr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.