Skip to content

DistributedCollective/sovryn-indexer

Folders and files

NameName
Last commit message
Last commit date
Sep 27, 2024
Jan 9, 2025
Sep 10, 2024
Feb 4, 2025
Oct 21, 2024
Mar 5, 2025
May 27, 2024
Nov 12, 2024
May 27, 2024
Jun 3, 2024
Aug 29, 2024
May 27, 2024
May 27, 2024
Oct 21, 2024
May 27, 2024
Sep 10, 2024
Aug 30, 2024
Jul 16, 2024
Jul 16, 2024
Jun 3, 2024
Jul 12, 2024
Nov 12, 2024
Sep 26, 2024
Jul 12, 2024

Repository files navigation

Sovryn Indexer

Requirements

  • Docker
  • Node v20+ (optional, included in docker image)
  • pnpm (optional, included in docker image)

Development

cp .env.example .env
pnpm install
pnpm docker:dev

Migrations

pnpm studio - serves web interface for drizzle studio on https://local.drizzle.studio

pnpm migrate:generate - creates migration file from changes found in schema files.

pnpm migrate - runs migrations

pnpm db:push - pushes schema changes to the database

pnpm db:seed - seeds the database with initial data (/src/database/seed.ts file)

pnpm db:reset - deletes all data and tables from the database

Docker

Build image

docker build -t sovryn/indexer .

Run image

docker run -p 8000:8000 -it sovryn/indexer

API Usage

Refer to the API documentation for more information on how to use the API.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages