Skip to content

calderonroberto/flask-redis-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate

An example microservice using Flask and Redis.

This microservice uses Flask and Redis to store keys.

Deploy your own:

Deploy

Try it:

curl -H "Content-Type: application/json" -X PUT -d '{"value":123}' https://flask-redis.herokuapp.com/mysensor

curl https://flask-redis.herokuapp.com/mysensor

And another instance (by itamarhaber ):

https://github.com/itamarhaber/flask-redis-microservice

curl -H "Content-Type: application/json" -X PUT -d '{"value":123}' https://flask-redis-microservice.herokuapp.com/mysensor

curl https://flask-redis-microservice.herokuapp.com/mysensor

Dependencies:

  • Python >2.7 (Sorry boys not Python3 compatible)
  • Flask
  • Redis

To install dependencies run:

pip install flask
pip install redis

To run the tests run:

python app_tests.py

To run the application:

python app.py

Other Contributors:

itamarhaber

About

An example microservice using Flask and Redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages