Starting a Flask App and setting up all of the files can be tedious! Use this template to get a basic boilerplate for your flask app!
Go to https://replit.com/@DillonB07/Flask-Template and Fork the repl!
This template sets everything up for you! All you need to do is create your routes, templates and css, upload your images and run the repl!
This is licensed under the LGPL v3.0 by default. To modify this, go to https://choosealicense.com, choose a license, and replace the contents of
LICENSE.txt. For open source, I recommend keeping LGPL v3.0.
- Commercial use
- Patent use
- Private use
- Disclose source
- License and copyright notice
- Same license (library)
- State changes
Learn more about GNU Lesser General Public License v3.0: https://choosealicense.com/licenses/lgpl-3.0/
Template created by DillonB07
@VulcanWM It let's you use routes in separate files. It's generally better, because all of your routes for one thing are in one place. For example, you would have all the authentication routes in an
auth.py blueprint. And you can give each blueprint it's own url prefix like
/blueprint and then an
@blueprint.route('/') refers to
domain.tld/blueprint. Saves you typing
/blueprint on each route.
Flask documentation - https://flask.palletsprojects.com/en/2.0.x/blueprints/