Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmwylie19/nosqlvcache
https://github.com/cmwylie19/nosqlvcache
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cmwylie19/nosqlvcache
- Owner: cmwylie19
- Created: 2019-09-19T11:47:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T10:47:47.000Z (almost 2 years ago)
- Last Synced: 2024-04-22T00:21:40.074Z (8 months ago)
- Language: JavaScript
- Size: 444 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## NoSQL Service
> docker run -d -p 27017:27017 mongo
>
> $ docker start mongo
____________________________## Cache Service
> $ docker run -d -p 6379:6379 redis
>
> $ docker start redis
_____________________________## Run NODE
> $ npm i
>
> $ npm start
_____________________________## CLI USAGE
### Store Datacurl http://localhost:3332/cache/store/my-key\?some\=value\&some-other\=other-value
### Retreive Data
curl http://localhost:3332/cache/my-key
## Running containers
### Check if its running
docker ps### View logs
docker logs redis
docker logs mongo## Clean Up
docker stop redis
docker stop mongodocker rm -f redis
docker rm -f mongodocker rmi -f redis
docker rmi -f mongo