Giter Club home page Giter Club logo

expense-manager-demo's Introduction

Progressive Web App with full offline capabilities

This is an example project for how you can build a Progressive Web Application with Polymer and Vaadin components.

The application uses a Service Worker to cache the Application Shell. A Web App Manifest file ensures that the browser identifies our app as a Progressive Web Application and offers the user to install the application through an install banner.

Live Demo

Try the live demo of the Progressive Web Application.

Running locally

  1. Fork this repository and clone it locally.

  2. Make sure you have npm installed.

  3. Run npm install bower polymer-cli -g to install tools needed to run the project.

  4. When in the expense-manager directory, run npm install and then bower install to install dependencies.

  5. Run polymer serve to start the development server.

  6. Go to http://127.0.0.1:8081

Linting

Run all lint tasks in parallel

npm run lint

Run ESLint for JS

npm run lint:javascript

Run Stylelint for CSS

npm run lint:css

Run polymer-linter

npm run lint:polymer

Docker container for production

You can use the included Dockerfile to deploy the built app using prpl-server.

Build project locally

The default polymer.json contains the "autoBasePath": true setting to support differential serving with the prpl-server. This option makes the build incompatible with static file servers, though. So, in order to serve bundled app locally using polymer-cli, do the following steps:

  1. Remove "autoBasePath": true setting from the polymer.json

  2. Run polymer build

  3. Run polymer serve build/es6-bundled (you can choose es5-bundled instead)

Read more about the build options in the Polymer: Build for production documentation.

expense-manager-demo's People

Contributors

jouni avatar juhopiirainen avatar limonte avatar manolo avatar marcushellberg avatar platosha avatar tehapo avatar tomivirkki avatar web-padawan avatar yuriy-fix 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.