Boilerplate Code Flask

screenshot of Boilerplate Code Flask

Boilerplate Code - Flask Template project | AppSeed

Overview:

Flask Boilerplate is a reference codebase used by AppSeed for all Flask Apps and Dashboard starters. This product incorporates an amazing design created by Creative-Tim. It offers up-to-date dependencies, database support for SQLite and MySQL with a silent fallback to SQLite. The product also includes powerful tools such as SQLAlchemy ORM and Flask-Migrate for schema migrations. It features session-based authentication, forms validation, and deployment using Docker and Flask-Minify for page compression.

Features:

  • Up-to-date dependencies
  • Database support: SQLite, MySQL with silent fallback to SQLite
  • DB Tools: SQLAlchemy ORM, Flask-Migrate for schema migrations
  • Session-Based authentication (via flask_login)
  • Forms validation
  • Docker
  • Flask-Minify for page compression

Start with Docker:

  1. Download the code from the GitHub repository (using GIT).
  2. Start the app using Docker.
  3. Visit http://localhost:5085 in your browser. The app should be up and running.

Manual Build:

Set Up for Unix, MacOS