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

in utopian-io •  7 years ago 

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 !

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Very nice boilerplate. I have just started learning native script.

The commits were made by user benediktveith, can you please verify that this is also your account.

  ·  7 years ago (edited)

Hello @codingdefined
I you have a look at this post https://steemit.com/utopian-io/@moonrise/swiftyconnect-api-unit-tests-error-handling-new-logo-steemconnect-ios

Please scroll to the bottom, there you can see a proof that benediktveith is also my account, another proof is also linked there.

If you want further proof we can write on discord.

FYI I have written a time ago with @mkt and he is fine with me using 2 accounts here

Thanks

Ps: if you need an uptodate proof , I can make one as soon as I am home

Thank you for your contribution.

Its always better to add some comments to the code so that people who will be using your code will able to know the logic better.

It is not good to show the error message as an alert, but if you can add some kind of logger that will be good.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey @moonrise
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!