Client application where you can track DEX and CEX portfolio, built with React and TypeScript.
- React with TypeScript
- Vite for bundling
- SCSS for styling
- Clone the repo
git clone git@github.com:cyberfolio/cyberfolio-web.gitcd cyberfolio-web
- Install dependencies
yarn install
- Run the app
yarn dev
src/
├── app/ — App initialization logic (e.g. providers, routing)
├── assets/ — Static assets like images and icons
├── components/ — Reusable UI components
├── config/ — Configuration files (e.g. api client)
├── constants/ — Application-wide constant values
├── hooks/ — Custom React hooks
├── pages/ — Route-based components
├── services/ — API service handlers
├── store/ — Global state management
├── structures/ — Shared types and interfaces
├── styles/ — Global styles and theme setup
├── utils/ — Helper functions and utilities
├── index.tsx — App entry point
└── vite-env.d.ts — Vite-specific types
Create a .env file in the root directory and add your environment variables. For example:
VITE_APP_ENV=${environtment of the app, e.g. development, production}
VITE_APP_TITLE=${title of the app, e.g. Cyberfolio}
VITE_BACKEND_URL=${main backend URL, e.g. https://api.cyberfolio.com}
VITE_WALLETCONNECT_PROJECT_ID=${your WalletConnect project ID}
VITE_ALCHEMY_API_KEY=${your Alchemy API key}
yarn dev– start the development serveryarn build– build for productionyarn preview– preview production build
MIT