ak4nv / boilerplate

Simple boilerplate for web apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple boilerplate for web apps

This is a simple boilerplate for web apps (aka SPA — Single Page Applications) with minimum dependencies. Ideally for start a new project like an internal information system.

Dependencies

Install

git clone git@github.com:ak04nv/boilerplate.git
cd boilerplate
virtualenv -p python3 --prompt="(boilerplate) " .env
. .env/bin/activate
pip install -r requirements.txt
export FLASK_APP=wsgi.py
export FLASK_DEBUG=1
flask run

Open http://localhost:5000 in your browser and use admin:admin for log in.

Commands

# Initialize database (create tables)
# Key --drop boolean for drop table if exists (default is False)

flask initdb --drop True

# Create superuser
flask createsuperuser

About

Simple boilerplate for web apps

License:MIT License


Languages

Language:JavaScript 87.8%Language:Python 7.9%Language:Vue 3.0%Language:HTML 1.3%