PCGSlabs — Architecture & Flows

Every package and external service that powers PCGSlabs. Pick a flow on the right to highlight the path through the system and see what gets passed at each step.

Actor
Client surface
Netlify Function
Data layer
Build / Deploy
Blockchain
External service
Actors
End user
browser / mobile
Admin
/dev dashboard
Staff
/staff dashboard
Visitor
unauthenticated
MetaMask wallet
eth provider
Client surfaces
App.js
react-router routes
Login / SignUp
/login, /signup
CurrentInventory
/current-inventory
Dev dashboard
/dev
UserProfile
/profile
FloatingLoginButton
global auth widget
Auth + Netlify Functions
auth-signup
POST /api/auth-signup
auth-login
POST /api/auth-login
auth-me
verify JWT, return user
auth-metamask
nonce + signature verify
auth-google
OAuth code exchange
auth-x
Twitter OAuth
auth-wall
password gate (/dev)
admin-users
CRUD + credit history
Storage / Data
users
Neon Postgres
credit_history
audit trail
wallet_nonces
5-min expiry
SlabInventory.csv
static bundle
priceGuide.js
static bundle
localStorage
JWT token cache
Build pipeline
react-scripts build
GENERATE_SOURCEMAP=false
Netlify CI
build + functions deploy
Netlify CDN
edge cache
Distribution
ethers.js
verify signature
Ethereum RPC
llamarpc / ankr
blockchain.js
on-chain reads
External services
Google OAuth
accounts.google.com
X / Twitter OAuth
api.x.com
Neon
serverless Postgres
Netlify platform
edge + functions