Rock paper scissors API
The API uses 'GET' method keeping in mind it can be tested in browser and it does not require tools like POSTMAN
http://hostname:5000/rockPaperScissors/input
http://hostname:5000/rockPaperScissors/rock http://hostname:5000/rockPaperScissors/paper http://hostname:5000/rockPaperScissors/scissors
Run the below command
pip3 install -r requirements.txt
Export an environment variable
export SECRET_KEY="secret_key"
To start the service
python3 app.py
All the data will be stored in an auto created db rock_paper_scissors.db
this can be explored by running the command sqlite3 rock_paper_scissors.db