r/javascript • • 20m ago

AskJS [AskJS] :: Need help with launching a simple one-page site

I'm launching a one-page mini directory with images hosted from my desktop, and currently the site is local hosted.

My tech stack is a basic html, css, and js. I plan on sending users to this one pager currently, but don't fully understand web-dev safety risks, or steps moving forward with deployment. 

Does one just send people directly once flask is setup or is there more steps moving forward. 

3 Upvotes

2 comments sorted by

•

u/Discordbothost 15m ago

if it's just static html/css/js with no backend logic, flask isn't needed at all - drop the folder on something like github pages, netlify or cloudflare pages and point your domain at it. flask only matters once you need server-side code like forms or a db; for a static page it's just extra stuff to secure and keep running.

•

u/Acceptable_Ad3464 12m ago

Thanks! Any issues with hosting images through my own device, or I can just drop them into netlify or cloudfare.