Example Code
toastdriven opened this issue · comments
Problem
Currently, the only working example code is the tiny snippet from the README.md
& the code from the Tutorial
.
We should ship some fully-working examples with the library, to demonstrate features/approaches to common problems.
Setup
Python version: 3.7.4
itty3 version (itty3.get_version(full=True)
): 1.0.0-alpha-2
OS: All
Any other libraries/setup: N/A
I've added 4 different example apps (at https://github.com/toastdriven/itty3/tree/master/examples).
They cover:
- the Tutorial code
- a simple JSON API
- using a real ORM & real template language for app development
- unconventional ways to use
itty3
Calling that good for now, though I'll add further contributions there if people submit them (or new big features land).