SergejSoft / platform-frontend

Home Page:https://platform.neufund.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

platform-frontend

Build Status codecov code style: prettier

Running project

Prerequisites

  • running ethereum node on port 8545. To start local instance just run yarn ganache
  • running signature_auth_api on port 5000
yarn
yarn ganache   # in separate window. You need to upload neufund contracts. Keep on reading.
yarn start

Using external backend

Set NF_REMOTE_BACKEND_PROXY_ROOT variable in your .env file and run yarn start:remote to connect to remote backend.

Uploading contracts

To upload modified version of Neufund Smartcontract that allows for easier blockchain development you need to checkout kk/frontend-platform-fixtures branch and run yarn fixture.

Typechain (it generates typed wrappers on smartcontracts) runs automatically after doing yarn to trigger it manually do: yarn generate:contracts.

Running tests

yarn test # checks formatting, runs linter and tests

Fix all autofixable errors and run tests

yarn test:fix

Production build

yarn build:prod

Extracting translations from the app

yarn intl:extract

Read more

Docs

About

https://platform.neufund.org/

License:Other


Languages

Language:TypeScript 88.1%Language:CSS 9.5%Language:JavaScript 1.9%Language:Shell 0.4%Language:HTML 0.1%