A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

Overview

sanic-domonic-h5bp

Pipenv - Python version Imports: isort Code style: black

A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

If you need frontend interactivity, this template goes well with e.g. HTMX and HyperScript rather than your run-of-the-mill bloated JS framework du jour.

πŸ“‹ Requirements

  • python-3.8
  • pipenv

πŸƒ Running

git clone [email protected]:pyxy-dk/sanic-domonic-h5bp.git

cd sanic-domonic-h5bp

pipenv install --dev

pipenv shell

sanic src.sanic_domonic_h5bp.app

Note that Sanic does not officially support running on Windows.

πŸ—ΊοΈ File mapping from H5BP

The files from a standard download of H5BP 8.0 maps to the following files in this template project:

h5bp
β”‚
β”œβ”€β”€ css
β”‚   β”œβ”€β”€ main.css                      β‡’ ./src/sanic_domonic_h5bp/static/css/
β”‚   └── normalize.css                 β‡’ ./src/sanic_domonic_h5bp/static/css/
β”‚
β”œβ”€β”€ doc                               Β¬ Not included
β”‚
β”œβ”€β”€ img                               β‡’ ./src/sanic_domonic_h5bp/static/img/
β”‚
β”œβ”€β”€ js
β”‚   β”œβ”€β”€ vendor
β”‚   β”‚   └── modernizer-3.11.2.min.js  β‡’ ./src/sanic_domonic_h5bp/static/js/vendor/
β”‚   β”œβ”€β”€ main.js                       β‡’ ./src/sanic_domonic_h5bp/static/js/
β”‚   └── plugins.js                    β‡’ ./src/sanic_domonic_h5bp/static/js/
β”‚
β”œβ”€β”€ .editorconfig                     β‡’ expanded in ./.editorconfig
β”œβ”€β”€ .gitattributes                    β‡’ expanded in ./.gitattributes
β”œβ”€β”€ .gitignore                        β‡’ expanded in ./.gitignore
β”œβ”€β”€ .htaccess                         Β¬ Not included
β”œβ”€β”€ 404.html                          ⇏ Implemented in domonic
β”œβ”€β”€ browserconfig.xml                 β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ favicon.ico                       β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ humans.txt                        β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ icon.png                          β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ index.html                        ⇏ Implemented in domonic
β”œβ”€β”€ LICENSE.txt                       β‡’ ./LICENSE
β”œβ”€β”€ package.json                      Β¬ Not included
β”œβ”€β”€ package-lock.json                 Β¬ Not included
β”œβ”€β”€ robots.txt                        β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ site.webmanifest                  β‡’ ./src/sanic_domonic_h5bp/static/
β”œβ”€β”€ tile.png                          β‡’ ./src/sanic_domonic_h5bp/static/
└── tile-wide.png                     β‡’ ./src/sanic_domonic_h5bp/static/

πŸ™ Thanks to

Owner
PyXY
PyXY πŸ’– FOSS
PyXY
Get a Django app up and running in dev, test, and production with best practices in 10 minutes

Django template for Docker + Heroku This is how I set up Django projects to get up and running as quick as possible. In includes a few neat things: De

Ben Firshman 30 Oct 13, 2022
Generic template for python service

Cookie cutter template example Technology stack Flask Gevent UWSGI Poetry Docker Docker-compose Installation pip install cookiecutter cookiecutter git

Churkin Oleg 11 Oct 22, 2022
A boilerplate Django project for quickly getting started.

The Definitive Django Learning Platform. Django Project Boilerplate This repository is a boilerplate Django project for quickly getting started. Getti

Le Huynh Long 1 Nov 01, 2021
Combine the power of FastAPI and Django to build a production-ready application capable of utilizing all of the best features of both worlds.

FastAPI and Django Combo This projects aims to combine FastAPI and Django to build a Production ready application capable of utilizing all of the feat

Nsikak Imoh 33 Dec 27, 2022
Django project/application starter for lazybones :)

Django Project Starter Template My custom project starter for Django! I’ll try to support every upcoming Django releases as much as I can! Requirement

Uğur Γ–zyΔ±lmazel 40 Jul 16, 2022
A boilerplate for Django web applications

Django Hackathon Starter A boilerplate application for Django web applications. If you've attented hackathons, you already know how much time can be w

David Leonard 1.6k Dec 31, 2022
This is the starter for the Flask React project.

Flask React Project This is the starter for the Flask React project. Getting started Clone this repository (only this branch) git clone https://github

Jami Travers 5 May 25, 2022
Ultimate Django3.2 Template for starting any project from not zero!

Ultimate Django3.2 Template for starting any project from not zero!

TheAliBigdeli 37 Dec 20, 2022
A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework.

sanic-domonic-h5bp A template repository implementing HTML5 Boilerplate 8.0 in Sanic using the Domonic framework. If you need frontend interactivity,

PyXY 3 Dec 12, 2022
Brif is a boilerplate tool based on Docker and FastAPI, designed to streamline the development and deployment of IIIF compliant platforms.

brif A boilerplate tool based on Docker, designed to streamline the development and deployment of IIIF compliant platforms. Embedded with FastAPI, Cel

Pierre 8 Sep 17, 2022
King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server.

King A simple Discord bot boilerplate. King is a simple boilerplate from a bigger Discord Bot project created for my Discord Server. I intend to showc

Xminent 0 Aug 21, 2021
Forkable, Minimal Template for Starknet Projects.

Forkable, Minimal Template for Starknet Projects.

andreas 44 Oct 09, 2022
Django sample app with users including social auth via Django-AllAuth

demo-allauth-bootstrap Simple, out-of-the-box Django all-auth demo app A "brochure" or visitor (no login required) area A members-only (login required

Andrew E 215 Dec 20, 2022
Django starter project with πŸ”‹

A batteries-included Django starter project. For a production-ready version see the book Django for Professionals. πŸš€ Features Django 3.1 & Python 3.8

William Vincent 1.5k Jan 08, 2023
Boilerplate code for a Python Flask API

MrMat :: Python :: API :: Flask Boilerplate code for a Python Flask API This variant of a Python Flask API is code-first and using native Flask Featur

0 Dec 26, 2021
simple flask starter app utilizing docker

Simple flask starter app utilizing docker to showcase seasonal anime using jikanpy (myanimelist unofficial api).

Kennedy Ngugi Mwaura 5 Dec 15, 2021
Project template layout for Django 3.0+

Django 3.0+ project template This is a simple Django 3.0+ project template with my preferred setup. Most Django project templates make way too many as

JosΓ© Padilla 649 Dec 30, 2022
A Django project skeleton that is modern and cutting edge.

{% comment "This comment section will be deleted in the generated project" %} Edge A Fantastic Django project starter. Features Ready Bootstrap-themed

Arun Ravindran 827 Dec 15, 2022
Python example making use of best practice file structure and multithreading.

Python example making use of best practice file structure and multithreading.

Bob 1 Oct 13, 2021
Boilerplate for starting a python project

Python Project Boilerplate Simple boilerplate for starting a python proect. Using the repo Follow following steps to install client on server Create a

Prajwal Dahal 1 Nov 19, 2021