https://github.com/t-mullen/express-remote-keystore
Express middleware for accessing a keystore over HTTP.
https://github.com/t-mullen/express-remote-keystore
Last synced: 3 months ago
JSON representation
Express middleware for accessing a keystore over HTTP.
- Host: GitHub
- URL: https://github.com/t-mullen/express-remote-keystore
- Owner: t-mullen
- Created: 2017-11-18T05:59:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-18T06:08:38.000Z (over 7 years ago)
- Last Synced: 2025-01-25T08:48:37.672Z (5 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# express-remote-keystore
Express middleware for accessing a keystore over HTTP.Uses [node-persist](https://github.com/simonlast/node-persist), so not suitable for system without a persistent filesystem.
```javascript
var app = express()
var e = erk()
app.use('/get', e.get)
app.use('/set', e.set)// example client
http.get('http://localhost:8080/set?key='+key+'&value='+value)
http.get('http://localhost:8080/set?key='+key)
```