A full stack project for Google App Engine based on modules Tekton-micro, Gaegraph, Gaeforms and Gaepermission, Jinja2 and Babel
This application is running on https://tekton-fullstack.appspot.com
cd backend/venv && ./venv.sh (venv.bat if you use Windows)
source ./bin/activate
cd ../appengine && dev_appserver.py .
http://localhost:8080
manager.py is Tekton’s command-line utility for code generation.
It's possible to determine the app creation, specifying the name and the central entity from the module. Example:
python manager.py app course Course title:string price:currency begin:date
This is how you create a Hello World using Tekton.
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from config.template_middleware import TemplateResponse
from gaecookie.decorator import no_csrf
from gaepermission.decorator import login_not_required
@login_not_required
@no_csrf
def index():
_resp.write('Hello world')
Just save it as hello.py inside backend/appengine/routes and run your server on appengine directory.
dev_appserver.py .
Now head over to http://localhost:8080/hello/, and you should see your Hello world! greeting.