Giter Club home page Giter Club logo

flask-balabas's Introduction

flask-balabas

###An angularjs boilerplate for flask / py3 with yeoman and coffeescript

This skeleton uses Flask-Mako to render the angular templates, so you can use flask environment in angular templates.

MVC pattern comes from funkenstein/flask-mvc and flask controllers appends automatically.

On board:

  • Shopping cart / Buy button
  • Spinner
  • CSRF protection
  • Login / Logout with flask-security
  • Flask flash messages for angular
  • Grid directive
  • Context Menu directive
  • Copy/Paste operations for grid
  • Keyboard bindings for grid
  • Smart selection mechanism for grid

Coming soon:

  • registration
  • change password
  • babel support

###Get started

#####Install yeoman angular.

  ~$ npm install -g generator-angular

#####Create a python3 virtual env and activate it.

  ~$ virtualenv -p python3 py3-sandbox
  ~$ cd ./py3-sandbox
  ~$ source ./bin/activate

#####Clone this repo and install requirements.

(env)~$ git clone https://github.com/nesforge/flask-balabas.git
(env)~$ cd ./flask-balabas
(env)~$ pip install -r requirements.txt

#####Setup the app in develop mode and run it.

(env)~$ python setup.py develop
(env)~$ python run.py

...bla bla bla...
...http://localhost:5000...

#####Use the yeoman generator.

(env)~$ cd ./balabas
(env)~$ yo angular:route myroute --coffee

#####Give a star to this project.


Licence: MIT

flask-balabas's People

Contributors

douglaf avatar

Watchers

James Cloos avatar Andrew Sherstobitov 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.