natefduncan / flask-maria-boilerplate

Python runtime via Pyodide in Flask application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask + Maria DB Boilerplate

Flask and Maria DB run in Docker containers (python, mariadb, adminer). Code formatted with black, packages sorted with isort. CSS formatted with Bulma. SqlAlchemy and Marshmallow used for data models and serialization.

Installation

  1. Clone or fork repository.
  2. To install Bulma (CSS): npm install --prefix ./app/static bulma
  3. To build docker container: docker-compose build
  4. To run docker container: docker-compose up

Usage

  • Website: localhost:5000.
  • DB Interface: localhost:8081

About

Python runtime via Pyodide in Flask application

License:MIT License


Languages

Language:Python 50.8%Language:HTML 48.6%Language:Dockerfile 0.4%Language:Shell 0.1%