Skip to content

A single-page application that meets the PWA criteria. This app features data persistence techniques that serve as redundancy, and additionally functions offline.

Notifications You must be signed in to change notification settings

RichardZhang01/text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Editor

License: MIT

Tech-blog-app-button

Description

  • This application (JATE) is a simple text editor that will highlight JavaScript syntax. It is an example of a progressive web application (PWA), meaning it will function regardless of internet access (as long as the page has been visited once online), and can even be downloaded and run natively on your machine.
  • This application features the utlization of a service worker to control the page, data caches (controlled by the service worker) to speed up page loading and provide offline functionality, indexedDB and localStorage for client data storage and redundancy, as well as the ability to install the application locally.
  • PWAs are incredibly useful and powerful, but they are tricky to learn especially for a new programmer. My motivation behind this project was to delve into the technologies and syntax required to develop an application that meets all the criteria of a PWA.

Table of Contents

  1. Installation
  2. Usage
  3. Demonstration
  4. License
  5. How to Contribute
  6. Questions?

Installation

This application is deployed to Heroku, and you can access it here.

Alternatively, you can clone this repo.

If performing a manual installation, you need Node.js.

To install dependencies, open in Visual Studio Code, and in the terminal run:

  npm install 

Usage

This application is deployed to Heroku, and you can access it here.

Alternatively, once the application is installed and opened in Visual Studio Code, or navigated to using Git Bash (or similar command-line tool), run:

  npm start 

The application is written to run on port 3000, but you can change the port number by altering it in the server/server.js file.

Once the server has been started, in your browser, navigate to http://localhost:3000

Demonstration

This application is deployed to Heroku, and you can access it here.

A screenshot:

Screenshot of the application

License

This application is covered under the MIT license


Copyright © 2022 Richard Zhang

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


How to Contribute

If you want to contribute to this project and make it better, your help is very welcome. This was a school project, so anything you want to do to it, go for it. You can also contact me directly through the links below.

Questions?

Have any questions? Here is a list of my links:

About

A single-page application that meets the PWA criteria. This app features data persistence techniques that serve as redundancy, and additionally functions offline.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published