GithubHelp home page GithubHelp logo

gabrieldarezzo / mobile-first Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 51 KB

Estudo sobre Mobile-First

Home Page: https://gabrieldarezzo.github.io/mobile-first/

HTML 17.23% JavaScript 82.77%
offline-first mobile-first service-work push-notification push-notification-browser

mobile-first's Introduction

Demo online: https://gabrieldarezzo.github.io/mobile-first/

Ps:
Repare que após acessar a primeira vez, ele os dados (<li's>) de forma offline puxando via cache (e não exibe o dinossauro).

Kill dino with meteor

Link do Projeto: https://github.com/gabrieldarezzo/mobile-first

Service Work Lifecycle: docs/sw-lifecycle.png

[x] Offline First (Após abrir 1x, é possivel abrir o site novamente mesmo se estiver fechado) -> Está no metro, sem sinal e abriu o site de Notícia, vai navegar tranquilamente mesmo sem sinal/offline (pelo menos no que está no cache)

[ ] 1.a Enviar Notificação pelo Browser (mesmo fechado) -> Ex: Portal de Notícia, ao cadastrar Notícia notifica todo mundo que tem uma Notícia nova.

How to Run:

npm install
node server.js

Link de apoio: https://developers.google.com/web/fundamentals/codelabs/offline/?hl=pt-br

Validar Json http://jsonviewer.stack.hu/

https://developers.google.com/web/updates/2015/03/push-notifications-on-the-open-web?hl=pt-br

Exemplo de Notificação: https://serviceworke.rs/push-get-payload_demo.html

mobile-first's People

Contributors

gabrieldarezzo avatar

Stargazers

 avatar

Watchers

 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.