To use this project, start by cloning the repository:
git clone https://github.com/vjanz/flask-cache-redis.git
cd into the project, and make a copy of .env_example
to .env
$ cp .env_example .env
You can run the application stack (Flask application and Redis) with Docker, respectively docker-compose.
docker-compose up -d --build
docker-compose down -v
We can use curl
to make requests to our API. There is one endpoint /universities
, so let's test that out.
curl localhost:5000/universities?country=Germany
This project is licensed under the terms of the MIT license.