A simple database server poc that reads/writes from/to a json file using micro. Visit micro-db-server to give it a try.
git clone git@github.com:pauldariye/micro-db-server.git
cd micro-db-server && yarn
yarn dev
Visit localhost:3000
A request to the root path /
returns a snapshot of the data in the database
file.
A request to /set?key=value
will set the value
for the key key
.
A request to /get?key
will return value at key
if exists else 404
- RC
- jsonfile
MIT