Closed thisAKcode closed 1 year ago
@thisAKcode let me try it tomorrow, so it's not yet working?
@bbelderbos Hey
I think you could wait untill next week- it's quite a mess in code there. I will work on it on WE- I haven't had s time to look at it properly .
Otherwise you could focus on sending data to index html. What I wish to achieve right now is 1.By means of get method of api get data from sqlitedb
Send to template file index.html wich I want to be accecced at my route(/).
simply render plain text on html.
I have router.py and main py that both have code to make routes. I wish to move route thing from main to router.py
5 as bonus, practice use of jinja. (How do I use extend base).
@thisAKcode ok, keep coding and shoot me a PR next week (merge all in and make a new branch) with questions / blockers for me to review. Thanks. Have a good weekend.
I added some static html from loci to have a template leaflet app to continue with.
problem: the string below normally should render a map. http://127.0.0.1:8000/templates/index.html