/flask-jags

Boilerplate Flask app with jade, angular, grunt and scss.

Primary LanguagePythonMIT LicenseMIT

Flask JAGS

Leverage the latest and greatest in frontend and backend technology with Flask JAGS! This template integrates a Flask backend with an AngularJS frontend, using Jade for templating, SCSS for css development, and Gulp for client side task execution.

Rationale

Angular is a robust frontend javascript framework. Flask is a small python framework with dead simple URL routing and templating. Now you can enjoy the best of both worlds!

Requirements

Setup

bin/setup_project

Starting the dev server

bin/runserver

Opening a Flask REPL with the app loaded

cd server/
python
>>>  from uwrtourist.routes import app
>>>  from uwrtourist.models import db
>>>  with app.app_context():
>>>     # do your stuff