@juicedollar/api
v3.0.0
Published
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
Readme
Description
Nest framework TypeScript starter repository.
Installation
$ yarn installcreate .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=./imagesRunning 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 publicPublishing Types Package
This repository exports TypeScript type definitions that can be published to npm for use in other projects.
Building and Publishing
- Build the project (generates type definitions in
dist/):
$ yarn build- Publish to npm:
$ npm publish --access publicLicense
Nest is MIT licensed. This repo is MIT licensed.
