rhiokim / hybrid-vue-starter-kit

(wip) Offline-first application boilerplate with vue, nuxt, electron, leveldb, couchdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project

The purpose of this project is to demonstrate the concept of an environment for offline-first web application development with Electron and modern web stacks.

It consists of three main components.

  • Electron + Vue.js SPA + LevelDB
  • CouchDB cluster
  • Universal Rendering Framework
  • (Optional) Search Engine

Structure Diagram

electron -> app -> PouchDB(leveldb)
                          \ (sync)
                           CouchDB:5984 ----- Solr or ES
                          / OAuth (2.0)
mobile pwa               /
           \            /
browser -> web(nuxt.js):9001
                       \
                        firbase (Notification and Etc)
                       /
        -> spa(vue, nginx):9000

illustration

Makefile

make init

# to build container every components (electron, spa, ssr)
make build

# to boot up every components on the docker environment using docker-compose
make up
# to re-boot up every components
make restart
# to clean and remove every components that working on docker environment
make clean

After run

  • Enable CORS

TODO

Refrences

License

MIT

About

(wip) Offline-first application boilerplate with vue, nuxt, electron, leveldb, couchdb


Languages

Language:JavaScript 63.2%Language:Vue 16.5%Language:CSS 16.2%Language:Dockerfile 1.5%Language:HTML 1.4%Language:Makefile 1.1%