Skip to content

Repository files navigation

🪫 Ethereum fetcher API

Ethereum fetcher API with basic authentication

🤓 Prerequisites

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@latest

Docker installed on your system.

⚙️ Project setup

$ pnpm install

Before running the project please create .env or use the example one.

cp .env.example .env
API_PORT=
ETH_NODE_URL=
DB_CONNECTION_URL=
JWT_SECRET=

📖 Run Postgres DB with Docker

docker compose up -d

Apply DB migrations:

npx prisma migrate deploy

🚀 Compile and run the project

# development
pnpm run start

# watch mode
pnpm run start:dev

# production mode
pnpm run start:prod

Run tests

# unit tests
pnpm run test

# test coverage
pnpm run test:cov

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages