Skip to content

Commit d95f67b

Browse files
committed
notes from chapter
1 parent 924e0fa commit d95f67b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,17 @@ Feel free to use the
7373
in this repo to ✍🏼 your thoughts or even use the disqus comments section on the blogs.
7474

7575
Happy learning!
76+
77+
# Notes:
78+
To run api locally with python:
79+
- activate virtual environment
80+
- open the folder the API is in
81+
- execute 'python-server.py'
82+
- open swagger to check
83+
84+
Build the local database
85+
-inside the virtual environment 'python_build database.py' (creates a database with a table and inserted data)
86+
87+
starting the flask server 'python server.py' (this would run on the localhost 5000 port)
88+
89+
you can use postman to hit the API -

0 commit comments

Comments
 (0)