Git Product home page Git Product logo

quart_summernote_blog_simple's Introduction

quart_summernote_blog_simple

A simple blog built on Quart, Summernote (WYSIWIG editor) and TinyMongo

intent:

This small program is intended to demonstrate a simple blog built on Phil Jones' Quart microframework. It wouldn't take much to flesh this out with user authentication (flask_login) and a simple administrative interface.

I first learned of Quart from a EuroPython talk by Phil Jones. There is a nice medium.com article/video of that talk (https://medium.com/@pgjones/quart-an-asgi-alternative-to-flask-53915868d220)

Quart asyncio (https://github.com/pgjones/quart)

Quart is an ASYNC superset of Flask. The project takes some of the strongest features of Armin Ronacher's Flask project and moves it into the Python 3 asynchronous realm. Porting simple Flask apps to Quart is relatively trivial, but you should look carefully at their documentation. Some of the Flask addons will work with a "monkey patch" (quart.flask_ext). See the documentation and examples for details.

Summernote - a very nice JavaScript WYSIWYG editor (https://github.com/summernote/summernote).

All the styling and support come from Bootstrap 4 using a CDN for simplicity. The page templates could be easily changed to locally served static JavaScript (JQuery) and CSS. There are many good reasons to use CDN whenever you can ;-)

TinyMongo - serves as a simple database.

I like to think of it as a SQLite local version of PyMongo (https://github.com/schapman1974/tinymongo)

The TinyMongo could be easily changed to PyMongo with a remote database. But for simplicity, we keep the files local.

The structure is simple enough to be replaced by any other sort of database/ORM, i.e. SQLAlchemy, PeeWee, etc.

quart_summernote_blog_simple's People

Contributors

jefmud avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.