Giter VIP home page Giter VIP logo

pwa-amtek's Introduction

PWA AMtek VM

L'intento è quello di creare una PWA in grado di comunicare con il websocket a bordo delle macchine AMtek.

Funzionamento socket in JS

Pagina prodotti Pagina vuoti

Collegamento in modalità ADM/APP con richiesta dei dati. Richiesta numero colonne. Richiesta info del prodotto X.

No modalità offline o dati in cache

Server

Come server ho usato quello interno a VsCode ma configurato con il file ./.vscode/settings.json in modo da avere la root del sito = ./public

Passaggi

  • Ho creato e registrato l'app web 'pwa-amtek' seguendo le istruzioni nella console di Firebase

  • Ho aggiunto un hosting ed incollato il codice js relativo all'inclusione SDK Firebase

  • ho fatto deploy del progetto da linea di comando: firebase deploy --only hosting:pwa-amtek L'app è finita sotto il progetto 'myfirstpws-37305'

  • ho installato l'app sul cellulare puntando il browser sull'indirizzo web del hosting. L'app si è installata tra le applicazioni normali ed ha creato un'icona sul desktop. Indirizzo: https://pwa-amtek.web.app/

  • Modificato il progetto ed eseguito il deploy

  • L'app si è aggiornata sul cellulare senza notifica

Inserimento libreria js Materialize

Variabili

manifest.json

'name' - nome che appare nella splash

"short_name" - nome che appare sotto l'icona dell'applicazione

Firebase

Comando per il deploy:

firebase deploy

pwa-amtek's People

Contributors

stemmo33 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.