yakovleva-tanya / CeFi-Frontend

Zero Collateral frontend integration with CeFi infrastructure.

Home Page:https://zc-plaid-frontend.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CeFi-Frontend

Zero Collateral frontend integration with CeFi infrastructure.

Environment

Secrets are held in .development-secrets.json see src/util/constants.tsx for required environment variables.

Building

To build the production code, run npm build.

Running

To run the production application, use PORT=8080 npm start.

Development

Start the UI in development mode with:

npm run start:dev

Start the server with:

PLAID_CLIENT_ID=5ec44b05f35e35031238d348 PLAID_SECRET=asdfwefg233dffsf \
PLAID_PUBLIC_KEY=8f8e5a63107fc2027a5768a1571988 PLAID_PRODUCTS=transactions \
PLAID_COUNTRY_CODES=US,CA,GB,FR,ES,IE PLAID_ENV=sandbox \
npm start

Documentation

This app uses JSDocs. To generate documentation in the docs folder, run: npm run build:docs

Architecture

Connecting to Ethereum

Install Metamask and connect to the test network currently used on the server.

Code

Application State

Application State can be found in src/context/app.tsx.

Routing

Routing is stored in the src/components/Routing.tsx file.

Views

Top level views shown by the Router are stored in the `src/componenvs/views folder.

About

Zero Collateral frontend integration with CeFi infrastructure.

https://zc-plaid-frontend.herokuapp.com/

License:MIT License


Languages

Language:TypeScript 88.1%Language:JavaScript 8.1%Language:CSS 3.8%