/ng2-flask

Angular2 tour-of-heroes with flask

Primary LanguageTypeScriptMIT LicenseMIT

ng2-flask

HitCount

Angular2 tour-of-heroes project with flask

  • first install python-flask and nodejs
  • To install the dependencies, go the ClientApp folder and do:
    $ npm install
    
  • To run the app, at the root folder do:
    $ python app.py
    

Variations over angular2 tutorial:

  • use of flask as server
  • moved js and map files to app/jsdump folder
  • moved html, css files to app/assets folder
  • removed angular-in-memory-api, replaced with a simple dict-db implemented in python
  • flask rest api, without using any plugin