Code Monkey home page Code Monkey logo

pwa-exictype's Introduction

Exictype: Synopsis

This project is a chat application, based on Socket.io, with offline capabilities. It includes a simple username sign in page and a global chat room. When offline, you are capable of sending messages which will be stored and sent to server when a connection is available.

Motivation

Exictype was developed with the goal of testing Progressive Web Apps capabilities such as Service Workers, IndexedDB, Cache API and Push Notifications.

Note

If you you're running Development tools on Chrome with 'Update on Reload' selected, the app will prompt the user to confirm the SW installation when signing out of the chat page. This occurs since the login page is within the scope of the SW, and as such triggers the update on reload.

Installation

In order to run the application it is required to have Node.js installed as well as an available Redis server. You can edit the config.json file according to your specified Redis server address.

Before running the server for the first time, you'll need to generate the bundle.js file by running the command: npm run build or gulp build

To run the server simply use the command: npm run start

If you would like to do some testing you can run the server in development mode by running the command: gulp

To see server output set debug environment variables to "redis,server,api". In Windows Powershell this is done by running $env:DEBUG="redis,server,api" on the same PS window you're running the server.

pwa-exictype's People

Contributors

kingfreir avatar

Stargazers

KJ JOSE avatar

Watchers

James Cloos 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.