Skip to content

AleMoz97/eth-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth-explorer

Infrastructure

The project now ships with PostgreSQL and Redis for local development.

  1. Copy .env.example at the repository root if you want to customize container ports or credentials.
  2. Start the services with docker compose up -d.
  3. In backend/.env, keep DATABASE_URL and REDIS_URL aligned with the Docker ports.
  4. From backend, run npm run db:generate.
  5. Apply the PostgreSQL schema with npm run db:deploy.
  6. If you want to keep your saved RPC connections from the old SQLite file, run npm run db:import-sqlite-connections.
  7. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages