How to Run project locally
Prerequisites
- Node.js: Required for package management and running the build server (v18+ recommended).
- npm: Node Package Manager.
- Git: For downloading the source code.
Download & Setup
Clone the Repository Download the project source code to your local machine.
bashgit clone <repository-url> cd united-non-custodial-frontInstall Dependencies Install the required Node.js packages.
bashnpm installEnvironment Configuration Defined in the setup documentation, this interface maps environment variables to internal configuration.
cardsKey: Cryptographic key.cardsIvKey: Initialization vector.environment: Runtime environment name.
The application relies on specific environment variables. You can export them in your shell session before running the application.
bashexport UNITED_CARDS_KEY="your_key_here" export UNITED_CARDS_IV_KEY="your_iv_key_here" export ENVIRONMENT_NAME="development"
Execution
- Run Development Server Starts the local development server using Vite with Hot Module Replacement (HMR).bashThe application will be accessible at
npm run devhttp://localhost:8080.
