All Projects → hypebeast → flask-elm-starter-kit

hypebeast / flask-elm-starter-kit

Licence: other
Simple starter kit/boilerplate to get started with Flask, Elm and Brunch.

Programming Languages

HTML
75241 projects
elm
856 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to flask-elm-starter-kit

brunch-chicken-and-waffles
Brunch skeleton with CoffeeScript, LESS, Angular, and AngularUI with Bootstrap 3
Stars: ✭ 13 (-58.06%)
Mutual labels:  brunch
less-brunch
Adds LESS support to Brunch
Stars: ✭ 14 (-54.84%)
Mutual labels:  brunch
brunch-wordpress-theme
WordPress Starter Theme That Uses Brunch, Bower, And Bootstrap
Stars: ✭ 15 (-51.61%)
Mutual labels:  brunch
fingerprint-brunch
A brunch plugin for cache busting assets
Stars: ✭ 15 (-51.61%)
Mutual labels:  brunch
react-brunch-demo
An ES6 React & Redux application compiled by Brunch and linted with Eslint.
Stars: ✭ 31 (+0%)
Mutual labels:  brunch
typescript-brunch
Adds TypeScript support to Brunch
Stars: ✭ 27 (-12.9%)
Mutual labels:  brunch
brunch-vue-barebones
A Barebones Brunch Skeleton for Vue.js
Stars: ✭ 54 (+74.19%)
Mutual labels:  brunch
Brunch
🍴 Web applications made easy. Since 2011.
Stars: ✭ 6,801 (+21838.71%)
Mutual labels:  brunch

flask-elm-starter-kit

A simple Flask application with Elm for the frontend.

This starter kit shows how to use Elm with a Flask application.

All pages are rendered on the server. Elm provides parts of the frontend instead of using plain Javascript. This example shows how to use Elm in none single page applications and how to integrate it with existing Javascript code.

Brunch is used as the build tool.

Demo

Requirements

  • Elm >= 0.18
  • Node >= 5
  • Python >= 2.7

Get Started

Clone the repository:

$ git clone https://github.com/hypebeast/flask-elm-starter-kit.git

Install all packages:

$ npm install
$ pip install -r requirements.txt
$ export FLASK_APP=server/app.py
$ export FLASK_DEBUG=1

Now, start the server:

$ flask run

Run brunch in development mode:

$ npm run dev

Open your browser and visit http://localhost:5000.

Heroku

This application can be hosted on Heroku. The provided fabfile.py helps you to setup the application on Heroku.

To setup the application run the following command:

$ fab init

This will setup the application on Heroku.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].