GetFoz UI is a web application that allows users to trade opinions. This repository contains the front-end code for the application.
Please refer to the smart contracts for the backend logic of the application. (https://github.com/gprethesh/getfoz)
- Node.js v18
- npm (comes with Node.js)
Follow these steps to set up the project on your local machine:
-
Clone the Repository:
git clone https://github.com/gprethesh/getfoz_ui.git cd getfoz_ui
-
Install Dependencies:
npm install
-
Configure Environment Variables: Copy the
.env
file to your project root and update the variables as needed. Here's an example of what it might contain:VITE_APP_API_URL=https://your-api-url.com VITE_APP_WAX_CHAIN=your-chain-id VITE_APP_GETFOZ=your-getfoz-value VITE_APP_EXPLORE_URL=https://your-explorer-url.com
-
Build the Project:
npm run build
-
Start the Development Server:
npm run dev
The application should now be running at the port specified in your configuration.
For deployment, you can follow the steps defined in the Makefile
, or configure your preferred deployment method.