<commit_before># offline-first-seed
Minimalistic JavaScript offline first application seed using PouchDB and ServiceWorker

Uses Express/Node for server. Runs PouchDB both on server and client to allow working offline and sync when online
Uses ServiceWorker to allow running page/app while offline

# Usage

Install dependencies, under windows may require node-gyp
```bash
npm install
```

To start server
```bash
npm start
```

Now you can go to http://localhost:3000/

- Allows adding and removing messages
- Shows if in sync or disconnected
- Shows log of events/errors from PouchDB


<commit_msg>Readme update<commit_after># offline-first-seed
Minimalistic JavaScript offline first application seed using PouchDB and ServiceWorker

Uses Express/Node for server. Runs PouchDB both on server and client to allow working offline and sync when online
Uses ServiceWorker to allow running page/app while offline
Uses MaterializeCSS for styling

# Usage

Install dependencies, under windows may require node-gyp
```bash
npm install
```

To start server
```bash
npm start
```

Now you can go to http://localhost:3000/

- Allows adding and removing messages
- Shows if in sync or disconnected
- Shows log of events/errors from PouchDB

![alt tag](https://raw.githubusercontent.com/wonderwhy-er/offline-first-seed/master/screen.png)




{'fraction_non_alphanumeric': 0.06315789473684211, 'fraction_numerical': 0.006015037593984963, 'mean_word_length': 4.688034188034188, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3328045', 'n_tokens_mistral': 394, 'n_tokens_neox': 354, 'n_words': 165}