peengo / vergeexplorer Goto Github PK
View Code? Open in Web Editor NEWVerge (XVG) Cryptocurrency Blockchain Explorer https://vergeexplorer.com/
Home Page: https://verge-blockchain.info/
License: MIT License
Verge (XVG) Cryptocurrency Blockchain Explorer https://vergeexplorer.com/
Home Page: https://verge-blockchain.info/
License: MIT License
I'm trying to run the production build:
npm run build
serve dist
But only the start page is visible with a red: There was an error.
Looks like the config to the backend server part is missing, don't know.
What is missing, how to run a production build?
npm run build
[email protected] build /var/www/vergeexplorer/client
vue-cli-service build
error
VUE_APP_API_DEV_URL is missing.
â ¸ Building for production...Browserslist: caniuse-lite is outdated. Please run next command npm update
â ¼ Building for production...
WARNING Compiled with 3 warnings 10:51:24 AM
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/chunk-vendors.3ca620a6.js (407 KiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (653 KiB)
css/chunk-vendors.7a0cce53.css
js/chunk-vendors.3ca620a6.js
css/app.1fe3e937.css
js/app.b091a6c3.js
warning
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
File Size Gzipped
dist/js/chunk-vendors.3ca620a6.js 406.70 KiB 124.75 KiB
dist/js/app.b091a6c3.js 69.74 KiB 13.75 KiB
dist/css/chunk-vendors.7a0cce53.css 176.09 KiB 23.19 KiB
dist/css/app.1fe3e937.css 0.97 KiB 0.44 KiB
Images and other types of assets omitted.
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
serve dist
Serving!
..
edit: the development version is running of course
Requesting an API endpoint to get the entire dataset if possible.
vergeexplorer/server/routes/address.js
Line 34 in f78c89c
Seem like it's more obvious use params like https://verge-blockchain.info/api/address/txs/DSSW7bVfXnRRofW4KgRXaGGADtvpzogGG9?offset=0&limi=100
and don't put them in the url paths?
We need a better error handling for API routes which removes the current try/catch and ctx.throw(500) block
We need to change certain URL paths to use query params for offsets and limits. If possible, keep the previous functionality with a deprecation message in JSON body response. Use the 'message' property with text, something like... "This route will be deprecated in the futue. Please use the new route {urlToNewRoute}"
example:
/txs/:address/:skip/:limit -> /txs/:address/?offset=number&limit=number
an option to display the full (raw) transaction would be really nice. this explorer is beautiful btw, excellent job!
We need to cover uncovered test caes on backend API
dont mean to bother you, but can you please update to v6.0.1, and add a few v6 peers, maybe with addnode? or maybe delete the current peers.dat before restarting the 6.0.1 ? thanks!
We need a better router with params/body validation. Possibly joi-router. It needs to support custom validators for valid hash formats.
We need a better API documentation. Possibly Swagger UI or at least something that looks decent and uses the Vuetify components.
Hi there!
thanks for your amazing job! i have this error:
ReferenceError: require is not defined
System Info:
Ubuntu 18x
Node 12.18.3
Npm 6.14.6
We need to fix the mobile responsive design of the API Docs otherwise the menu dissapears to the right and the layout becomes white. Possible fix can be the use of 'break-all' class on certain elements like seen on other parts of the site.
The api (and extended api) of the old explorer is used by some external services, for example Atomic Wallet
https://verge-blockchain.info/info
112.x.x.x - - [08/Mar/2020:12:18:42 +0100] "GET /ext/getaddress/DCt7UnxP7r8GrJRVgBNB9KbczWGuB2wH5V HTTP/1.1" 304 2307 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) atomic/2.14.0 Chrome/73.0.3683.121 Safari/537.36"
82.x.x.x - - [08/Mar/2020:12:18:42 +0100] "GET /ext/getaddress/DRm67P7pXfNuZXiec2jSbYNGqSh1XDBEth HTTP/1.1" 304 356 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) atomic/2.14.0 Chrome/73.0.3683.121 Safari/537.36"
93.x.x.x - - [08/Mar/2020:12:18:42 +0100] "GET /api/getrawtransaction?txid=4e938ac9b8d881fb7ab22fdd93eba2bf2138ad282e015c6543f3e74c7326d3f5&decrypt=1 HTTP/1.1" 200 2812 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) atomic/2.14.0 Chrome/73.0.3683.121 Safari/537.36"
Do you have any plans to implement an api?
We need a docker-compose with Verge Daemon and MongoDB replica set and initialized indexes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.