This is backend module of Jincor ICO dashboard: https://contribute.jincor.com.
It was implemented to provide following functionality:
- ICO investors sign up.
- Generation of Ethereum address upon user activation.
- KYC verification using Jumio Netverify service (https://www.jumio.com/trusted-identity/netverify).
- Token purchase.
- Displaying Investor's transaction history.
- All important actions are protected with 2FA (email or google authenticator) by integration with Jincor Backend Verify service (https://github.com/JincorTech/backend-verify)
- For more info check API docs: https://jincortech.github.io/backend-portfolio
- Typescript, Express, InversifyJS (DI), TypeORM (MongoDB interaction).
- Web3JS - interaction with Ethereum client. ICO backend supports any JSON-RPC compliant client.
- Mocha/chai - unit/functional tests.
- Docker.
- Clone this repo.
- Run
docker-compose build --no-cache
. - Run
docker-compose up -d
. - Run
cp .env.test .env
. - To install dependencies run
docker-compose exec portfolio npm i
. - Run tests
docker-compose exec portfolio npm test
.
- Install aglio
npm install -g aglio
. - Run
mkdir /usr/local/lib/node_modules/aglio/node_modules/aglio-theme-olio/cache
. - Generate
aglio --theme-variables cyborg --theme-template triple -i apiary.apib -o ./docs/index.html
.