The project now ships with PostgreSQL and Redis for local development.
- Copy
.env.exampleat the repository root if you want to customize container ports or credentials. - Start the services with
docker compose up -d. - In
backend/.env, keepDATABASE_URLandREDIS_URLaligned with the Docker ports. - From
backend, runnpm run db:generate. - Apply the PostgreSQL schema with
npm run db:deploy. - If you want to keep your saved RPC connections from the old SQLite file, run
npm run db:import-sqlite-connections. - Start the backend. The indexer will begin syncing the active chain into PostgreSQL in the background.
Redis is wired into the backend as an optional infrastructure dependency. The API will keep starting even if Redis is temporarily unavailable, which makes it safe to introduce cache, queues, and indexer coordination incrementally.