/ Developer

Introducing Bloom Starter

We are happy to announce Bloom Starter, a starting point for integrating Bloom into your app.

Getting started with integrating a third-party ecosystem can seem daunting, Bloom Starter aims to ease this pain. Giving developers a starting point will help speed up integration times.

Here at Bloom we use a Typescript + React + Express stack so our first implementation of Bloom Starter is in this stack, available under the Bloom Starter repo here. This is a very simple integration that renders a QR Code via Share Kit and manages users with a session.

Use Bloom Protocol for Login, Lending, and Financial Compliance

Bloom Protocol is an end-to-end protocol for decentralized login, identity, and credit scoring. With Bloom Protocol, you can verify a user’s identity, reduce the risk of fraud, and build compliant financial applications, all without sacrificing user privacy or risking data breaches. You can do this without taking custody of a user’s personal data, and without relying on centralized systems.

Get Started Building on Bloom Protocol

Start developing on top of the Bloom Protocol with Bloom Starter. Please see the repos below, as well as step-by-step instructions in our Bloom Workshop video.

Development

There are two parts to this app, the server-side (express) and client-side (react).

Getting Started

git clone https://github.com/hellobloom/bloom-starter.git

  1. cd bloom-starter/bloom-starter-react
  2. npm run deps (install dependencies for server and react)
  3. Before starting up the dev server, you will need a .env file with these variables set: PORT, NODE_ENV and SESSION_SECRET. See .env.sample for an example of where your .env should be look like.
  4. npm run dev

What does this do?

  • Start the express server
  • Start ngrok to proxy the express server
    • This is so the mobile app can POST share-kit data to the url
  • Start the react app
    • The REACT_APP_SERVER_URL env var is set to the ngrok url

Production

Build app (client and server)

This will build client and server code and output to the build/ directory

npm run build

Start app (client and server)

npm run start

Deploy to Heroku

Commands must be done from the root of the git project.

Init heroku (one time)

Assuming that your heroku app is called bloom-starter-react.

heroku login
heroku git:remote -a bloom-starter-react

Push latest

git subtree push --prefix bloom-starter-react heroku master

Join Us at ETHDenver

Starting next Friday, come join us for a fun weekend of creativity and development at ETHDenver!

We’ve built a strong developer ecosystem, supporting development on the Bloom Protocol. Now join us at ETHDenver as we continue to foster our developer ecosystem and work to build even more applications on top of the protocol!


About Bloom

Bloom is a blockchain solution for identity security and cross-border credit scoring, restoring ownership and control of identity information and financial data back to consumers. By decentralizing the way that information is shared between untrusted parties, the system reduces the risk of identity theft and minimizes the costs associated with customer on-boarding, compliance and fraud prevention.

To learn more about the latest with Bloom: