Skip to content

superdao-inc/scoring-api

Repository files navigation

Scoring API

Description

REST API for our scroring platform. Used to get wallets data (including calculated superrank score) grouped by labels audience/, some claimed contracts claimed/ and so on.

For futher details see swagger docs at /docs/

Requirements

Dev Setup

$ cp .env.example .env
$ docker-compose up -d

Commands

# list all available commands
make help

# install packages with dev dependencies
make install

# run linter
make lint

# make formatter
make format

# run tests
make tests

# run all migrations
make migrate

# run app in development mode
make watch

Environment variables

name description default value
MODE application mode dev
DB_NAME PostgreSQL database name scoring_api
DB_HOST PostgreSQL database host localhost
DB_PORT PostgreSQL database port 5432
DB_USER PostgreSQL database user postgres
DB_PASSWORD PostgreSQL database password postgres
SENTRY_DSN Sentry DSN

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages