Skip to content

dariye/micro-db-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micro-db-server

A simple database server poc that reads/writes from/to a json file using micro. Visit micro-db-server to give it a try.

Usage

git clone git@github.com:pauldariye/micro-db-server.git
cd micro-db-server && yarn
yarn dev

Visit localhost:3000

Operations

A request to the root path / returns a snapshot of the data in the database file.

Set

A request to /set?key=value will set the value for the key key.

Get

A request to /get?key will return value at key if exists else 404

Acknowledgement

  • RC
  • jsonfile

License

MIT

Releases

No releases published

Packages

No packages published