Demo

See how WatermelonDB performs at large scales in the demo app.

Online demo

WatermelonDB Demo
Check out WatermelonDB demo online

Note that where Watermelon really shines is in React Native apps — see instructions below ⬇️

Running React Native demo

To compile the WatermelonDB demo on your own machine:

  1. Install React Native toolkit if you haven't already
  2. Download this project
    git clone https://github.com/Nozbe/WatermelonDB.git
    cd WatermelonDB/examples/native
    yarn
    
  3. Run the React Native packager:
    yarn dev
    
  4. Run the app on iOS or Android:
    yarn start:ios # or:
    yarn start:android
    

⚠️ Note that for accurate measurement of performance, you need to compile the demo app in Release mode and run it on a real device, not the simulator.

⚠️ If iOS app doesn't compile, try running it from Xcode instead of the terminal first

⚠️ You might want to git checkout the latest stable tag if the demo app doesn't work

Running web demo

To compile the WatermelonDB demo on your own machine:

  1. Download this project
    git clone https://github.com/Nozbe/WatermelonDB.git
    cd WatermelonDB/examples/web
    yarn
    
  2. Run the server:
    yarn dev
    
  3. Webpack will point you to the right URL to open in the browser

You can also use Now to deploy the demo app (requires a Zeit account):

now

⚠️ You might want to git checkout the latest stable tag if the demo app doesn't work