Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎯 Purpose
Implement explorer service
⚙️ Approach
leptosRust framework to imlement web backend and frontend for Explorer. This was chosen for several reasons:explorer_servicecrate using vibecoding but with a lot of guidance from my side. This it a fullstack app (backend + frontend) sharing the same code which is a huge selling point of leptos.mock-responsesfeature toindexer_serviceto have some data to show in UI🧪 How to Test
Step 1. Run Indexer Service
In 1'st terminal run:
Step 2. Option 1. Run Explorer Service natively
In 2'nd terminal run:
Btw leptos also has
cargo leptos watchwhich allows hot-reload of just saved file changes.Step 2. Option 2. Run Explorer Service in Docker
In 2'nd terminal run:
INDEXER_RPC_URL="http://host.docker.internal:8779" docker compose upStep 3. Open browser
Open link in browser.
For native run it should be: [
http://127.0.0.1:3000]For docker run it should be: [
http://127.0.0.1:8080]🔗 Dependencies
None
🔜 Future Work
📋 PR Completion Checklist