All Projects → shripalsoni04 → ngxp-quotes-app

shripalsoni04 / ngxp-quotes-app

Licence: MIT License
Cross Platform Quotes Application built with Angular and Nativescript.

Programming Languages

typescript
32286 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ngxp-quotes-app

auth0-django-web-app
Auth0 Integration Samples for Django Web Applications
Stars: ✭ 33 (+26.92%)
Mutual labels:  webapp
go-web-app-antipatterns
Short examples of common anti-patterns in Go Web Applications.
Stars: ✭ 163 (+526.92%)
Mutual labels:  webapp
svelte-electron-boilerplate
🧬 Create a desktop app with this user-friendly Svelte boilerplate for electron
Stars: ✭ 70 (+169.23%)
Mutual labels:  webapp
nativescript-android-tv
A little PoC demonstrating code sharing between Android Phone and TV apps
Stars: ✭ 26 (+0%)
Mutual labels:  nativescript
servant-beam-realworld-example-app
Exemplary fullstack Medium.com clone powered by Servant and Beam
Stars: ✭ 33 (+26.92%)
Mutual labels:  webapp
ESPecial
ESP32 automation with web interface and telegram bot
Stars: ✭ 77 (+196.15%)
Mutual labels:  webapp
play-scala-secure-session-example
An example Play application showing encrypted session management
Stars: ✭ 54 (+107.69%)
Mutual labels:  webapp
pytorch-serving
[UNMAINTAINED] A starter pack for creating a lightweight responsive web app for Fast.AI PyTorch models.
Stars: ✭ 16 (-38.46%)
Mutual labels:  webapp
salati
A small web app for prayers times in cities of Morocco
Stars: ✭ 14 (-46.15%)
Mutual labels:  webapp
appleauth-net
AppleAuth.NET is a simple library that facilitates the implementation of "Sign in with Apple" for .NET applications.
Stars: ✭ 23 (-11.54%)
Mutual labels:  webapp
photochat
Works cool: I use a secure app to chat. Next level: I encrypt my chats with a private key. Intergalactic level: I encrypt my chats with a one-time token and then make them deceptively public ;)
Stars: ✭ 38 (+46.15%)
Mutual labels:  webapp
share-it
share-it-nine.vercel.app
Stars: ✭ 19 (-26.92%)
Mutual labels:  webapp
node-starter-kit
Node.js / GraphQL project template pre-configured with TypeScript, PostgreSQL, login flow, transactional emails, unit tests, CI/CD workflow.
Stars: ✭ 76 (+192.31%)
Mutual labels:  webapp
weapp-lolgame
微信小程序,微信小应用-英雄联盟(LOL)战绩查询
Stars: ✭ 64 (+146.15%)
Mutual labels:  webapp
englishextra.github.io
English Grammar for Russian-Speakers, a PWA website + SPA
Stars: ✭ 19 (-26.92%)
Mutual labels:  webapp
java-signin
Java实现的(软件或网络)实验室的Web签到系统,签到原理基于IP和座位的(强制)对应关系。
Stars: ✭ 17 (-34.62%)
Mutual labels:  webapp
Edite
📸 Your new Photoshop
Stars: ✭ 17 (-34.62%)
Mutual labels:  webapp
Image-to-Braille
Give it an image, and it will become unicode braille
Stars: ✭ 140 (+438.46%)
Mutual labels:  webapp
WF WebBasedFileBrowser
A user-friendly Web File Browser.一款 易用性强 快速部署美观的网页文件管理器.
Stars: ✭ 93 (+257.69%)
Mutual labels:  webapp
nativescript-pedometer
🐾 step count tracking plugin for your NativeScript app
Stars: ✭ 17 (-34.62%)
Mutual labels:  nativescript

NGXP Quotes App

Quotes application for Web and Mobile (Android, iOS) with single code base buit with Angular and Nativescript.

If you want to create your own cross-platform app similar to this, check this starter: nativescript-angular-web-starter.

