ryansurf / cli-surf

Get surf and ocean data from the command line interface
MIT License
18 stars 29 forks source link

Change directory structure #20

Closed K-dash closed 4 months ago

K-dash commented 4 months ago

Quoted from: https://github.com/ryansurf/cli-surf/pull/19#issuecomment-2134374098

Moving index.html to the templates folder has blurred the boundary between backend and frontend. (With this modification, the frontend folder only contains script.js) If we plan to continue using Flask's template engine, I think it would be better to unify the frontend and backend directories as follows.

Specifically