Skip to content

BaseMax/FirstRedisPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

First Redis Python (CRUD)

A tiny python web application based on Flask to set, get, expire, delete keys of Redis database easily with direct link at the browser.

Using

flask run

Routes

Set a new key with value: http://127.0.0.1:5000/set/name/Max

Update the value of a key: http://127.0.0.1:5000/update/name/NewMax

Get value of a key: http://127.0.0.1:5000/get/name

Set value to a key with expire time: http://127.0.0.1:5000/set/name/Max/5

Set expire time on a key: http://127.0.0.1:5000/expire/name/10

Delete a key: http://127.0.0.1:5000/delete/name

Note: You do not have to put / at the last of the URL, this is not allowed.

References

© Copyright Max Base, 2021

About

A tiny python web application based on Flask to set, get, expire, delete keys of Redis database easily with direct link at the browser.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages