Skip to content

Cicko/vuetifyjs-cordova-webpack-feathers-boilerplate

Repository files navigation

vuetifyjs-cordova-webpack-feathers template

Build Setup

# install dependencies
npm install

# go inside backend and also install dependencias
npm install

# run mongo server (in other terminal)
mongod

# run feathers backend (inside backend folder)
npm start

# Now go again to the project root and serve with hot reload at localhost:8080
npm run dev

Building for production

# build for production with minification (also for mobile)
npm run build

Testing

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

Mobile building

Requirements at system level:

  • Android SDK (I recommend to download Android Studio)
    • Set ANDROID_HOME environment path
  • JDK (The version 9 doesn't worked for me. I have to use version 8)
  • Gradle (I installed it using sdk)
  • Cordova (npm install -g cordova)

Requirements at project level:

First Steps:
# Add your mobile device as platform (ios | android)
cordova platform add android
cordova platform add ios
Further iterative steps

Every time you make some changes to the application and you want to create updated app you have to follow always these steps:

# Build minification files for mobile
npm run build
# Then just execute commando to build the APK
cordova build android
cordova build ios
## The generated APK will be located inside platforms/android/app/build/outputs/apk/debug/ in my case.

TODO

  • Mobile building
  • Feathers.js
  • Prepare some native components through Onsenui

About

Very simple template project using vuetify for front-end and feathers framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published