Salesforce-Limits-Tracker

This app use Node.js, ReactJS, and Salesforce technology to display organizational limitation in Salesforce CRM. Node.js builds the backend, while ReactJS creates the user interface for viewing limitation.

This project drew inspiration from Philippe Ozil work.

About

  • using JSforce as a Salesforce client
    • authenticating with OAuth 2.0 (login, logout, retrieving session info)
  • using the Lightning Design System (LDS) in a React application (all the CSS and icons of this app are provided by LDS)

The source code of this app is structured in the following way:

  • the client directory holds the React app
  • the server directory holds the node.js app that acts as a middleware with the Salesforce Platform

Installation

  1. Create a Connected App in Salesforce.

  2. Create a .env file in the root directory of this project and add this content (make sure to replace the values):

    loginUrl='https://login.salesforce.com'
    callbackUrl='http://localhost:3002/auth/callback'
    consumerKey='YOUR_CLIENT_KEY'
    consumerSecret='YOUR_CLIENT_SECRET'
    apiVersion='55.0'
    
    isHttps='false'
    sessionSecretKey='A_SECRET_STRING'
    
  3. Run npm install to install the dependency package.

  4. Run npm run dev to start the app.

Screenshots

Login screen Main screen

GitHub

View Github