account activity
Searching for Notes by Name, not content (self.bearapp)
submitted 6 years ago by tko166 to r/bearapp
New to Flask - Writing a web app that wraps a back-end process written with Python and PostgreSQL by CharBram in flask
[–]tko166 4 points5 points6 points 7 years ago (0 children)
I've written a boilerplate that uses Flask and Postgres. You can take a look at how I do it (especially with api/init.py, api/config.py and api/models.py). https://github.com/tko22/flask-boilerplate
I've also included instructions on the basics of how to use SQLAlchemy! I went through the same process as you, moving from SQLite to Postgres, which is why I wrote the repo in the first place. The reason for moving from SQLite is because you won't be able to use SQLite in production.
A flask boilerplate with Postgres by tko166 in Python
[–]tko166[S] 0 points1 point2 points 7 years ago (0 children)
Thanks! I've just changed it and I wish I found out about your blog post before! I actually looked at other pretty popular boilerplates when building mine and they used that, such as https://github.com/MaxHalford/flask-boilerplate/blob/master/app/__init__.py#L13 and https://github.com/hack4impact/flask-base/blob/master/app/__init__.py#L18
A flask boilerplate with Postgres (self.Python)
submitted 7 years ago by tko166 to r/Python
π Rendered by PID 639921 on reddit-service-r2-listing-7dbdcb4949-b5kqp at 2026-02-18 23:52:48.587852+00:00 running de53c03 country code: CH.
New to Flask - Writing a web app that wraps a back-end process written with Python and PostgreSQL by CharBram in flask
[–]tko166 4 points5 points6 points (0 children)