Installation
Last updated
Last updated
This guide will help you set up and run the OADA UI frontend project locally. The OADA UI is a modern React based frontend application that provides a user interface for interacting with the OADA smart contract platform.
Before you begin, ensure you have the following installed:
Node.js (v16 or higher)
npm (v7 or higher) or yarn (v1.22 or higher)
Git
A modern web browser (Chrome, Firefox, Safari, or Edge)
A Cardano wallet (e.g., , , etc.)
Basic understanding of React, TypeScript, and the Cardano blockchain
VS Code or WebStorm for IDE
Chrome DevTools or Firefox Developer Tools
Git GUI client (optional)
Postman or Insomnia for API testing
React Developer Tools browser extension
Redux DevTools for state management debugging
Clone the Repository
Install Dependencies You can use either npm or yarn to install dependencies:
Using npm:
Using yarn:
Note: The first installation might take several minutes as it downloads all dependencies.
Configuration Setup Create a configuration file by either:
Running the configuration script:
Or manually copying the example file:
Modify src/config.local.ts
with your specific settings:
Backend API endpoints
Blockchain network configuration
Fee addresses and amounts
Other environment-specific values
Environment Setup
Create a .env
file in the root directory with the following variables:
Additional optional environment variables:
Start the Development Server
The application will start on http://localhost:3000
Note: The first build might take a few minutes as it compiles all the assets.
For API requests that might be affected by CORS, consider using: