Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agree. Simple Flask and HTML gets you a long way and is easy to deploy and manage.


Might want to give this a try. Thanks for sharing!


Flask will take you pretty far. I'm not sure I would build a build a business around it, but it's the easiest thing I've found for just getting some code up on the web.

This tutorial is a pretty in-depth guide that incrementally adds more features to a flask app: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...

By no means do you need to use everything in here, but I reference it from time to time. This is plenty:

    from flask import Flask, render_template

    app = Flask(__name__)


    @app.route("/")
    def index():
        return "<h1>hello world<h1>"


    @app.route("/foo")
    def foo():
        return render_template("foo.html", vars={"foo": "bar"})

    if __name__ == "__main__":
        app.run()


I work at a company pulling real cash, built mostly on Flask. Flask is one of the things I like the most about the stack.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: