An open API service indexing awesome lists of open source software.

https://github.com/razvanmtn/key-value-store

Simple key-value in-memory database implemented in Nodejs
https://github.com/razvanmtn/key-value-store

key-value nodejs rest-api

Last synced: 2 months ago
JSON representation

Simple key-value in-memory database implemented in Nodejs

Awesome Lists containing this project

README

          

# key-value-store

Simple key-value in-memory database implemented in Nodejs.

## Run

```
yarn start
```

## Rest Endpoints

Status text
`GET:/`

Fetch Value
`GET:/:key`

Create Value
`POST:/:key`

Create Value with expiration
`POST:/:key?ms=5000`

Delete Value
`DELETE:/:key`

## Build docker image

`docker build -t key-value-store .`

## Run docker image

`docker run -d -p 3000:3000 key-value-store`