Giter Club home page Giter Club logo

jay1194 / text-editor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 208 KB

The PWA Text Editor is a Progressive Web Application that enables users to create and store text notes or code snippets seamlessly, with or without an internet connection. It offers reliability and accessibility for later use, providing a convenient and efficient user experience.

Home Page: https://aqueous-island-60408-9a0ce4ae30e6.herokuapp.com/

License: MIT License

HTML 10.52% JavaScript 62.50% CSS 26.98%
babel-plugin cache-api fetch-api heroku-deployment htmlwebpackplugin idb indexeddb install javascript lighthouse-audits offline-capable plugins pwa web-manifest webpack workbox-webpack-plugin

text-editor's Introduction

PWA Text Editor

Description

The PWA Text Editor is a Progressive Web Application (PWA) that allows users to create and store text notes or code snippets. With or without an internet connection, users can reliably retrieve their saved content for later use. This single-page application provides a seamless user experience both online and offline.

Table of Contents

Mock up

00-demo

Technologies

  • IndexedDB
  • idb
  • Webpack
  • HTMLWebpackPlugin
  • Workbox
  • Heroku Deployment
  • Manifest.json

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/pwa-text-editor.git
    cd pwa-text-editor
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run start

Usage

  1. Open your browser and navigate to http://localhost:3000.
  2. Use the text editor to create, edit, and save notes or code snippets.
  3. Content is automatically saved to IndexedDB, ensuring data persistence even when offline.

Contributing

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Commit your changes:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature/your-feature-name
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

text-editor's People

Contributors

jay1194 avatar

Stargazers

 avatar

Watchers

 avatar

text-editor's Issues

Implement IndexedDB CRUD methods

  • Use IndexedDB and idb, a small wrapper that makes it easier to implement IndexedDB CRUD methods to add the ability to store structured data to the browser.

Add offline function

  • Use Workbox, which is a set of libraries that can generate a production-ready service worker for your Progressive Web App

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.