Vuejs web example implemented based on onion architecture.
This is a very simple TODO application using TypeScript.
Implements API calls by axios up to mock. with in-memory nedb.
Enriching implementations by allowing program boundaries by architecture.
Vue, located in the presentation layer, can focus solely on the duties of expressing.
electron is very simple. Almost all creation is completed just by adding the electron-builder module
Most of the content implemented with "onion architecture" is the same. The only difference is whether the app has become a webapp or a desktop app.
Native apps have some difficulties, but everything can be programmed with javascript. This is amazing.
Vue version of react native with expo. Base built using vue-native. Further expansion to "TypeScript".
cd ~/IdeaProjects
git clone https://github.com/tatsunori-iwaki/iwaki-onion-architecture-for-vuejs.git
cd ~/IdeaProjects/iwaki-onion-architecture-for-vuejs/onion-architecture-webapp
yarn
yarn test:unit
yarn serve
cd ~/IdeaProjects/iwaki-onion-architecture-for-vuejs/onion-architecture-electron
yarn
yarn electron:serve
cd ~/IdeaProjects/iwaki-onion-architecture-for-vuejs/onion-architecture-electron
yarn
yarn electron:build
ls -l ./dist_electron/mac/
open ./dist_electron/mac/onion-architecture-electron.app
cd ~/IdeaProjects/iwaki-onion-architecture-for-vuejs/onion-architecture-native
yarn
yarn start