Skip to content

Descent098/components-in-jinja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Components in Jinja

This repository is for the demo featured in https://kieranwood.ca/tech/blog/jinja-components/ it essentially walks through how to do a component-based approach to jinja projects.

How to run demos

To run each demo you must have python 3.10+ installed with pip. From there you can install the dependencies using:

pip install flask faker

This will install flask (and by extension jinja), and faker.

You can then cd into either version and run main.py to run the demo. For the jinja-version this will produce an index.html file you can then open in your browser, and for the flask-version this will open a web app at http://localhost:9898

About

A helper repo for an article about using components in jinja-based web apps

Topics

Resources

License

Stars

Watchers

Forks

Contributors