Nest framework TypeScript starter repository.
$ yarn install
PORT=3030
CONFIG_PROFILE=localhostMainnet
COINGECKO_API_KEY=CG-asdf
RPC_URL_MAINNET=https://eth-mainnet.g.alchemy.com/v2/asdf
RPC_URL_POLYGON=https://polygon-mainnet.g.alchemy.com/v2/asdf
export const CONFIG_PROFILE = process.env.CONFIG_PROFILE || 'mainnet'; // <<<<<< SELECT DEFAULT CONFIG HERE <<<<<<
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
Nest is MIT licensed. This repo is MIT licensed.