Code Monkey home page Code Monkey logo

filplus-info's Introduction

filplus.info

Project Description

Filplus.info is the first visual dashboard for Filecoin Plus, which can be regarded as an incentive program for useful storage on Filecoin. Through monitoring on-chain messages on Filecoin and off-chain information on GitHub, filplus.info records relevant real-time data of each DataCap allocation and verified deal transactions on Filecoin from public APIs and open-source platforms. On filplus.info, there are visual data analysis charts, information of notaries and clients, and deal-flow of DataCap. It also supports multiple parameters search and a hyperlink jump to the Filecoin browser filscan.io.

We have called filscan.io api in our codes!

Project Structure

├── Makefile
├── Readme.md  
├── api
│   ├── api.go
│   ├── public
│   │   ├── clientdeals.go
│   │   ├── datacapallocated.go
│   │   └── notary.go
│   └── requestparam.go
├── common
│   └── globalcache.go
├── conf
│   └── app.toml
├── errormsg
│   └── errormsg.go
├── frontend
│   ├── Makefile
│   ├── README.md
│   ├── babel.config.js
│   ├── package.json
│   ├── public
│   │   ├── favicon.png
│   │   └── index.html
│   ├── src
│   │   ├── App.vue
│   │   ├── api
│   │   │   ├── fetch.js
│   │   │   └── notary.js
│   │   ├── assets
│   │   │   ├── fil.png
│   │   │   ├── filedrive-logo.png
│   │   │   ├── logo-color-dark.png
│   │   │   └── logo-color-dark.svg
│   │   ├── components
│   │   │   ├── footer
│   │   │   │   └── index.vue
│   │   │   ├── header
│   │   │   │   └── index.vue
│   │   │   ├── index.js
│   │   │   ├── search
│   │   │   │   └── index.vue
│   │   │   └── table
│   │   │       ├── AdvancedTable.vue
│   │   │       ├── BaseTable.vue
│   │   │       └── Expand.vue
│   │   ├── i18n.js
│   │   ├── locales
│   │   │   └── en.json
│   │   ├── main.js
│   │   ├── mixin
│   │   │   └── index.js
│   │   ├── router
│   │   │   └── index.js
│   │   ├── store
│   │   │   └── index.js
│   │   ├── style
│   │   │   ├── class.scss
│   │   │   ├── index.scss
│   │   │   └── variable.scss
│   │   └── views
│   │       ├── Home.vue
│   │       ├── allocation
│   │       │   └── index.vue
│   │       ├── client
│   │       │   └── index.vue
│   │       └── notary
│   │           ├── index.vue
│   │           └── notary.vue
│   └── vue.config.js
├── go.mod
├── go.sum
├── http_api_test
│   ├── api.http
│   └── http-client.env.json
├── jobs
│   ├── crawler.go
│   └── syncer.go
├── log
│   └── logger.go
├── main.go
├── middleware
│   └── cors
│       └── cors.go
├── models
│   ├── client.go
│   ├── client_allowance.go
│   ├── client_test.go
│   ├── models.go
│   ├── notary.go
│   ├── notary_allowance.go
│   └── notary_test.go
├── routers
│   └── routers.go
├── rpc
│   ├── rpc_call.go
│   └── rpc_notary.go
├── settings
│   ├── constants.go
│   ├── loadconfig.go
│   └── settingtypes
│       └── tomltypes.go
├── types
│   ├── common.go
│   ├── normaltime.go
│   └── unixtime.go
└── utils
└── common.go

Dependency

Environment

go version 1.14
node.js version 14.17.3
npm version 6.14.13

Config

Back-end config

Please set databases with your username and password in conf/app.toml.

[app]
# development,test,product
runmode = "product"

[product]
[product.server]
httpPort = 8088
readTimeOut = 60
writeTimeout = 60

[product.database]
# mysql,postgres
type = "postgres"
user = "your_user"
password = "your_password"
host = "your_host"
name = "your_dbname"

Front-end config

Please set back-end api with your url in frontend/.env.xxx.

local server: .env.development

VUE_APP_BASE_URL=http://localhost:8088

product server: .env.production

VUE_APP_BASE_URL=YOUR_BACKEND_API_URL

Deployment

Build all

make
./filplus-info

Only build back-end

make backend
./filplus-info

Only build front-end

make frontend

Dist

make frontend
copy all files of dist into the root of website

Contribute

PRs are welcome!

License

MIT

filplus-info's People

Contributors

beeleelee avatar ericxiao0417 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

filplus-info's Issues

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.