From d95f67b95a0c9f5cef73b8823e3bd9d66be8e20c Mon Sep 17 00:00:00 2001 From: stefxm Date: Mon, 17 Jan 2022 11:13:33 -0500 Subject: [PATCH] notes from chapter --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6133800..ca481e1 100644 --- a/README.md +++ b/README.md @@ -73,3 +73,17 @@ Feel free to use the in this repo to ✍🏼 your thoughts or even use the disqus comments section on the blogs. Happy learning! + +# Notes: +To run api locally with python: +- activate virtual environment +- open the folder the API is in +- execute 'python-server.py' +- open swagger to check + +Build the local database +-inside the virtual environment 'python_build database.py' (creates a database with a table and inserted data) + +starting the flask server 'python server.py' (this would run on the localhost 5000 port) + +you can use postman to hit the API - \ No newline at end of file