storj/web/satellite
Yingrong Zhao 6778caf846
satellite/console: add referral link logic (#2576)
* setup referral route

* referredBy

* add user id

* modify user query

* separate optional field from userInfo

* get current reward on init of satellite gui

* remove unsed code

* fix format

* only apply 0 credit on registration

* only pass required information for rewards

* fix time parsing

* fix test and linter

* rename method

* add todo

* remove user referral logic

* add null check and fix format

* get current offer

* remove partnerID on CreateUser struct

* fix storj-sim user creation

* only redeem credit when there's an offer

* fix default offer configuration

* fix migration

* Add helper function for get correct credit duration

* add comment

* only store userid into user_credit table

* add check for partner id to set correct offer type

* change free credit to use invitee credits

* remove unecessary code
2019-07-19 14:22:10 -04:00
..
src satellite/console: add referral link logic (#2576) 2019-07-19 14:22:10 -04:00
static web/satellite buckets empty state and search bugs fixed (#2597) 2019-07-19 16:40:42 +03:00
tests/unit Satellite frontend refactoring (#2537) 2019-07-18 16:39:39 +03:00
.env Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
.env.example Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
.gitignore scss beautification (#2499) 2019-07-10 12:55:40 +03:00
babel.config.js updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
Dockerfile Adding dockerfile for running the web UI for Satellite (#1366) 2019-02-28 13:18:53 -07:00
entrypoint Adding dockerfile for running the web UI for Satellite (#1366) 2019-02-28 13:18:53 -07:00
index.html Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
jestSetup.ts updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
package.json Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
README.md Adding dockerfile for running the web UI for Satellite (#1366) 2019-02-28 13:18:53 -07:00
tsconfig.json Satellite frontend refactoring (#2537) 2019-07-18 16:39:39 +03:00
tslint.json Satellite frontned empty states (#1682) 2019-04-05 18:08:14 +03:00
vue.config.js modify build scripts for satellite ui (#2228) 2019-06-18 16:36:54 +03:00
webpack.config.dev.js Web usage report markup (#1409) 2019-04-02 22:33:03 +03:00

storj-dev-panel

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your unit tests

npm run test:unit

Build docker container

From root of the repository, run:

make satellite-ui-image

Run docker container

docker run -p 8080:8080 storjlabs/satellite-ui:latest