iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://github.com/eh3rrera/react-rxdb-example
GitHub - eh3rrera/react-rxdb-example: Anonymous chat app built with React, RxDB and PouchDB that works offline.
Skip to content

Anonymous chat app built with React, RxDB and PouchDB that works offline.

License

Notifications You must be signed in to change notification settings

eh3rrera/react-rxdb-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-rxdb-example

A simple anoymous chat app that shows how you can create offline apps with React and RxDB, using a local IndexedDB database.

This project was bootstrapped with Create React App.

Requerimients

  • Node version 6 or superior. You can use nvm to switch between Node versions.
  • A modern browser that supports IndexedDB.

Installation

  1. Clone this repo and cd into it.
  2. Execute npm install to download depencencies.
  3. Execute npm start to start the dev version of the app and test the local database functionality RxDB provides.
  4. To test the offiline functionality provided by create-react-app, you should take into account some considerations, but basically, execute npm run build to build a production build of the app and then execute npm run offline, go to http://localhost:3000 (in incognito mode if possible, since this will install a service worker and its manifest) and go offline to test it.
  5. Also, you can go to http://localhost:5984/_utils/ to open the database web interface.

License

MIT

About

Anonymous chat app built with React, RxDB and PouchDB that works offline.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published