🪐 NFT.Storage Gateway, the IPFS gateway for NFT.Storage is not "another gateway", but a caching layer for NFTs that sits on top of existing IPFS public gateways. ***Notice: Uploads have been decommissioned.**** Learn more and find a new hot storage provider for uploading new assets: nft.storage/nft-storage-classic
This PR Replaces usage of KV by Postgres in API by known limitations of KV that would be a limit factor quite soon. It includes:
/api/db
with DB sql scripts (config, tables, functions, fdw to nft.storage DB, nftstorage schema)/api/docker
with local DB for test setup/api/src
updated DB Client and wired it up with API handlers, removing KV codeGET /perma-cache
/api/test
essentially the same, just removed KV validations in favour of Postgres validationsinfra
scripts to spin up Postgres DB + Postgrest for production/stagingAPI code got so much cleaner 😍