GithubHelp home page GithubHelp logo

pwa-notepad's Introduction

Progressive Web Applications (PWA): Notepad

Description

Notepad is a Progressive Web Application (PWA) text editor that runs in the browser. It is a single-page application that features a number of data persistence techniques that serve as a redundancy in case one of the options is not supported by a specific browser. The application also functions offline. The app uses a package called idb, which is a lightweight wrapper around the IndexedDB API. It features a number of methods that are useful for storing and retrieving data, and are used by companies like Google and Mozilla.

The application will be launched with Heroku using the Heroku Deployment Guide on The Full-Stack Blog.

Live URL

Notepad Application Deployed to Heroku

Installation

To install all of the Webpacks for the application you can either copy the package.json files in both the Server & Client side and run npm install or each item can be installed individually if you are starting from scratch. npm run build creates the dist folder.

Usage

This application has been launched onto Heroku for the font-end user. As a fullstack developer, the following commands can be entered into the command line:

  1. To start client and server start
npm run start
  1. To run the build script and start the server
npm run start:prod
  1. To have the server start without the client
npm run server
  1. To have the client run the webpack build script
npm run build
  1. To have the client's dependencies installed
npm run install
  1. To have the client start without the server
npm run client

Items Completed

✅ An text editor web applicaiton with a Client Server Folder Structure.

npm run start from root directory starts-up the backend and serves the client and app can be ran from the terminal.

✅ Javascript files have been bundled using webpack, and when the webpack plugins are run HTML file, service worker, and manifest file are generated.

✅ Next-gen Javascript was used in application

✅ Application still functions in browser without errors.

✅ IndexedDB created a database storage. Content is entered to click off DOM window and is saved with indexedDB. After closing and reopening the content can be retrieved from IndexedDB.

✅ When the application Install button is the clicked the web application is downloaded as a web application icon on the desktop.

✅ There is a registered service worker using workbox.

✅ Static assests are pre cached upon loading along with subsequent pages and static assets.

✅ Application is Deployed to Heroku

✅ There are the proper build scripts for a webpack application.

Screenshot

pwa-notepad's People

Contributors

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