A NativeScript app to see Zodiac facts build for Android. NativeScript rocks! ✨ Download Debug APK here
It was a sunny day, a beautiful sunny day. My first meetup with JSLovers was on this very day. And there, I met Nativescript and we've been in love since then ❤️❤️❤️❤️❤️
ok enough. So I do like Nativescript but I haven't made much with it. So I am repeating the same boring idea of making a Horoscope App with it. But this time, with real APIs 😄
Four pages:
- Home
- Daily Horoscope page (Will add tabs for monthly and weekly very soon)
- Factlist page (shows same 12 zodiac signs here)
- FactDetails page, which shows you some interesting facts about your zodiac sign
- A Side drawer navigation
- Four
blankFilled pages hooked to the drawer navigation CustomizableBlue theme (will add option in setting page to change color to Pink, My favourite color)UX and development best practicespoorly written code, like a noob- Easy to understand code (kidding 😉)
Make sure you have
-
Nativescript Sidekick from here. Quite useful. You don't have to beat keyboard to death while using terminal or command prompt. Just click and Drive
-
Vscode is preferred, you can use Sublime as well
-
Sound knowledge of Typscript
-
Keep a tab open in Chrome, which should show you documentation about Nativescript UI components (Div soup is prohibited)
The RadSideDrawer component is set up as an application starting point in:
/app-component.ts
- sets up the side drawer content and defines a page router outlet for the pages.
RadSideDrawer has the following component structure:
RadSideDrawer
- The component to display a drawer on the page.tkDrawerContent
directive - Marks the component that will hold the drawer content.tkMainContent
directive - Marks the component that will hold the app main content.
There are five blank components located in these folders:
/home
/horoscopeDetails
/factlist
/factdetails
This template is set up to use SASS for styling. All classes used are based on the {N} core theme – consult the documentation to understand how to customize it. Check it out to see what classes you can use on which component.
It has 4 global style files that are located at the root of the app folder:
_app-variables.scss
- holds the global SASS variables that are imported on each component's styles._app-common.scss
- the global common style sheet. These style rules are applied to both Android and iOS.app.android.scss
- the global Android style sheet. These style rules are applied to Android only.app.ios.scss
- the global iOS style sheet. These style rules are applied to iOS only.
- Making Factlist services(will be free, But I can't assure daily updation)
- Setting page to change theme color (Pink color is my fav)
- About page for direct/indirect contributors
- Logo creation for app
- Code beautification and minification
Feel free to give any suggestion or open a bug
- Horoscope API by Tapasweni Pathak
- App design and Development by Sudhir Kaushik