Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reubenmathew/sodadb
🥤 A beginner friendly concurrent datastore built on UDP
https://github.com/reubenmathew/sodadb
bash go key-value-store
Last synced: 11 days ago
JSON representation
🥤 A beginner friendly concurrent datastore built on UDP
- Host: GitHub
- URL: https://github.com/reubenmathew/sodadb
- Owner: ReubenMathew
- License: mit
- Created: 2020-05-04T13:55:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-22T14:08:16.000Z (over 4 years ago)
- Last Synced: 2024-11-06T07:42:00.579Z (2 months ago)
- Topics: bash, go, key-value-store
- Language: Go
- Homepage:
- Size: 2.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SodaDB
**A Beginner-Friendly Concurrent Datastore**[![Go Report Card](https://goreportcard.com/badge/github.com/ReubenMathew/SodaDB)](https://goreportcard.com/report/github.com/ReubenMathew/SodaDB)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FReubenMathew%2FSodaDB%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/ReubenMathew/SodaDB/goto?ref=master)Install
---
Visit the [releases](https://github.com/ReubenMathew/SodaDB/releases) page and download the latest release.If you don't see one compatible with your operating system, open an *Issue*.
*Issue templates for releases coming soon!*
Build from source
---
1. Clone repository
2. Run build.sh in `/tools` folder then navigate to `/build` for executables
or navigate to `/src` and run `go build .`Features
---
*More features will be added in the future*
- get
- setSupported Data Types
---
- Integer (32 Bit) (INT)
- String (STR)
- Character (CHAR)
- Byte (BYTE)Using the CLI
---
1. Run **SodaDB** executable
2. Choose to launch either the client or server application
3. Starting storing!Usage
---
### Set
#### Single Value
```
soda> set [datatype] [value] [key]
```
#### List
```
soda> set list [datatype] [values] [key]
```
***Example***
```
soda> set INT (1,4,2,5,2) foo // single
soda> set INT 300 bar // list
```### Get
```
soda> get [key]
```***Example***
```
soda> get foo
(1,4,2,5,2)soda> get bar
300
```**Drivers for Python, Go and TypeScript coming soon!**
Written with 💙
Inspired by:
- https://notes.eatonphil.com/database-basics.html
- https://jeffknupp.com/blog/2014/09/01/what-is-a-nosql-database-learn-by-writing-one-in-python/