Eureka Retail

Introduction

(Eureka Retail) is built using React Native, showcasing the flexibility of using pro-code and open source tools such as Javascript to build a custom native mobile app, combining the power of the Salesforce Platform and multi-cloud to create an amazing Customer 360 experience.

If you are keen to read more about its implementation, check out this blog post Inside a React Native Mobile App with Salesforce Data.


Tech Notes 🗒

Building blocks of this project

  • Salesforce Platform for the data CRM layer (i.e. Sales cloud, Service cloud, Marketing cloud etc.)
  • Mulesoft for the data integration layer
  • Slack for the Digital 360 integrated experience
  • Tableau for the Data Visualization layer
  • Heroku for the Platform-as-a-service (PaaS) scalable layer to host the Express.js app

Set up instructions ⚙️

Install dependencies

  • Install the following dependencies and frameworks:

    1. React Native
    2. Expo
    3. NodeJS
  • Install node modules, run the following command on the main folder:

npm install
  • Finally, start the development server by running one of the following commands:
npm start
expo start
  • To access the API URL on Heroku, you will need to set up axiosConfig.sample. Once you have completed it, rename the file to axiosConfig.js which will be imported by the mobile app at the respective screens to access the API.

The sample code for the Heroku Express.JS app which serves as an API layer to the data in Salesforce is available here: Github - Eureka Retail Server

For more info, check out this blog post Inside a React Native Mobile App with Salesforce Data.