Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 649 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 649 Bytes

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 [email protected]: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