Skip to main content

Peek Platform - Mobile Service (Frontend)

Project description

The Peek Mobile service contains the Angular Web and Nativescript build environments.

The frontend is for typescript + bootstrap3 + angular2

Development

Web Frontend

The frontend is compiled/built from the backend python software when it starts. The python backend then serves up the the webpack bundles. This is accessible via http://<ip>:8000

When you are developing with the frontend for Web, you can start development mode with:

cd <project dir>/peek_mobile/build-web
npm start

This will start a NODE development server. It will watch the project files, rebuild the project and live reload the browser when you make changes. It’s accessed via http://<ip>:4200

There is a proxy.conf.json file that is configured to pass through certain resources to the backend server. This allows the NODE development server to hand handle all the assets and the backend to still handle the file uploads, vortex, etc.

NativeScript

When you are developing for NativeScript, you can build and start the app with:

cd <project dir>/peek_mobile/build-ns
tns run <platform> --watch

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peek-mobile-0.3.4.tar.gz (6.9 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page