Space ICO dashboard Frontend module
This web client can be used to connect Space Dashboard's backend. Currently it has the following functionality:
- Registration & Authorization
- Generation of Ethereum address upon user activation
- KYC verification using Jumio Netverify service and Sufti Pro service
- Token purchase
- Displaying Investor's transaction history
- All important actions are protected with 2FA (email or google authenticator) by integration with secret_tech Backend Verify service
For more info check API DOCS
How start application loacally?
- Clone this repo.
- Install deps via
- Set up env variables
$ cp .env.example .env
- Up dev server locally
$ yarn start
- Go to
How to build application for production?
Webpack generate static
dist directory with production build of app. You just need serve it with your server like nginx.
$ cp .env.prod .env
$ yarn buildor
$ yarn build:cleanclean build remove previous build directory
$ yarn servestart local webserver to see results
That boilerplate uses pre-commit hooks and run some scripts before making git commit. To see what is started before commit check package.json pre-commit block. Default -
yarn lint:all and
yarn test. To ignore the check, use
git commit -n -m 'Your amazing commit msg'.
cp .env.example .env - copy example dotenv file and specify your own values in
You can use different environment variables. Create
.env.dev and copy the file you need.
To access values inside application call
Server api mocks
By default api mocks are turned on. To use real server api you have to set API_HOST environment variable.
yarn start - start application in development mode
yarn build - build application into
yarn build:clean - remove prev
/dist and build application
yarn serve - serve
/dist directory. Requires build application before run
yarn lint:js - run eslint
yarn lint:css - run stylelint
yarn lint:all - run eslint and stylelint concurrently
yarn test - run jest
yarn test:coverage - jest coverage
yarn test:watch - jest in watch mode
yarn analyze - analyze webpack bundle