Skip to content

Latest commit

 

History

History
72 lines (53 loc) · 955 Bytes

README.md

File metadata and controls

72 lines (53 loc) · 955 Bytes

Nation3 Citizen App UI

https://app.nation3.org

Run the UI locally

Navigate to the folder of the UI app:

cd ui/

Install the dependencies:

yarn install

Add variables to your local development environment:

cp .env.mainnet .env.local

or

cp .env.sepolia .env.local

Build:

yarn build

Lint:

yarn lint

Start the development server:

yarn dev

Then open http://localhost:3000 in a browser.

Integration Testing

Run the integration tests:

yarn cypress

Run the integration tests headlessly:

yarn cypress:headless

Unit Testing

Run unit tests:

yarn test

Code Coverage

codecov

codecov

Run code coverage:

yarn test:coverage