hyperapp-tutorial
                                
                                 hyperapp-tutorial copied to clipboard
                                
                                    hyperapp-tutorial copied to clipboard
                            
                            
                            
                        A tutorial application written in hyperapp
Serafeim's Hyperapp Tutorial
A Hyperapp (https://github.com/jorgebucaran/hyperapp) tutorial application. Hyperapp is a modern JS micro-framework with a functional twist. The project uses a Django - DRF API to provide a (writable) REST API.
Work in progress! I'll try to add more capabilities to this app; or you can do it if you want; PRs are welcome!!!
Demo

Components used
- Hyperapp (obviously - https://github.com/jorgebucaran/hyperapp)
- Spectre.css for styling (https://picturepan2.github.io/spectre/)
- A bunch of home-made spectre.css components for hyperapp (https://github.com/spapas/hyperapp-tutorial/tree/master/srcjs/components)
- Browserify / watchify and uglify for JS bundling (https://spapas.github.io/2015/05/27/using-browserify-watchify/)
- Django/DRF for server-side stuff (https://www.djangoproject.com/ + https://www.django-rest-framework.org/)
To run it locally
- Create a python virtualenv and activate it (virtualenv venv)
- Install python requirements (pip install -r requirements.txt)
- Create a superuser (python manage.py cratesuperuser)
- Run server (python manage.py runserver)
To develop in JS:
- Install requirements (yarn install)
- Run watch (yarn run watch)
To create prod build:
- Run build (yarn run build)