starknet-id / indexer

Home Page:https://indexer.starknet.id/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apibara 🤝 MongoDB

Mirror onchain data to a MongoDB collection.

Use cases

  • Start collecting data quickly, without worrying about table schemas.
  • Build the backend for you dapp.
  • Create complex analytics queries using the Mongo Pipeline API.

Usage

You must set the MONGO_CONNECTION_STRING environment variable to the one provided by your MongoDB provider.

For developing locally, we provide a docker-compose.mongo.yml file that starts MongoDB and Mongo Express. Run it with:

docker-compose -f docker-compose.mongo.yml up

Then export the following environment variable:

export MONGO_CONNECTION_STRING='mongodb://mongo:mongo@localhost:27017'

About

https://indexer.starknet.id/

License:MIT License


Languages

Language:TypeScript 98.0%Language:Python 2.0%