nishit-g / ricochet-frontend

Enter the world of real-time investing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ricochet frontend

This is a ricochet app frontend, made in react, using redux and redux-saga.

How to start

# install dependencies
yarn

# start dev server
yarn start

Project structure

  • components - contains react components. They can't have own state and business logic. Should be developed in storybook.
  • containers - containers use components, adding business logic for them
  • store - all data and global business logic placed here. Separate folder for each reducer
  • utils - common functions for project
  • hooks - common business logic, that can be reused between containers.

Configuring project

See .env file for configuration:

REACT_APP_API_GRATH=https://api.thegraph.com/subgraphs/name/superfluid-finance/superfluid-matic
REACT_APP_CHAIN_ID=137

About

Enter the world of real-time investing

License:Other


Languages

Language:TypeScript 57.3%Language:JavaScript 21.8%Language:SCSS 14.3%Language:HTML 6.6%Language:Shell 0.1%