Boilerplate template formwork for a Python Flask application with Mysql,Build dynamic websites rapidly.

Overview

Overview

English | 简体中文


How to Build dynamic web rapidly? We choose Formwork-Flask.

Formwork is a highly packaged Flask Demo.

It's intergrates various code such as Mysql(Pymysql),function for web development purposes,route demo, template Demo and so on.

It's the easiest way and fastest way to create Flask dynamic website with Mysql.

Install

  • Run pip install -r requirements.txt to install required module or Run install.cmd / install.sh to install required module ( chmod +x install.sh && ./install.sh ) .

Run

  • Run chmod +x script.sh && ./script.sh on Linux. Run script.cmd on Windows.

How to Use

  • Change project/templates/ folder to add or modify static html,css,js file.( Optional )
  • Change project/routes/ folder to modify route file with .py suffix.( Optional )
  • If Mysql Database is needed,change formwork/project/database/pysql_config.py file to edit Mysql config.( Optional )
  • If Mysql Database is needed,follow Mysql Example to create new Mysql code.( Optional )
  • Follow Routes Example to create new routes code.( Optional )
  • Run chmod +x script.sh && ./script.sh on Linux. Run script.cmd on Windows.

Required Environment

  • Python 2.7+ version, better 3.6 version
  • Mysql( Optional )

Project Structure

├── .github
│   ├── workflows
│   │   ├── codeql-analysis.yml
│   ├── FUNDING.yml
├── instance
│   ├── config.py
├── project
│   ├── database
│   │   ├── __init__.py
│   │   ├── database.py
│   │   ├── pysql.py
│   │   ├── pysql_config.py
│   │   └── sql.py
│   ├── routes
│   │   ├── __init__.py 
│   │   ├── admin.py
│   │   ├── auth.py
│   │   ├── index.py
│   ├── services
│   │   ├── __init__.py 
│   │   ├── third_function.py 
│   │   ├── third_object.py
│   ├── templates
│   │   ├── PutHtmlCodeThere.md
│   ├── __init__.py
│   ├── data.py 
├── tests
│   ├── script_old.sh
│   ├── test.md
├── LICENSE
├── README_CN.md
├── README.md
├── install.cmd
├── install.sh
├── manage.py
├── script.cmd
├── script.sh
├── requirements.txt

Join us

Your help is more than welcome! Even just open an issue to ask a question may greatly help others.

You might also like...
flask-reactize is a boostrap to serve any React JS application via a Python back-end, using Flask as web framework.

flask-reactize Purpose Developing a ReactJS application requires to use nodejs as back end server. What if you want to consume external APIs: how are

Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.

Flask-Bcrypt Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application. Due to the recent increased prevelance of

Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.

Flask-Bcrypt Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application. Due to the recent increased prevelance of

A flask template with Bootstrap 4, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.
A flask template with Bootstrap 4, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.

cookiecutter-flask A Flask template for cookiecutter. (Supports Python ≥ 3.6) See this repo for an example project generated from the most recent vers

A Flask app template with integrated SQLAlchemy, authentication, and Bootstrap frontend

Flask-Bootstrap Flask-Bootstrap is an Flask app template for users to clone and customize as desired, as opposed to a Flask extension that you can ins

Flask starter template for better structuring.

Flask Starter app Flask starter template for better structuring. use the starter plate step 1 : cloning this repo through git clone the repo git clone

A template themes for phyton flask website
A template themes for phyton flask website

Flask Phyton Web template A template themes for phyton flask website

A template for Flask APIs.
A template for Flask APIs.

FlaskAPITempate A template for a Flask API. Why tho? I just wanted an easy way to create a Flask API. How to setup First, use the template. You can do

An easy way to build your flask skeleton.
An easy way to build your flask skeleton.

Flider What is Flider Flider is a lightweight framework that saves you time by creating a MVC compliant file structure and includes basic commonly use

Releases(1.1)
Owner
aswallz
aswallz
Flask Project Template A full feature Flask project template.

Flask Project Template A full feature Flask project template. See also Python-Project-Template for a lean, low dependency Python app. HOW TO USE THIS

Bruno Rocha 96 Dec 23, 2022
Flask-template - A simple template for make an flask api

flask-template By GaGoU :3 a simple template for make an flask api notes: you ca

GaGoU 2 Feb 17, 2022
flask-apispec MIT flask-apispec (🥉24 · ⭐ 520) - Build and document REST APIs with Flask and apispec. MIT

flask-apispec flask-apispec is a lightweight tool for building REST APIs in Flask. flask-apispec uses webargs for request parsing, marshmallow for res

Joshua Carp 617 Dec 30, 2022
This is a simple web application using Python Flask and MySQL database.

Simple Web Application This is a simple web application using Python Flask and MySQL database. This is used in the demonstration of development of Ans

Alaaddin Tarhan 1 Nov 16, 2021
The Snoopy boilerplate in flask framework for development enterprise application.

Snoopy What is snoopy! The "Snoopy" boilerplate in flask framework for development enterprise application. Motivation In my 10 years of development ex

Bekhzod 2 Sep 29, 2022
A weather report application build with Python, Flask, and Geopy.

A weather report application build with Python, Flask, and Geopy. Requirements Python 3

Brandon Wallace 6 May 7, 2022
A boilerplate Flask API for a Fullstack Project :rocket:

Flask Boilerplate to quickly get started with production grade flask application with some additional packages and configuration prebuilt.

Yasser Tahiri 32 Dec 24, 2022
Boilerplate code for basic flask web apps

Flask Boilerplate This repository contains boilerplate code to start a project instantly It's mainly for projects which you plan to ship in less than

Abhishek 6 Sep 27, 2021
Learn REST API with Flask, Mysql and Docker

Learn REST API with Flask, Mysql and Docker A project for you to learn to work a flask REST api with docker and the mysql database manager! Table of C

Aldo Matus 0 Jul 31, 2021
Making a simple app using React, Flask and MySQL.

Samys-Cookbook Making a simple app using React and Flask. What This will be a simple site to host my recipes. It will have a react front-end, a flask

Samridh Anand Paatni 1 Jul 7, 2022