Giter Site home page Giter Site logo

jofiel-nguyen / texteditorwebapplication Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.1 MB

A text editor web application

Home Page: https://jofiel-nguyen.github.io/TextEditorWebApplication/

License: MIT License

HTML 11.34% JavaScript 62.81% CSS 25.85%

texteditorwebapplication's Introduction

Text Editor Web Application

Demo

This project is a demonstration of a text editor web application that operates within a browser environment. It's a single-page application designed to meet Progressive Web App (PWA) criteria, integrating various data persistence techniques to ensure reliability and redundancy, even when offline.

Installation and Setup

To get started with the text editor application, follow these steps:

  1. Clone the repository to your local machine.

    git clone https://github.com/nhunguyen-debug/PWA-From-Rice.git
  2. Navigate to the root directory of the project.

    cd PWA-From-Rice
  3. Install the necessary dependencies.

    npm install
  4. Start the backend and serve the client.

    npm run start

User Story

AS A developer
I WANT to create notes or code snippets with or without an internet connection
SO THAT I can reliably retrieve them for later use

Acceptance Criteria

The following criteria should be met by the text editor web application:

  • The application should have a client-server folder structure.
  • Running npm run start from the root directory should start the backend and serve the client.
  • JavaScript files should be bundled using webpack when running the text editor application from the terminal.
  • Webpack plugins should generate an HTML file, service worker, and a manifest file.
  • The text editor should still function without errors even when using next-gen JavaScript.
  • Opening the text editor should immediately create a database storage using IndexedDB.
  • When content is entered and the DOM window is clicked off, the content should be saved with IndexedDB.
  • Closing and reopening the text editor should retrieve the previously saved content from IndexedDB.
  • Clicking the Install button should download the web application as an icon on the desktop.
  • Loading the web application should register a service worker using Workbox.
  • Registering a service worker should pre-cache static assets upon loading, including subsequent pages and static assets.
  • Proper build scripts for a webpack application should be in place for deployment to Heroku.

Deployment

The application can be deployed to Heroku using the Heroku Deployment Guide on The Full-Stack Blog.

Heroku Deployment Guide

Heroku Link: https://pwaapps-6193e22597e4.herokuapp.com/

GitHub Repository: https://github.com/nhunguyen-debug/PWA-From-Rice.git

Feel free to explore, contribute, or use this project as a reference for your own text editor web application development. If you have any questions or feedback, please don't hesitate to open an issue or reach out to us. Enjoy using the Text Editor Web Application!

texteditorwebapplication's People

Contributors

jofiel-nguyen 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.