Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.17 KB

File metadata and controls

67 lines (44 loc) · 1.17 KB

Description

Nest framework TypeScript starter repository.

Installation

$ yarn install

create .env (see: .env.example)

PORT=3000

CONFIG_APP_URL=https://app.juicedollar.com
CONFIG_INDEXER_URL=https://ponder.juicedollar.com
CONFIG_CHAIN=mainnet

RPC_URL_MAINNET=https://eth-mainnet.g.alchemy.com/v2/[API-KEY]
RPC_URL_POLYGON=https://polygon-mainnet.g.alchemy.com/v2/[API-KEY]

COINGECKO_API_KEY=[API-KEY]

TELEGRAM_BOT_TOKEN=[API-KEY]
TELEGRAM_GROUPS_JSON=telegram.groups.json
TELEGRAM_IMAGES_DIR=./images

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

# Publish NPM pkg (higher version) - needs login
$ npm publish --access public

Publishing Types Package

This repository exports TypeScript type definitions that can be published to npm for use in other projects.

Building and Publishing

  1. Build the project (generates type definitions in dist/):
$ yarn build
  1. Publish to npm:
$ npm publish --access public

License

Nest is MIT licensed. This repo is MIT licensed.