Rebar Units and Examples


Universal Relay Boilerplate and Rebar come with a set of units which can be easily added to a project build on URB and configured to deliver the required behavior.

Unit Included In Description
Account Management URB and Rebar Provides functions for basic account management like log in, log out, creation of a user account, user profile, and password change.
Account Verification Rebar Allows confirmation of accounts by E-Mail and text message.
Email Rebar Sends email through Send Grid.
Map Tools Rebar Tools for working with geographic data and maps.
Payments Rebar Payments through Stripe.
Images Rebar Uploading processing and display of images.
Messaging Rebar Messaging and chat-like functionality.
Persister - Memory URB and Rebar Supports persistence of data within in-memory structures in the Node.js application. Suitable for development and testing.
Persister - Cassandra URB and Rebar Supports persistence of data in Apache Cassandra.
Persister - Dynamo DB URB and Rebar Supports persistence of data in Amazon DynamoDB.
Push Notifications Rebar Push notifications for web, iOS and Android.
Social Login Rebar In addition to authentication by user name and password, allows users to authenticate by a third party like Facebook, Twitter, etc.
SMS Rebar Sends and received SMS through Twilio.


Universal Relay Boilerplate and Rebar come with a multitude of example units implementing different types of functionality and exhibiting different coding patterns.

Example Unit Included In Description
Compendium URB and Rebar An example of having one-per user set of properties that are being updated through a form. Once a user opens the screen a record in the database for that user with default values is created. The example features text and numeric input fields, single select boxes, multiple select check boxes, and additional fields that appear when certain selections are made. Live Demo.
Ensayo URB and Rebar Ensayo means an essay in spanish. Accordingly, the example allows editing Title, Description and Content for multiple essay items. Then, a list of them is provided in read-only form. Once the contents of a certain item is clicked, the item opens in a single page with a unique URL. The page is an example of SEO optimization. For more detailed information, review SEO Using Isomorphic Application With Relay and Helmet.
Force Login URB and Rebar A simple example of how to make a page request that the user is logged in through the Higher Order Component function RequiresAuthentication. You can try it here.
To Do URB and Rebar Reimagining of the classical To Do example using Material-UI and Relay. Try it yourself.
Translaticiarum URB and Rebar Translaticiarum comes from the Latin word for Routine and it is an example that showcases dealing with date and time in a Cassandra/Relay/Material-UI environment. It includes a custom scalar GraphQL type DateTime, a screen for editing of Translaticiarum items demonstrating the use of the date and time pickers from Material-UI, and a calendar-like grid which will display the entered items. The example shows the use of the date and time helper functions available in the boilerplate.