Installation

OADA UI Installation Guide

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.

Prerequisites

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., Eternl, Nami, 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

Installation Steps

  1. Clone the Repository

  2. 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.

  3. 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

  4. Environment Setup Create a .env file in the root directory with the following variables:

    Additional optional environment variables:

  5. 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:

Last updated