Skip to content

nten17/react-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plaid Demo App

This app uses Plaid to display the recent categories a user has spent money on.

Dependencies

  • npm >= 5.6.0

Quick Start

  1. Modify src/config/ConfigGlobal.ts with your own Plaid credentials, and save it. Scroll down for an example of how this should look.
  2. Run npm i from the root.
  3. You must disable CORS in your browser for the app to run. You can download a plugin from the chrome store, or (recommended) launch a temporary instance of chrome with CORS disabled. For Linux users, that command is google-chrome --disable-web-security. On OSX, it's open -a Google\ Chrome --args --disable-web-security --user-data-dir
  4. npm run start
  5. App should be running in your browser on http://localhost:3000/

Project Organization

Here's a brief overview of how the project is organized:

  • Screens - This is where our screens live.
  • Components - This is used to separate our front-end components into more manageable chunks.
  • Services - This contains all of our network requests.
  • Hooks - This is where we house the reusable rendering logic for our components (e.g. displaying a signout button when a user is logged in)

Sample Config File

export const PLAID_ENV = 'sandbox';
export const PLAID_CLIENT_ID = '402988902309832932903903209139';
export const PLAID_PUBLIC_KEY = '45785478290423498329430933109';
export const PLAID_SECRET = '324894285429822489023943298438923';

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published