Giter Site home page Giter Site logo

cleancoindev / frontend-ico-dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from secret-tech/frontend-ico-dashboard

0.0 0.0 0.0 7.32 MB

Free & open-source dashboard for your next ICO, crowdsale or tokensale

Home Page: https://icodashboard.space/

License: Apache License 2.0

JavaScript 93.96% HTML 0.51% CSS 5.06% Shell 0.42% Dockerfile 0.05%

frontend-ico-dashboard's Introduction

Space ICO dashboard Frontend module

GitHub (pre-)release Build Status license

This is frontend module of Space ICO Dashboard. Checkout backend here.

This web client can be used to connect Space Dashboard's backend. Currently it has the following functionality:

  1. Registration & Authorization
  2. Generation of Ethereum address upon user activation
  3. KYC verification using Jumio Netverify service and Sufti Pro service
  4. Token purchase
  5. Displaying Investor's transaction history
  6. 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?

  1. Clone this repo.
  2. Install deps via $ yarn
  3. Set up env variables $ cp .env.example .env
  4. Up dev server locally $ yarn start
  5. Go to localhost:3000/auth/sign-in

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.

  1. $ yarn
  2. $ cp .env.prod .env
  3. $ yarn build or $ yarn build:clean clean build remove previous build directory
  4. $ yarn serve start local webserver to see results

Commit hooks

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 -n e.g git commit -n -m 'Your amazing commit msg'.

Environment variables

cp .env.example .env - copy example dotenv file and specify your own values in .env

You can use different environment variables. Create .env.stage, .env.prod and .env.dev and copy the file you need.

To access values inside application call console.log(process.env).

Server api mocks

By default api mocks are turned on. To use real server api you have to set API_HOST environment variable.

Scripts

yarn start - start application in development mode

yarn build - build application into /dist directory

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


LICENSE @ secret_tech

frontend-ico-dashboard's People

Contributors

01dr avatar alekns avatar hlogeon avatar its-jincor avatar kotokur avatar ronnie173 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.