GithubHelp home page GithubHelp logo

labibllaca / pwa-books Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steffenjahr/pwa-books

0.0 2.0 0.0 650 KB

Demo that shows how to use Angular 2 to build a Progressive Web App.

JavaScript 39.30% TypeScript 45.35% HTML 12.44% CSS 2.90%

pwa-books's Introduction

#PWA Books This repository contains an example application to show how a progressive web app can work with Angular 2.

Installation

###Api To setup the Server Api you have to execute npm install in the directory api. To use notifications you also have to update the API-Key for Firebase Cloud Messaging. You can update the Key in the file api/src/controllers/notificationController.js. Replace YOUR_API_KEY_HERE wir you own Firebase Api key.

###Client To setup the Client Application you have to execute npm install in the directory client. In the application you also have to update a key to use Notifications. Please modify the gcm_sender_id (you get that after setting up your Firebase Cloud Messaging project) in the manifest.json file. It is located in client/src.

How to run the application

Before you start the appliction you have to start the Api. Therefore you only have to execute npm start in the directory api. Node will start an Api server with the address http://localhost:8090.

To start the application run npm start in the directory client. The sample application will now be available on http://localhost:8888.

pwa-books's People

Watchers

 avatar  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.