numeralz / aptos-account-explorer

SolidJS/Node/Postgres/Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple Aptos Transaction explorer

Tech Stack

Local Development

# Server
cd ./server && yarn && yarn dev

# Client
cd ./client && yarn && yarn dev

# Postgres
docker compose up db
# or run a local postgres 

Testing

Run with Docker

docker compose up --build

Open the client in your browser

http://localhost:3001 http://127.0.0.1:3001

Paste an Aptos address into the text bar at the top

Alt text

Transactions should begin showing up

  • The backend will begin fetching transactions in batches from https://fullnode.mainnet.aptoslabs.com/v1 and store them in the database
  • The server will send a 202 with Retry-After 10 seconds
  • Client will re-request after 10 seconds
  • Subsequent requests will return data from the database

Alt text

About

SolidJS/Node/Postgres/Docker


Languages

Language:TypeScript 83.1%Language:SCSS 13.7%Language:HTML 2.4%Language:Dockerfile 0.7%