Skip to content

mikemintz/react-rethinkdb-whiteboard-demo

Repository files navigation

react-rethinkdb whiteboard demo

This is a demo project that demonstrates how to create a vanilla React app, integrate it with RethinkDB as a backend database using the react-rethinkdb library, and lock down the app with query validations in rethinkdb-websocket-server.

For other demo apps that use react-rethinkdb, see the react-rethinkdb/examples directory.

Commits

To best follow along, look at how the app evolves over the 3 commits. As I update this demo, I will rewrite history so don't get too comfortable.

Setup

You will need to install node.js with npm and RethinkDB.

Before you get started, run the following queries in the RethinkDB admin console:

r.db('test').tableCreate('users');
r.db('test').tableCreate('boards');
r.db('test').tableCreate('lines');

Run npm install && npm start at any given checkout of the demo to start the web server. RethinkDB will need to be running in the background.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published