Previews and Screenshots

You can check previews and screenshots of this application for Web, Android and iOS platforms at ngxp.io

Prerequisites

  1. Globally installed Nativecript - npm install -g nativescript
  2. Globally installed Angular CLI - npm install -g angular-cli
  3. Mac OS to build iOS app.

Installation

  1. git clone https://github.com/shripalsoni04/ngxp-quotes-app.git
  2. cd ngxp-quotes-app
  3. npm run ngxp-install
    • As we are using nativescript-firebase plugin, just press y for below two questions when asked while installation.
      • are you using iOS?
      • are you using android?
      • For all other questions press n.

Run Web application

npm start - This will start the application at http://localhost:4200.

Run iOS Application

  • First start the simulator or connect the iOS device.
  • Execute npm run start.ios
  • Note - If you are using XCode8 then you need to set the DEVELPMENT_TEAM. There are two ways to set it.
    1. Using XCode
      • After executing npm run start.ios command, open project wordspace file nativescript/platforms/ios/nativescript.xcworkspace in XCode
      • Click on nativescript project in XCode and set Team from General Tab.
      • The issue with thie approach is, you need to set it everytime you remove and add the iOS platform.
    2. From build.xconfig (preferable)
      • Open nativescript/app/App_Resources/iOS/build.xconfig file.
      • Uncomment DEVELOPMENT_TEAM = YOUR_TEAM_ID; line, and enter your team id.

Run Android Application

  • Execute npm run start.android

Commands

You can execute any valid command of angular-cli from web/ folder and any valid command of nativescript-cli from nativescript/ folder. For convenince below are the commands which you can execute from root directory.

Common

Command Description
npm run ngxp-install Installs dependencies of web and nativescript applications. Creates symlink of x-shared folder in both web and nativescript project.

Web Application

Command Description
npm start Starts web application at http://localhost:4200
npm run start.prod Starts web application in production mode. Runs uglification and minification.
npm run start.aot Performs AOT for web application templates and starts web application.
npm run start.aot.prod Performs AOT, minification, uglification and starts web application.
npm run build Builds the web application and copy the built project in web/dist folder.
npm run build.prod Builds the web application in production mode and copy the built project in web/dist folder.
npm run build.aot Performs AOT, build the project and then copy the built project in web/dist folder.
npm run build.aot.prod Performs AOT, prepares production build and then copy the built project in web/dist folder.
npm test Runs web application and x-shared unit test cases. It will not generate code coverage report.
npm run test-cc Runs web application and x-shared unit test cases and generates code coverage report.

Nativescript Application

Command Description
npm run start.ios Runs application on iOS emulator/device
npm run start.android Runs application on Android emulator/device
npm run livesync.ios Starts application in livesync mode on iOS emulator/device.
npm run livesync.android Starts application in livesync mode on Android emulator/device.

Known Issues and Solution

  1. Angular dependencies at two levels for AOT support
  • Currently we have added angular dependencies in root level package.json and web/package.json. Because, AOT does not work properly when we use path mapping and this issue is reported and can be traked at https://github.com/angular/angular-cli/issues/1732 and PR:https://github.com/angular/angular-cli/pull/2470. Once this issue is resolved we can add path mapping as shown below and remove the angular dependencies from web/package.json, so in case of any version update we just need to change the version at root directory level.

    web/src/tsconfig.json

    "paths": {
        "@angular/*": ["../../node_modules/@angular/*"]
      }
    

Attributes (All are npm packages)

  1. nativescript-cardview
  2. nativescript-floatingactionbutton
  3. nativescript-iqkeyboardmanager
  4. nativescript-material-icons
  5. nativescript-ngx-fonticon
  6. nativescript-plugin-firebase
  7. nativescript-social-share
  8. nativescript-swiss-army-knife
  9. nativescript-theme-core
  10. angular-mdl
  11. Awesome framework and toolchain of Nativescript and Angular.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].