Use flask and redis to build the website