Ethereum fetcher API with basic authentication
Node version: 20.17.0
If you use another version, please use n to manage.
pnpm version: 9.14.2
To upgrade to the latest pnpm version please run:
npm install -g pnpm@latestDocker installed on your system.
$ pnpm installBefore running the project please create .env or use the example one.
cp .env.example .envAPI_PORT=
ETH_NODE_URL=
DB_CONNECTION_URL=
JWT_SECRET=docker compose up -dApply DB migrations:
npx prisma migrate deploy# development
pnpm run start
# watch mode
pnpm run start:dev
# production mode
pnpm run start:prod# unit tests
pnpm run test
# test coverage
pnpm run test:cov