[NativeScript + VueJS] NativeScript VueJS Boilerplate (Login / Home Screen, User Data Persistence, Environments)

Words
261
Reading
2 min
8y
Listen to this post
~2 min

Repository

https://github.com/caspernikus/nativescript-vue-boilerplate

New Projects

What is the project about?

The idea behind this project is pretty simple. I am currently working with NativeScript-Vue and this boilerplate / template is the basic architecture we (my workplace) are using.
Also it should bring you an easy introduction on how to use NativeScript with VueJS and Vuex Store.

Main Features:

  • Login / Logout logic (APITOKEN gets stored into the userdefaults and automatically loaded into the vuex store)
  • Vuex Store with a User module
  • Environmental Configs (Dev, Prod, Local): Based on what start script is running a explicit config file is loaded
  • ApiService: Get / Post Requests + Validation
  • UserData: UserData get's stored into the userdefaults and automatically loaded into the Vuex Store
  • Less Files for Styling using less-loader (WebPack Plugin)

Technology Stack

  • Node
  • NativeScript
  • VueJS
  • Webpack

Roadmap

Maybe I will change the project in the future and integrate the Steem API, to make it a ready to go template for developing mobile Steem applications.

But my next steps are the following:

  • More Installation Options (e.g Deciding which Style Classes should be used)
  • More Ready to Use Styles

I am open for suggestions, but it is a template so there won't be too much I will add. As an idea maybe I will create an example project with it and combine it with the Steem API

How to contribute?

Create PR (Pull Requests)

GitHub Account

https://github.com/caspernikus

Proof for GitHub

Please visit my contribution here, to see that benediktveith is also my account !

[NativeScript + VueJS] NativeScript VueJS Boilerplate (Login / Home... | Ecency