This repository contains the indexing API developed by DROPPS for the LUKSO network.
Mainnet API: https://indexing.mainnet.dropps.io/graphql
Testnet API: https://indexing.testnet.dropps.io/graphql
The project needs 2 PG databases to work and 1 for testing:
indexing-lukso-data
, used to store all the data extracted from the LUKSO network.indexing-lukso-structure
, used to store all the data related to the structure of the LUKSO network. This allows the app to know how to read data from the network.
You can then update the connection strings accordingly.
yarn install
- Create two postgres databases dedicated to the tests (should be different as the dev ones) and obtain connection strings
cp .env.example .env.test
and fill the file- Run the tests:
yarn test
yarn install
- Create two postgres databases and obtain connection strings
cp .env.example .env
and fill the file- Initialize the databases:
yarn seed:all
- Run the indexing:
yarn start