Simple expressjs
server application for providing a short user repository details
Application is using redis
for caching data.
By default, application is using local redis instance without authentication, and on the default port number
Dockerized versions is not requiring redis
npm install
npm start
then
curl http://localhost:5000/repositories/USER_NAME/REPO_NAME
npm run start:dev
npm run test
Application is using redis
for caching executed requests, by default redis
is holding those data for 60 seconds.
This can be changed in .env
file
There is preconfigured Docker image and docker-compose file with redis
docker-compose up