jiayihu / reactjs-day-workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

skei

This project was bootstrapped with Create React App.

NOTE: the API keys used during the workshop have been revoked and don't work anymore. You need to create your own accounts with Firebase and Nordigen

Testing

During testing, Nordigen APIs have actually been mocked with MSW to avoid unnecessary hitting the real APIs whereas Firebase API services have been mocked with fixtures. This means that you don't actually any account in order to run the tests and play with them.

Firebase

Firebase is used for Authentication and Realtime Database (Firestore). After you have created a project with Firebase, copy over the configuration keys into the file src/services/firebase.ts:

const firebaseConfig = {
  apiKey: 'API_KEY',
  authDomain: 'skei-11111.firebaseapp.com',
  projectId: 'skei-11111',
  storageBucket: 'skei-11111.appspot.com',
  appId: '1:1111111:web:11111asacv11111',
};

Nordigen

Nordigen is used as service provider for PSD2 bank information. After you have created an account, copy over the User Secrets into the file .env:

REACT_APP_NORDIGEN_SECRET_ID=secret-id
REACT_APP_NORDIGEN_SECRET_KEY=secret-key

About


Languages

Language:TypeScript 94.8%Language:JavaScript 3.7%Language:HTML 0.8%Language:CSS 0.7%Language:Shell 0.1%