- Notifications
You must be signed in to change notification settings - Fork1
Small HTTP API server for Redis, with built-in compression. Great for serverless environments
License
NotificationsYou must be signed in to change notification settings
arunesh90/http-redis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple HTTP API server for a Redis instance, with built-in compression.
REDIS_PORT
(optional): Port of your Redis instanceREDIS_HOST
(optional): Hostname/ip of your Redis instanceREDIS_PASS
(optional): Password of your Redis instanceAPP_PORT
(optional): App portAUTH_KEY
(optional): Requires all requests to have theAUTH_KEY
value set on theAuthorization
header
curl -X POST'127.0.0.1:8080/api/set/test' \--header'Content-Type: application/json' \--data'{ "value": "test", "compression": "brotli"}'# OKcurl'127.0.0.1:8080/api/get/test'# {# "found": true,# "compression": "brotli",# "value": "test"# }
docker pull arunesh90/http-redisdocker create arunesh90/http-redis \ -p 80:80 \# Optional options -e REDIS_PORT="6379" \ -e REDIS_HOST="127.0.0.1" \ -e REDIS_PASS="" \ -e APP_PORT="8080"
👤Arunesh
- Twitter:@arunesh90
- Github:@arunesh90
- Discord: Pepe#9999 (97774439319486464)
Give a ⭐️ if this project helped you!
This README was generated with ❤️ byreadme-md-generator
About
Small HTTP API server for Redis, with built-in compression. Great for serverless environments
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published