Simple API that uses Redis as cache. Besides, this project consumes the Oxford Dictionaries API.
First, create a .env
file in the root of the project.
Then, add these variables:
HOSTNAME
PORT
OXFORD_DICTIONARY_API_URL
APP_ID
APP_KEY
docker build -t redis-project .
docker run -it --rm -p 80:3000 redis-project
After installing the Rest Client
extension on vscode
, open the requests.rest
file to send HTTP requests.
Redis is a server that provides data structures in order to cache our data. We can use it as a database, cache or message broker.